andrew.p
04-06-2007, 21:39
FreeBSD 6.0-STABLE, net-snmp-5.3.1, zabbix-1.4.
When using this configuration command:
./configure --with-mysql --enable-server --enable-agent --with-net-snmp
I get this error message:
checking for mysql_config... /usr/local/bin/mysql_config
checking for main in -lmysqlclient ... yes
checking for mysql_autocommit in MySQL... no
checking for ZABBIX server database selection... ok
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) nawk
checking for curl-config... /usr/local/bin/curl-config
checking for the version of libcurl... 7.16.1
checking for libcurl >= version 7.15.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... no
checking for net-snmp-config... /usr/local/bin/net-snmp-config
checking for main in -lnetsnmp ... no
configure: error: Not found NET-SNMP library
Some other info:
# /usr/local/bin/net-snmp-config --libs
-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lnetsnmp -lcrypto -lm -lkvm -ldevstat -lwrap
# /usr/local/bin/net-snmp-config --version
5.3.1
# /usr/local/bin/net-snmp-config --cflags
-DINET6 -O2 -pipe -Dfreebsd6 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.7/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.7/mach/CORE -I. -I/usr/local/include
Also, I don't know if it's related, but have you noticed "checking whether libcurl is usable... no" message above?
When running configuration script with '--with-libcurl=/usr/local', I am getting this:
checking for mysql_config... /usr/local/bin/mysql_config
checking for main in -lmysqlclient ... yes
checking for mysql_autocommit in MySQL... no
checking for ZABBIX server database selection... ok
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) nawk
checking for curl-config... /usr/local
configure: error: Not found Curl library
Same os similar issues have been reported in the past:
http://www.zabbix.com/forum/showthread.php?t=5993
http://www.zabbix.com/forum/showthread.php?t=6258
...but what I am in looks like a dead end.
When using this configuration command:
./configure --with-mysql --enable-server --enable-agent --with-net-snmp
I get this error message:
checking for mysql_config... /usr/local/bin/mysql_config
checking for main in -lmysqlclient ... yes
checking for mysql_autocommit in MySQL... no
checking for ZABBIX server database selection... ok
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) nawk
checking for curl-config... /usr/local/bin/curl-config
checking for the version of libcurl... 7.16.1
checking for libcurl >= version 7.15.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... no
checking for net-snmp-config... /usr/local/bin/net-snmp-config
checking for main in -lnetsnmp ... no
configure: error: Not found NET-SNMP library
Some other info:
# /usr/local/bin/net-snmp-config --libs
-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lnetsnmp -lcrypto -lm -lkvm -ldevstat -lwrap
# /usr/local/bin/net-snmp-config --version
5.3.1
# /usr/local/bin/net-snmp-config --cflags
-DINET6 -O2 -pipe -Dfreebsd6 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.7/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.7/mach/CORE -I. -I/usr/local/include
Also, I don't know if it's related, but have you noticed "checking whether libcurl is usable... no" message above?
When running configuration script with '--with-libcurl=/usr/local', I am getting this:
checking for mysql_config... /usr/local/bin/mysql_config
checking for main in -lmysqlclient ... yes
checking for mysql_autocommit in MySQL... no
checking for ZABBIX server database selection... ok
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) nawk
checking for curl-config... /usr/local
configure: error: Not found Curl library
Same os similar issues have been reported in the past:
http://www.zabbix.com/forum/showthread.php?t=5993
http://www.zabbix.com/forum/showthread.php?t=6258
...but what I am in looks like a dead end.