Bug 144137

Summary: net-mgmt/php5-snmp make install fail
Product: Ports & Packages Reporter: ychsiao <ychsiao>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description ychsiao 2010-02-20 13:50:04 UTC
root@netflow2 [/usr/ports/net-mgmt/php5-snmp] (21:38) make install
===>   php5-snmp-5.2.12 depends on file: /usr/local/bin/phpize - found
===>   php5-snmp-5.2.12 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   php5-snmp-5.2.12 depends on shared library: netsnmp.16 - found
===>  PHPizing for php5-snmp-5.2.12
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
===>  Configuring for php5-snmp-5.2.12
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/localb
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
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.
===>  Script "configure" failed unexpectedly.
Please report the problem to ale@FreeBSD.org [maintainer] and attach the
"/usr/ports/net-mgmt/php5-snmp/work/php-5.2.12/ext/snmp/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/net-mgmt/php5-snmp.


config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.62.  Invocation command line was

  $ ./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

## --------- ##
## Platform. ##
## --------- ##

hostname = netflow2.stu.edu.tw
uname -m = i386
uname -r = 8.0-RELEASE-p2
uname -s = FreeBSD
uname -v = FreeBSD 8.0-RELEASE-p2 #0: Sat Feb 20 18:47:06 CST 2010     root@netflow2.stu.edu.tw:/usr/obj/usr/src/sys/FreeBSD 

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /root/bin
PATH: /root
PATH: /usr/local/pgsql/bin
PATH: /bin
PATH: /sbin
PATH: /standard
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2001: checking for grep that handles long lines and -e
configure:2061: result: /usr/bin/grep
configure:2066: checking for egrep
configure:2130: result: /usr/bin/grep -E
configure:2135: checking for a sed that does not truncate output
configure:2189: result: /usr/bin/sed
configure:2384: checking for C compiler version
configure:2392: cc --version >&5
cc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2396: $? = 0
configure:2403: cc -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:2407: $? = 0
configure:2414: cc -V >&5
cc: '-V' option must have argument
configure:2418: $? = 1
configure:2441: checking for C compiler default output file name
configure:2463: cc -O2 -pipe -fno-strict-aliasing   -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c  >&5
configure:2467: $? = 0
configure:2505: result: a.out
configure:2522: checking whether the C compiler works
configure:2532: ./a.out
configure:2536: $? = 0
configure:2553: result: yes
configure:2560: checking whether we are cross compiling
configure:2562: result: no
configure:2565: checking for suffix of executables
configure:2572: cc -o conftest -O2 -pipe -fno-strict-aliasing   -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c  >&5
configure:2576: $? = 0
configure:2600: result: 
configure:2606: checking for suffix of object files
configure:2632: cc -c -O2 -pipe -fno-strict-aliasing  conftest.c >&5
configure:2636: $? = 0
configure:2659: result: o
configure:2663: checking whether we are using the GNU C compiler
configure:2692: cc -c -O2 -pipe -fno-strict-aliasing  conftest.c >&5
configure:2699: $? = 0
configure:2716: result: yes
configure:2725: checking whether cc accepts -g
configure:2755: cc -c -g  conftest.c >&5
configure:2762: $? = 0
configure:2863: result: yes
configure:2880: checking for cc option to accept ISO C89
configure:2954: cc  -c -O2 -pipe -fno-strict-aliasing  conftest.c >&5
configure:2961: $? = 0
configure:2984: result: none needed
configure:3008: checking how to run the C preprocessor
configure:3048: cc -E  conftest.c
configure:3055: $? = 0
configure:3086: cc -E  conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:3093: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3126: result: cc -E
configure:3155: cc -E  conftest.c
configure:3162: $? = 0
configure:3193: cc -E  conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:3200: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3240: checking for icc
configure:3253: result: no
configure:3267: checking for suncc
configure:3280: result: no
configure:3298: checking whether cc understands -c and -o together
configure:3330: cc -c conftest.c -o conftest2.o >&5
configure:3334: $? = 0
configure:3340: cc -c conftest.c -o conftest2.o >&5
configure:3344: $? = 0
configure:3399: result: yes
configure:3415: checking for system library directory
configure:3433: result: lib
configure:3440: checking if compiler supports -R
configure:3469: cc -o conftest -O2 -pipe -fno-strict-aliasing   -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -R /usr/lib  >&5
configure:3476: $? = 0
configure:3498: result: yes
configure:3610: checking build system type
configure:3628: result: i386-portbld-freebsd8.0
configure:3650: checking host system type
configure:3665: result: i386-portbld-freebsd8.0
configure:3687: checking target system type
configure:3702: result: i386-portbld-freebsd8.0
configure:3814: checking for PHP prefix
configure:3816: result: /usr/local
configure:3818: checking for PHP includes
configure:3820: result: -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
configure:3822: checking for PHP extension directory
configure:3824: result: /usr/local/lib/php/20060613
configure:3826: checking for PHP installed headers prefix
configure:3828: result: /usr/local/include/php
configure:3831: checking if debug is enabled
configure:3861: result: no
configure:3864: checking if zts is enabled
configure:3894: result: no
configure:3976: checking for re2c
configure:4006: result: no
configure:4031: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
configure:4045: checking for gawk
configure:4076: result: no
configure:4045: checking for nawk
configure:4062: found /usr/bin/nawk
configure:4073: result: nawk
configure:4098: checking if nawk is broken
configure:4107: result: no
configure:4121: checking for SNMP support
configure:4164: result: yes, shared
configure:4173: checking OpenSSL dir for SNMP
configure:4191: result: /usr
configure:4200: checking whether to enable UCD SNMP hack
configure:4217: result: yes
configure:5969: checking for snmp_parse_oid in -lnetsnmp
configure:6004: cc -o conftest -O2 -pipe -fno-strict-aliasing  -R/usr/local/lib -L/usr/local/lib  -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib -lnetsnmp -lelf -lm -lkvm -ldevstat conftest.c -lnetsnmp   >&5
/usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local'
configure:6011: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_NET_SNMP 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char snmp_parse_oid ();
| int
| main ()
| {
| return snmp_parse_oid ();
|   ;
|   return 0;
| }
configure:6034: result: no
configure:6157: checking for init_snmp in -lnetsnmp
configure:6192: cc -o conftest -O2 -pipe -fno-strict-aliasing  -R/usr/local/lib -L/usr/local/lib  -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib -lnetsnmp -lelf -lm -lkvm -ldevstat conftest.c -lnetsnmp   >&5
/usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local'
configure:6199: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_NET_SNMP 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char init_snmp ();
| int
| main ()
| {
| return init_snmp ();
|   ;
|   return 0;
| }
configure:6222: result: no
configure:6243: error: SNMP sanity check failed. Please check config.log for more information.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-portbld-freebsd8.0
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -pipe -fno-strict-aliasing'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib'
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd8.0
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_host=i386-portbld-freebsd8.0
ac_cv_lib_netsnmp___init_snmp=no
ac_cv_lib_netsnmp___snmp_parse_oid=no
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_target=i386-portbld-freebsd8.0
lt_cv_path_SED=/usr/bin/sed
lt_cv_sys_max_cmd_len=262144
php_cv_cc_dashr=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
AWK='nawk'
CC='cc'
CFLAGS='-O2 -pipe -fno-strict-aliasing'
CONFIGURE_COMMAND=' '\''./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'\'''
CONFIGURE_OPTIONS=' '\''--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'\'''
CPP='cc -E'
CPPFLAGS=''
DEFS=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
LDFLAGS=' -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
NMEDIT=''
OBJEXT='o'
OPENSSL_INCDIR_OPT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
RE2C='exit 0;'
SED='/usr/bin/sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
SNMP_CONFIG='/usr/local/bin/net-snmp-config'
STRIP=''
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd8.0'
build_alias='i386-portbld-freebsd8.0'
build_cpu='i386'
build_os='freebsd8.0'
build_vendor='portbld'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-portbld-freebsd8.0'
host_alias='i386-portbld-freebsd8.0'
host_cpu='i386'
host_os='freebsd8.0'
host_vendor='portbld'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/local/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/local/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-portbld-freebsd8.0'
target_alias=''
target_cpu='i386'
target_os='freebsd8.0'
target_vendor='portbld'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define HAVE_NET_SNMP 1

configure: exit 1
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-02-20 14:08:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Fix synopsis and assign.
Comment 2 almorel 2010-03-08 13:55:48 UTC
Hi,

I've got the same problem during the installation of the ports php5-snmp.

Hope it will be fix soon :)

Thank in advance,

Best,

Alexandre
Comment 3 Helmut Schneider 2010-04-17 11:06:52 UTC
Same here with 5.3.2
Comment 4 eugene 2010-04-21 14:41:19 UTC
Same with net-mgmt/cacti-spine

===>   spine-0.8.7.e depends on package: libtool>=2.2 - found
===>   spine-0.8.7.e depends on shared library: netsnmp.16 - found
===>   spine-0.8.7.e depends on shared library: mysqlclient.16 - found
===>  Configuring for spine-0.8.7.e
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/config.guess'
libtoolize: copying file `config/config.sub'
libtoolize: copying file `config/install-sh'
libtoolize: copying file `config/ltmain.sh'
libtoolize: You should add the contents of the following files to
`aclocal.m4': libtoolize:   `/usr/local/share/aclocal/libtool.m4'
libtoolize:   `/usr/local/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/local/share/aclocal/ltversion.m4'
libtoolize:   `/usr/local/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/local/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac
and libtoolize: rerunning libtoolize, to keep the correct libtool
macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS
in Makefile.am. libtoolize: `AC_PROG_RANLIB' is rendered obsolete by
`LT_INIT' checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for gcc... cc
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 for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared
libraries... yes checking whether -lc should be explicitly linked in...
no checking dynamic linker characteristics... freebsd8.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared
libraries... yes checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared
libraries... yes checking dynamic linker characteristics... freebsd8.0
ld.so (cached) (cached) checking how to hardcode library paths into
programs... immediate appending configuration tag "F77" to libtool
checking for ranlib... (cached) ranlib
checking whether to enable -Wall... no
checking for threadsafe gethostbyname()... no
checking for gethostbyname_r in -lnls... no
checking for socket in -lsocket... no
checking for floor in -lm... yes
checking for pthread_exit in -lpthread... yes
checking for deflate in -lz... yes
checking for kstat_close in -lkstat... no
checking for CRYPTO_realloc in -lcrypto... yes
checking for ANSI C header files... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for signal.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_icmp.h... yes
checking for unsigned long long... yes
checking for long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for malloc... yes
checking for calloc... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtoll... yes
checking priv.h usability... no
checking priv.h presence... no
checking for priv.h... no
checking whether we are using Solaris privileges... no
checking for mysql_init in -lmysqlclient_r... yes
checking for mysql_thread_init in -lmysqlclient_r... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... no
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp)
===>  Script "configure" failed unexpectedly.
Comment 5 Wesley Shields freebsd_committer freebsd_triage 2010-04-26 15:47:33 UTC
State Changed
From-To: open->closed

This should be fixed now with the patch from ports/141238
Comment 6 eugene 2010-07-08 09:35:30 UTC
Still unable to compile net-mgmt/cacti-spine with the same error:


checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... no
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp)
===>  Script "configure" failed unexpectedly.

-- 
С Ñважением,
Ðвгений ÐÑÑоÑкин <eugene@cair.ru>