[Nut-upsuser] configure: error: "Net-SNMP Libraries not found, required for SNMP drivers"

Brian Jester bjester at spawar.navy.mil
Thu Oct 9 20:17:31 UTC 2014


System:
* Solaris 10 1/13 (X86) in VirtualBox.

OpenCSW packages installed:
*gcc4core
* libltdl7
* netsnmp
* netsnmp_dev

I'm attempting to run:

     ./configure --with-snmp --with-wrap --with-snmp-libs="L/opt/csw/lib
l/libnetsnmp"

And get the following error:

     configure: error: "Net-SNMP libraries not found, required for SNMP
drivers"

I'm pasting the whole output below along with the contents of my
/opt/csw/lib directory.

Brian Jester
Engility Corp.
619-553-5851
Brian.Jester at EngilityCorp.com
bjester at spawar.navy.mil

-bash-3.2# ./configure --with-snmp --with-wrap
--with-snmp-libs="L/opt/csw/lib l/libnetsnmp"
Network UPS Tools version 2.7.2
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for host system name... Linux x86_64
checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/csw/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for autoconf macro to enable system extensions... yes
checking for style of include used by make... none
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /opt/csw/bin/ggrep
checking for egrep... /opt/csw/bin/ggrep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for egrep... (cached) /opt/csw/bin/ggrep -E
checking for ar... no
checking for ranlib... no
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
checking for flock... no
checking for lockf... yes
checking for fcvt... yes
checking for fcvtl... no
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... yes
checking for on_exit... no
checking for strptime... yes
checking for setlogmask... yes
checking whether LOG_UPTO is declared... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CPPUNIT... no
configure: WARNING: libcppunit not found.
checking whether optind is declared... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether uu_lock is declared... no
checking whether __func__ is declared... yes
checking for library containing gethostbyname... -lnsl
checking for library containing connect... -lsocket
checking whether time.h and sys/time.h may both be included... yes
checking for sys/modem.h... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for sys/termios.h... yes
checking for sys/time.h... yes
checking for library containing pthread_create... none required
checking for socklen_t... yes
checking for --with-all... not given
checking for Net-SNMP version via net-snmp-config... 5.6.1.1 found
checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -xO3 -m32
-xarch=pentium_pro -xchip=pentium_pro -Dsolaris2=solaris2 -I/opt/csw/include
-I/opt/csw/include -I/opt/csw/include
checking for Net-SNMP libs... L/opt/csw/lib l/libnetsnmp
checking for net-snmp/net-snmp-config.h... no
checking for init_snmp... no
checking for libusb version via pkg-config... checking via libusb-config...
none found
checking for libusb cflags...
checking for libusb ldflags... -lusb
checking for usb.h... no
checking for usb_init... no
checking for libneon version via pkg-config (0.25.0 minimum required)...
none found
checking for libneon cflags...
checking for libneon ldflags...
checking for ne_xmlreq.h... no
checking for ne_xml_dispatch_request... no
checking for libpowerman cflags...
checking for libpowerman libs...
checking for libpowerman.h... no
checking for pm_connect... no
checking for avahi-core version via pkg-config (0.6.30 minimum required)...
none found
checking for avahi-client version via pkg-config (0.6.30 minimum
required)... none found
checking for avahi cflags...
checking for avahi ldflags...
checking for avahi-common/malloc.h... no
checking for avahi_free... no
Checking for Solaris 10 / 11 specific configuration for usb drivers
checking for library containing nanosleep... -lrt
checking whether to build serial drivers... yes
checking whether to build USB drivers... no
configure: error: "Net-SNMP libraries not found, required for SNMP drivers"
-bash-3.2#

bash-3.2# pwd
/opt/csw/lib
bash-3.2# ls
32                           libitm.a
64                           libitm.la
amd64                        libitm.so
charset.alias                libitm.so.1
gcc                          libitm.so.1.0.0
gcj-4.9.0-15                 libitm.spec
go                           libltdl.so.7
i386                         libltdl.so.7.3.0
lib-gnu-awt-xlib.so          liblzma.so.5
lib-gnu-awt-xlib.so.15       liblzma.so.5.0.5
lib-gnu-awt-xlib.so.15.0.0   libmpc.so.3
libatomic.a                  libmpc.so.3.0.0
libatomic.la                 libmpfr.so.4
libatomic.so                 libmpfr.so.4.1.2
libatomic.so.1               libncurses.so.5
libatomic.so.1.1.0           libncurses.so.5.9
libaugeas.so                 libnetsnmp.so
libaugeas.so.0               libnetsnmp.so.25
libaugeas.so.0.15.0          libnetsnmp.so.25.0.2
libcharset.so.1              libnetsnmpagent.so
libcharset.so.1.0.0          libnetsnmpagent.so.25
libcilkrts.a                 libnetsnmpagent.so.25.0.2
libcilkrts.la                libnetsnmphelpers.so
libcilkrts.so                libnetsnmphelpers.so.25
libcilkrts.so.5              libnetsnmphelpers.so.25.0.2
libcilkrts.so.5.0.0          libnetsnmpmibs.so
libcilkrts.spec              libnetsnmpmibs.so.25
libcrypto.so.1.0.0           libnetsnmpmibs.so.25.0.2
libfa.so                     libnetsnmptrapd.so
libfa.so.1                   libnetsnmptrapd.so.25
libfa.so.1.3.5               libnetsnmptrapd.so.25.0.2
libfl.so.2                   libpcre.so.1
libfl.so.2.0.0               libpcre.so.1.2.3
libgcc_s.so                  libperl.so
libgcc_s.so.1                libperl.so.5.10
libgcc-unwind.map            libperl.so.5.10.1
libgcj-tools.so              libquadmath.a
libgcj-tools.so.15           libquadmath.la
libgcj-tools.so.15.0.0       libquadmath.so
libgcj.so                    libquadmath.so.0
libgcj.so.15                 libquadmath.so.0.0.0
libgcj.so.15.0.0             libreadline.so.6
libgcj.spec                  libruby18.so.1
libgdbm.so.4                 libruby18.so.1.8.7
libgdbm.so.4.0.0             libssl.so.1.0.0
libgfortran.spec             libssp_nonshared.a
libgij.so                    libssp_nonshared.la
libgij.so.15                 libssp.a
libgij.so.15.0.0             libssp.la
libgmp.so.10                 libssp.so
libgmp.so.10.0.4             libssp.so.0
libgnugetopt.so.0            libssp.so.0.0.0
libgnugetopt.so.0.0.0        libstdc++.so.6
libgo.a                      libstdc++.so.6.0.20
libgo.la                     libstdc++.so.6.0.20-gdb.py
libgo.so                     libsupc++.a
libgo.so.5                   libsupc++.la
libgo.so.5.0.0               libuuid.so.1
libgobegin.a                 libuuid.so.1.0.0
libgomp.a                    libxml2.so.2
libgomp.la                   libxml2.so.2.9.1
libgomp.so                   libz.so.1
libgomp.so.1                 libz.so.1.2.8
libgomp.so.1.0.0             locale
libgomp.spec                 openssl-1.0.0
libiconv.so.2                pentium
libiconv.so.2.5.1            pentium_pro+mmx
libidn.so.11                 perl
libidn.so.11.6.9             pkgconfig
libintl.so.8                 ruby
libintl.so.8.1.1             X11
bash-3.2#






More information about the Nut-upsuser mailing list