I've got an issue with the 1.8 configure script that has been an issue since 1.6.2. When the cURL library is installed in a non-standard location, it's path is not included in the compiler's -I flag, thus creating errors during make.
My curl is installed under /opt/nmail32/curl, so the flag "-I/opt/nmail32/curl/include" should be added to the compiler's flags.
I think it's also not doing the same with the OpenSSL and zlib libraries, although the library paths must have been picked up from somewhere else as I didn't specify them in my configure line.
The script sets the linking flag correctly, as shown below.
My curl is installed under /opt/nmail32/curl, so the flag "-I/opt/nmail32/curl/include" should be added to the compiler's flags.
I think it's also not doing the same with the OpenSSL and zlib libraries, although the library paths must have been picked up from somewhere else as I didn't specify them in my configure line.
The script sets the linking flag correctly, as shown below.
Code:
CFLAGS="-m32" LDFLAGS="-m32" ./configure --prefix=/opt/nmail32/zabbix --with-pgsql=/opt/nmail32/pgsql/bin/pg_config --with-libcurl=/opt/nmail32/curl/bin/curl-config --enable-server --enable-proxy --enable-agent
Code:
Configuration: Detected OS: linux-gnu Install path: /opt/nmail32/zabbix Compilation arch: linux Compiler: gcc Compiler flags: -m32 -I/opt/nmail32/pgsql/include Enable server: yes With database: PostgreSQL WEB Monitoring via: cURL Native Jabber: no SNMP: no IPMI: no Linker flags: -32 -L/opt/nmail32/pgsql/lib -lpq -L/opt/nmail32/curl/lib -lcurl -L/opt/nmail32/openssl/lib -L/opt/nmail32/zlib/lib -lssl -lcrypto -lrt -lz Libraries: -lm -lresolv -lcurl Enable proxy: yes With database: PostgreSQL WEB Monitoring via: cURL SNMP: no IPMI: no Linker flags: -32 -L/opt/nmail32/pgsql/lib -lpq -L/opt/nmail32/curl/lib -lcurl -L/opt/nmail32/openssl/lib -L/opt/nmail32/zlib/lib -lssl -lcrypto -lrt -lz Libraries: -lm -lresolv -lcurl Enable agent: yes Linker flags: -32 Libraries: -lm -lresolv LDAP support: no IPv6 support: no *********************************************************** * Now run 'make install' * * * * Thank you for using ZABBIX! * * <http://www.zabbix.com> * ***********************************************************