problem with php5-snmp

B. Cook bcook at poughkeepsieschools.org
Tue Dec 1 16:54:33 UTC 2009


Trying to update all ports since updating to 8.0..

already rebuilt all ports and did a yes | make delete-old-libs so none 
of that is the problem..

php5-snmp would not rebuild.

Not sure where the problem is..

but below is tons of output..


below is the output of the build:

root at core [/usr/ports/net-mgmt/php5-snmp]# 16 > make clean
===>  Cleaning for php5-snmp-5.2.11_1

root at core [/usr/ports/net-mgmt/php5-snmp]# 17 > make
===>  Found saved configuration for php5-snmp-5.2.11_1
===>  Extracting for php5-snmp-5.2.11_1
=> MD5 Checksum OK for php-5.2.11.tar.bz2.
=> SHA256 Checksum OK for php-5.2.11.tar.bz2.
===>  Patching for php5-snmp-5.2.11_1
===>   php5-snmp-5.2.11_1 depends on file: /usr/local/bin/phpize - found
===>   php5-snmp-5.2.11_1 depends on file: /usr/local/bin/autoconf-2.62 
- found
===>   php5-snmp-5.2.11_1 depends on shared library: netsnmp.16 - found
===>  PHPizing for php5-snmp-5.2.11_1
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, 
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3542: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5480: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5479: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2959: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2939: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2902: AC_PROG_LIBTOOL is expanded from...
configure.in:158: the top level
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, 
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3497: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7607: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, 
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5593: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5592: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4628: _LT_AC_TAGCONFIG is expanded from...
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, 
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3542: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5480: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5479: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2959: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2939: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2902: AC_PROG_LIBTOOL is expanded from...
configure.in:158: the top level
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, 
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3497: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7607: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:158: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, 
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5593: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5592: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4628: _LT_AC_TAGCONFIG is expanded from...
===>  Configuring for php5-snmp-5.2.11_1
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking target system type... i386-portbld-freebsd8.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to 
regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for SNMP support... yes, shared
checking OpenSSL dir for SNMP... /usr
checking whether to enable UCD SNMP hack... yes

*** This is what is different on this machine ***
checking for snmp_parse_oid in -lnetsnmp... no
checking for init_snmp in -lnetsnmp... no
configure: error: SNMP sanity check failed. Please check config.log for 
more information.

on another machine (amd64) this works..





More information about the freebsd-questions mailing list