[ZBX-2438] [PATCH] zabbix-server: broken ssh2 support on FreeBSD Created: 2010 May 17 Updated: 2017 May 30 Resolved: 2010 May 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 1.8.2 |
Fix Version/s: | 1.8.3, 1.9.0 (alpha) |
Type: | Incident report | Priority: | Major |
Reporter: | Alex Deiter | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
FreeBSD 9.0-CURRENT-r207844-p9 amd64 |
Description |
script configure contain invalid test operators: ./configure --enable-server --with-net-snmp --with-pgsql --with-ldap --with-openipmi --with-jabber --with-ssh2 --prefix=/usr/local Please review patch: — configure.orig 2010-05-17 15:38:52.189911152 +0400
Thanks a lot! |
Comments |
Comment by Aleksandrs Saveljevs [ 2010 May 18 ] |
Thanks! Fix available in pre-1.8.3 in r12048. |
Comment by Oleksii Zagorskyi [ 2010 May 19 ] |
FreeBSD 8.0-RELEASE-p2 Not compile --with-ssh2 checking for net-snmp-config... /usr/local/bin/net-snmp-config See attached log on forum http://www.zabbix.com/forum/showpost.php?p=64774&postcount=20 |
Comment by Alex Deiter [ 2010 May 19 ] |
Hi Oleksiy , You config.log 1. Could you please install Zabbix from FreeBSD ports collection ? cd /usr/ports/net-mgmt/zabbix-server && make install 2. If you want install Zabbix from source tarball, please check libssh2 and use CPPFLAGS/CFLAGS/LDFLAGS shell environment for configure script: $ pkg_info |grep libssh $ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --enable-server --with-pgsql --with-net-snmp --with-ldap --with-ssh2 | grep -i ssh without CPPFLAGS/CFLAGS/LDFLAGS shell environment configure script not found libssh2: $ ./configure --enable-server --with-pgsql --with-net-snmp --with-ldap --with-ssh2 | grep -i ssh Thanks! |
Comment by Aleksandrs Saveljevs [ 2010 May 19 ] |
If SSH2 is installed in a directory other than those that configure script checks by default (/usr and /usr/local), you can also try --with-ssh2=DIR option. |
Comment by Aleksandrs Saveljevs [ 2010 May 19 ] |
In m4/libssh2.m4 there are lines like: SSH2_CFLAGS=-I$/usr/include The dollar sign does not seem to be needed. Maybe that is what is causing your problem. |
Comment by Aleksandrs Saveljevs [ 2010 May 19 ] |
Dollar sign fix available in pre-1.8.3 in r12069. |
Comment by Oleksii Zagorskyi [ 2010 May 19 ] |
Alex Deiter, I try script configure with last changes r12069 (removed Dollar sign) and now it work without error, thanks. |