FreeBSD 6.2-STABLE #8: Sat Feb 24 21:44:27 MSK 2007 i386
Next, --with-libcurl without '=/usr/local':
There are a lot of warnings during make all like this:
>pkg_info|egrep '(curl|snmp)'
curl-7.15.4 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
net-snmp-5.3.1_3 An extendable SNMP implementation
Code:
./configure --enable-server --enable-agent \
--with-mysql \
--with-net-snmp \
--with-libcurl=/usr/local
Code:
checking sys/proc.h presence... yes configure: WARNING: sys/proc.h: present but cannot be compiled configure: WARNING: sys/proc.h: check for missing prerequisite headers? configure: WARNING: sys/proc.h: see the Autoconf documentation configure: WARNING: sys/proc.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/proc.h: proceeding with the preprocessor's result configure: WARNING: sys/proc.h: in the future, the compiler will take precedence ========================== checking resolv.h presence... yes configure: WARNING: resolv.h: present but cannot be compiled configure: WARNING: resolv.h: check for missing prerequisite headers? configure: WARNING: resolv.h: see the Autoconf documentation configure: WARNING: resolv.h: section "Present But Cannot Be Compiled" configure: WARNING: resolv.h: proceeding with the preprocessor's result configure: WARNING: resolv.h: in the future, the compiler will take precedence ========================== configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: see the Autoconf documentation configure: WARNING: net/if.h: section "Present But Cannot Be Compiled" configure: WARNING: net/if.h: proceeding with the preprocessor's result configure: WARNING: net/if.h: in the future, the compiler will take precedence
Code:
checking for curl-config... /usr/local/bin/curl-config checking for the version of libcurl... 7.15.4 checking for libcurl >= version 7.15.1... yes checking for main in -lcurl... yes checking whether libcurl is usable... no configure: error: Not found Curl library
Code:
/usr/local/include/net-snmp/net-snmp-config.h:955:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from ../../include/sysinc.h:23,
from ../../include/common.h:31,
from zlog.c:32:
../../include/config.h:482:1: warning: this is the location of the previous definition
In file included from ../../include/sysinc.h:347,
from ../../include/common.h:31,
from zlog.c:32:
/usr/local/include/net-snmp/net-snmp-config.h:958:1: warning: "PACKAGE_NAME" redefined
In file included from ../../include/sysinc.h:23,
from ../../include/common.h:31,
from zlog.c:32:
../../include/config.h:485:1: warning: this is the location of the previous definition
In file included from ../../include/sysinc.h:347,
from ../../include/common.h:31,
from zlog.c:32:
/usr/local/include/net-snmp/net-snmp-config.h:961:1: warning: "PACKAGE_STRING" redefined
In file included from ../../include/sysinc.h:23,
from ../../include/common.h:31,
from zlog.c:32:
../../include/config.h:488:1: warning: this is the location of the previous definition
In file included from ../../include/sysinc.h:347,
from ../../include/common.h:31,
from zlog.c:32:
/usr/local/include/net-snmp/net-snmp-config.h:964:1: warning: "PACKAGE_TARNAME" redefined
In file included from ../../include/sysinc.h:23,
from ../../include/common.h:31,
from zlog.c:32:
../../include/config.h:491:1: warning: this is the location of the previous definition
In file included from ../../include/sysinc.h:347,
from ../../include/common.h:31,
from zlog.c:32:
/usr/local/include/net-snmp/net-snmp-config.h:967:1: warning: "PACKAGE_VERSION" redefined
In file included from ../../include/sysinc.h:23,
from ../../include/common.h:31,
from zlog.c:32:
../../include/config.h:494:1: warning: this is the location of the previous definition
In file included from /usr/local/include/net-snmp/mib_api.h:24,
from /usr/local/include/net-snmp/net-snmp-includes.h:81,
from ../../include/sysinc.h:348,
from ../../include/common.h:31,
from zlog.c:32:
/usr/local/include/net-snmp/library/parse.h:32:1: warning: "MAXLABEL" redefined
In file included from /usr/include/arpa/nameser.h:578,
from ../../include/sysinc.h:101,
from ../../include/common.h:31,
from zlog.c:32:
curl-7.15.4 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
net-snmp-5.3.1_3 An extendable SNMP implementation
Comment