Ethereal-users: RE: [Ethereal-users] problem finding snmp libraries

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: John Deatherage <Jdeatherage@xxxxxxxx>
Date: Tue, 24 Apr 2001 14:31:04 -0700
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for perl... /usr/bin/perl
checking for flex... /usr/bin/flex
checking for python... /usr/bin/python
checking for pkgproto... no
checking for pkgmk... no
checking for pkgtrans... no
checking for rpm... yes
checking for rpm build directories... found
checking to see if we can add '-Wall' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gethostbyname... yes
checking for connect... yes
checking whether to use libpcap for packet capture... yes
checking for extraneous pcap header directories... not found
checking for net/bpf.h... yes
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... yes
checking whether to use zlib for reading compressed capture files... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking whether to enable ipv6 name resolution if available... yes
checking ipv6 stack type... unknown, none
checking whether to install ethereal setuid... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for stdarg.h... yes
checking for netdb.h... yes
checking for sys/stat.h... yes
checking for sys/sockio.h... no
checking for sys/types.h... yes
checking for sys/socket.h... yes
checking for sys/wait.h... yes
checking for netinet/in.h... yes
checking for stddef.h... yes
checking for dlfcn.h... yes
checking for arpa/inet.h... yes
checking whether to use SSL library if available... yes
checking SSL_LIBS=... checking whether to use SNMP library if available...
yes
checking for ucd-snmp/snmp.h... yes
checking for ucd-snmp/version.h... yes
checking for snmp/snmp.h... no
checking for snmp/version.h... no
checking for sprint_objid in -lsnmp... no
checking for sprint_objid in -lsnmp... no
checking for sa_len in struct sockaddr... no
checking whether byte ordering is bigendian... no
checking whether gcc needs -traditional... no
checking for snprintf... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for mkstemp... yes
checking for getprotobynumber... yes
checking for gethostbyname2... yes
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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 ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlopen in -ldl... yes
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
updating cache ./config.cache
loading cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating gtk/Makefile
creating packaging/Makefile
creating packaging/nsis/Makefile
creating packaging/rpm/Makefile
creating packaging/rpm/ethereal.spec
creating packaging/svr4/Makefile
creating packaging/svr4/checkinstall
creating packaging/svr4/pkginfo
creating plugins/Makefile
creating plugins/gryphon/Makefile
creating plugins/mgcp/Makefile
creating tools/Makefile
creating tools/lemon/Makefile
creating config.h
configuring in epan
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for bison... (cached) bison -y
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for ranlib... (cached) ranlib
checking for flex... (cached) /usr/bin/flex
checking to see if we can add '-Wall' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking for glib-config... (cached) /usr/bin/glib-config
checking for GLIB - version >= 1.1.0... yes
checking for ANSI C header files... (cached) yes
checking for stdarg.h... (cached) yes
checking for direct.h... no
checking for dirent.h... yes
checking for fcntl.h... (cached) yes
checking for netdb.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... yes
checking for dlfcn.h... (cached) yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for broken inet_pton... ok
checking for inet_ntop... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating dfilter/Makefile
creating ftypes/Makefile
creating config.h
configuring in wiretap
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for bison... (cached) bison -y
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for ranlib... (cached) ranlib
checking for flex... (cached) /usr/bin/flex
checking to see if we can add '-Wall' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking for glib-config... (cached) /usr/bin/glib-config
checking for GLIB - version >= 1.1.0... yes
checking for ANSI C header files... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking host system type... i686-pc-linux-gnu
checking whether byte ordering is bigendian... (cached) no
checking for extraneous pcap header directories... not found
checking for pcap.h... (cached) yes
checking whether to use zlib for reading compressed capture files... yes
checking for zlib.h... (cached) yes
checking for gzgets in -lz... (cached) yes
creating ./config.status
creating Makefile
creating config.h

The Ethereal package has been configured with the following options.
                    Build ethereal : yes
                   Build tethereal : yes
                     Build editcap : yes
                     Build randpkt : no
                      Build dftest : no

                    Install setuid : no
                  Use pcap library : yes
                  Use zlib library : yes
          Use IPv6 name resolution : no
                  Use SNMP library : no


-----Original Message-----
From: Guy Harris [mailto:guy@xxxxxxxxxx]
Sent: Tuesday, April 24, 2001 2:13 PM
To: John Deatherage
Cc: 'ethereal-users@xxxxxxxxxxxx'
Subject: Re: [Ethereal-users] problem finding snmp libraries


> Configuration:
> -Redhat 7.1
> -ethereal-0.8.17-a source
> -libpcap 0.6 and tcpdump 3.6 source
> -ucd-snmp 4.2.1, devel, and utils RPMs from sourceforge
> 
> When I make Ethereal, it finds the ucd-snmp libraries in
> /usr/include/ucd-snmp...
> 
> It doesn't find /snmp/snmp.h,

It's not supposed to - the header file for UCD SNMP is
"ucd-snmp/snmp.h", not "snmp/snmp.h".

> and doesn't indicate SNMP functionality at the bottom of the output.

Not finding "snmp/snmp.h" is not sufficient to cause Ethereal not to be
built with the UCD SNMP library; if it didn't build Ethereal with the
SNMP library, it had some problem other than not finding "snmp/snmp.h".

Please do "make distclean" from the top-level directory of your Ethereal
source tree, and then run "configure" and send us the output of the
configure script, so we can see why it *does* think it couldn't use the
SNMP library.

_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users