zabbix 1.4.5 cannot be compiled on freebsd7.0
I use the command:
./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --prefix=/usr/apps/zabbix
checking for the version of libcurl ... 7.16.3
checking for libcurl >= 7.13.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... no
configure: error: Not found Curl library
In the log file , I find the following words:
checking whether libcurl is usable
gcc -o conftest -g ......
conftest.c:105:23: error: curl/curl.h :No such file or directory
Following command that I have used:
pkg_add –r curl
cp /usr/local/lib/libcurl* /usr/lib/
cd /usr/local/include/curl/
ls I find the following file
curl.h easy.h multi.h types.h curlver.h mprintf.h stdcheaders.h
curl-config --version -----> libcurl 7.16.3
cd /usr/local/lib/
ls libcrul* ----->libcurl.a libcurl.la libcurl.so libcurl.so.4
The following command have the same result:
./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --prefix=/usr/apps/zabbix --disable-static
Please help me!!
I use the command:
./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --prefix=/usr/apps/zabbix
checking for the version of libcurl ... 7.16.3
checking for libcurl >= 7.13.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... no
configure: error: Not found Curl library
In the log file , I find the following words:
checking whether libcurl is usable
gcc -o conftest -g ......
conftest.c:105:23: error: curl/curl.h :No such file or directory
Following command that I have used:
pkg_add –r curl
cp /usr/local/lib/libcurl* /usr/lib/
cd /usr/local/include/curl/
ls I find the following file
curl.h easy.h multi.h types.h curlver.h mprintf.h stdcheaders.h
curl-config --version -----> libcurl 7.16.3
cd /usr/local/lib/
ls libcrul* ----->libcurl.a libcurl.la libcurl.so libcurl.so.4
The following command have the same result:
./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --prefix=/usr/apps/zabbix --disable-static
Please help me!!
Comment