From: SourceForge.net <no...@so...> - 2005-01-20 21:14:17
|
Bugs item #1106271, was opened at 2005-01-20 13:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1106271&group_id=12694 Category: agent Group: solaris Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: net-snmp 5.2.1.rc3 fails to include libwrap Initial Comment: Net-snmp 5.2.1.rc3 is unable to include libwrap. Here's some details; Solaris 9 gcc 3.4.2 (Sunfreeware) tcp_wrappers 7.6 (Sunfreeware) (/usr/local/lib/libwrap.a, /usr/local/include/tcpd.h) Here's how to reproduce the problem; # ./configure --prefix=/usr/local/onion --without-openssl --with-persistent-directory=/usr/local/onion/var/net-snmp --with-mib-modules="host ucd-snmp/diskio" --with-default-snmp-version="1" --with-out-transports="TCP" --with-zlib=/usr/local/onion/lib --with-sys-contact="somepoorguy@homosapiens.loves.you" --with-sys-location="beach" --with-logfile=/usr/local/onion/var/log/ --with-libwrap=/usr/local checking what to build and install... agent apps man local mibs using default "enterprise.net-snmp" using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." using default notifications "NET-SNMP-MIB::netSnmpNotifications" using OS default send buffer size for server sockets using OS default recv buffer size for server sockets using OS default send buffer size for client sockets using OS default recv buffer size for client sockets checking if I need to feed myself to ksh... no checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... egrep checking for AIX... no checking build system type... sparc-sun-solaris2.9 checking host system type... sparc-sun-solaris2.9 checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/ccs/bin/nm -p output... ok 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... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.9 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes creating libtool checking for a BSD-compatible install... ./install-sh -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ps... /usr/bin/ps checking for perl... /usr/bin/perl checking for whoami... no checking for logname... logname checking for sed... /usr/bin/sed checking for autoconf... no checking for autoheader... no checking for uname... /usr/bin/uname checking for an ANSI C-conforming const... yes checking for inline... inline checking for net-snmp version number... 5.2.1.rc3 checking for developer gcc flags... checking target system type... sparc-sun-solaris2.9 checking for system include file... net-snmp/system/solaris2.9.h checking for machine-type include file... net-snmp/machine/generic.h checking for gcc... /usr/local/bin/gcc checking for additional cpp flags... -x c checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for int32_t... yes checking for uint32_t... yes checking for u_int32_t... no checking for int64_t... yes checking for uint64_t... yes checking for u_int64_t... no checking for platform-specific source... checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for TCP wrappers library -lwrap... no checking for yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes checking for TCP wrappers library -lwrap linked with -lnsl... no configure: error: Asked to use libwrap but I couldn't find it. Same problem shows up on another box with Solaris 7. I tried copying libwrap/tcpd.h under net-snmp source dir, used --with-libwrap=/usr/local/lib, or --with-libwrap=./ with no luck. Note that Net-snmp 5.1.2 compiles, and successfully includes libwrap on the same Solaris 9 machine. Best Regards, Tolga Ceylan tol...@sa... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1106271&group_id=12694 |