problem with php5-snmp
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: r...@core [/usr/ports/net-mgmt/php5-snmp]# 16 make clean === Cleaning for php5-snmp-5.2.11_1 r...@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
Re: problem with php5-snmp
B. Cook wrote: 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.. snip 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. So what does config.log say? It should be at /usr/ports/net-mgmt/php5-snmp/work/{$PORTNAME}/config.log and *might* have useful information. HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problem with php5-snmp
So what does config.log say? cat -n work/php-5.2.11/ext/snmp/config.log 1 This file contains any messages produced by compilers while 2 running configure, to aid debugging if configure makes a mistake. 3 4 It was created by configure, which was 5 generated by GNU Autoconf 2.62. Invocation command line was 6 7 $ ./configure --with-snmp=/usr/local --with-openssl-dir=/usr --enable-ucd-snmp-hack --with-php-config=/usr/local/bin/php-config --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0 8 9 ## - ## 10 ## Platform. ## 11 ## - ## 12 13 hostname = core.phs.pcsd 14 uname -m = i386 15 uname -r = 8.0-RELEASE 16 uname -s = FreeBSD 17 uname -v = FreeBSD 8.0-RELEASE #0: Tue Dec 1 14:05:04 EST 2009 r...@core.phs.pcsd:/usr/obj/usr/src/sys/GENERICplus 18 19 /usr/bin/uname -p = i386 20 /bin/uname -X = unknown 21 22 /bin/arch = unknown 23 /usr/bin/arch -k = unknown 24 /usr/convex/getsysinfo = unknown 25 /usr/bin/hostinfo = unknown 26 /bin/machine = unknown 27 /usr/bin/oslevel = unknown 28 /bin/universe = unknown 29 30 PATH: /sbin 31 PATH: /bin 32 PATH: /usr/sbin 33 PATH: /usr/bin 34 PATH: /usr/games 35 PATH: /usr/local/sbin 36 PATH: /usr/local/bin 37 PATH: /root/bin 38 39 40 ## --- ## 41 ## Core tests. ## 42 ## --- ## 43 44 configure:1999: checking for grep that handles long lines and -e 45 configure:2059: result: /usr/bin/grep 46 configure:2064: checking for egrep 47 configure:2128: result: /usr/bin/grep -E 48 configure:2133: checking for a sed that does not truncate output 49 configure:2187: result: /usr/bin/sed 50 configure:2382: checking for C compiler version 51 configure:2390: cc --version 5 52 cc (GCC) 4.2.1 20070719 [FreeBSD] 53 Copyright (C) 2007 Free Software Foundation, Inc. 54 This is free software; see the source for copying conditions. There is NO 55 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 56 57 configure:2394: $? = 0 58 configure:2401: cc -v 5 59 Using built-in specs. 60 Target: i386-undermydesk-freebsd 61 Configured with: FreeBSD/i386 system compiler 62 Thread model: posix 63 gcc version 4.2.1 20070719 [FreeBSD] 64 configure:2405: $? = 0 65 configure:2412: cc -V 5 66 cc: '-V' option must have argument 67 configure:2416: $? = 1 68 configure:2439: checking for C compiler default output file name 69 configure:2461: cc -O2 -pipe -march=pentium4 -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c 5 70 configure:2465: $? = 0 71 configure:2503: result: a.out 72 configure:2520: checking whether the C compiler works 73 configure:2530: ./a.out 74 configure:2534: $? = 0 75 configure:2551: result: yes 76 configure:2558: checking whether we are cross compiling 77 configure:2560: result: no 78 configure:2563: checking for suffix of executables 79 configure:2570: cc -o conftest -O2 -pipe -march=pentium4 -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c 5 80 configure:2574: $? = 0 81 configure:2598: result: 82 configure:2604: checking for suffix of object files 83 configure:2630: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c 5 84 configure:2634: $? = 0 85 configure:2657: result: o 86 configure:2661: checking whether we are using the GNU C compiler 87 configure:2690: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c 5 88 configure:2697: $? = 0 89 configure:2714: result: yes 90 configure:2723: checking whether cc accepts -g 91 configure:2753: cc -c -g conftest.c 5 92 configure:2760: $? = 0 93 configure:2861: result: yes 94 configure:2878: checking for cc option to accept ISO C89 95 configure:2952: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c 5 96 configure:2959: $? = 0 97 configure:2982: result: none needed 98 configure:3006: checking how to run the C preprocessor 99 configure:3046: cc -E conftest.c 100 configure:3053: $? = 0 101 configure:3084: cc -E conftest.c 102 conftest.c:8:28: error: ac_nonexistent.h: No such file or directory 103 configure:3091: $? = 1 104 configure: failed program was: 105 | /* confdefs.h. */ 106 | #define PACKAGE_NAME 107 | #define PACKAGE_TARNAME 108 | #define PACKAGE_VERSION 109 | #define PACKAGE_STRING 110 | #define PACKAGE_BUGREPORT 111 | /* end confdefs.h. */ 112 | #include ac_nonexistent.h