Ethereal-users: RE: [Ethereal-users] Error making 0.9.6 on Solaris 2.6
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "Morgan, Chip E." <Chip.Morgan@xxxxxxxxxx>
Date: Mon, 26 Aug 2002 14:19:19 -0400
Jörg, Thanks for pointing these things out for me (and sorry that you had to...). I've installed GTK+ 1.2.10 and GLib 1.2.10, but am still getting Glib errors in the Ethereal configure output. I'm confused about why the configure program first says that Glib is there, but then says that it isn't (or at least can't use it). I verified that the program that configure pointed to returned "good" info. Thanks, Chip /Appsmstr/ethereal-0.9.6 140> gtk-config --version 1.2.10 /Appsmstr/ethereal-0.9.6 141> glib-config --version 1.2.10 /Appsmstr/ethereal-0.9.6 142> which glib-config /usr/local/bin/glib-config /Appsmstr/ethereal-0.9.6 143> ./configure --without-ucdsnmp creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking host system type... sparc-sun-solaris2.6 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 Cygwin environment... no checking for mingw32 environment... no checking build system type... sparc-sun-solaris2.6 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/xpg4/bin/nm -p checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/xpg4/bin/nm -p output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... no 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... yes checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... *** Warning: Releases of GCC earlier than version 3.0 cannot reliably *** create self contained shared libraries on Solaris systems, without *** introducing a dependency on libgcc.a. Therefore, libtool is disabling *** -no-undefined support, which will at least allow you to build shared *** libraries. However, you may find that when you link such libraries *** into an application without using GCC, you have to manually add *** `gcc --print-libgcc-file-name` to the link command. We urge you to *** upgrade to a newer version of GCC. Another option is to rebuild your *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.6 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 shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no creating libtool 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/local/bin/perl checking for pod2man... /usr/local/bin/pod2man checking for flex... /usr/local/bin/flex checking for python... no checking for pkgproto... yes checking for pkgmk... yes checking for pkgtrans... yes checking for rpm... no checking to see if we can add '-Wall -W' to CFLAGS... yes checking for platform-specific compiler flags... GCC on Solaris - added -Wno-return-type -DFUNCPROTO=15 checking whether to use /usr/local for headers and libraries... yes checking for LD_LIBRARY_PATH... no -- this may be a problem in a few seconds checking for GNU sed as first sed in PATH... no checking whether one of /usr/bin/sed or /bin/sed or /usr/ucb/sed will be used... no checking for gtk-config... /usr/local/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking for glib-config... /usr/local/bin/glib-config checking for GLIB - version >= 1.2.0... yes checking whether GLib supports loadable modules... yes checking for gethostbyname... no checking for gethostbyname in -lnsl... yes checking for connect... no checking for connect in -lsocket... 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 pcap_version is defined by libpcap... yes checking whether to use zlib for reading compressed capture files... yes checking for zlib.h... yes checking for gzgets in -lz... yes checking for gzgets missing when linking with X11... no 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... yes 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 arpa/inet.h... yes checking for iconv.h... yes checking whether to use SSL library if available... yes checking for EVP_md5 in -lcrypto... no checking whether to use UCD SNMP/NET-SNMP library if available... no checking for sa_len in struct sockaddr... no checking whether byte ordering is bigendian... yes 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 strptime... yes checking for getprotobynumber... no checking for gethostbyname2... no updating 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/SPECS/Makefile creating packaging/rpm/SPECS/ethereal.spec creating packaging/svr4/Makefile creating packaging/svr4/checkinstall creating packaging/svr4/pkginfo creating plugins/Makefile creating plugins/docsis/Makefile creating plugins/giop/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 --without-ucdsnmp --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for a BSD compatible install... ./../install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking host system type... sparc-sun-solaris2.6 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 Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking build system type... sparc-sun-solaris2.6 checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for /usr/ccs/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/xpg4/bin/nm -p checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/xpg4/bin/nm -p output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... no checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... *** Warning: Releases of GCC earlier than version 3.0 cannot reliably *** create self contained shared libraries on Solaris systems, without *** introducing a dependency on libgcc.a. Therefore, libtool is disabling *** -no-undefined support, which will at least allow you to build shared *** libraries. However, you may find that when you link such libraries *** into an application without using GCC, you have to manually add *** `gcc --print-libgcc-file-name` to the link command. We urge you to *** upgrade to a newer version of GCC. Another option is to rebuild your *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.6 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 flex... (cached) /usr/local/bin/flex checking to see if we can add '-Wall -W' to CFLAGS... yes checking for platform-specific compiler flags... none needed checking for glib-config... (cached) /usr/local/bin/glib-config checking for GLIB - version >= 1.1.0... no *** Could not run GLIB test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding GLIB or finding the wrong *** version of GLIB. If it is not finding GLIB, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** *** If you have a RedHat 5.0 system, you should remove the GTK package that *** came with the system with the command *** *** rpm --erase --nodeps gtk gtk-devel 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 whether to enable ipv6 name resolution if available... yes checking ipv6 stack type... unknown, none checking for inet_aton... no checking for inet_pton... no checking for inet_ntop... no checking for strptime... (cached) yes checking whether GLib supports loadable modules... no 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 --without-ucdsnmp --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for a BSD compatible install... ./../install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking host system type... sparc-sun-solaris2.6 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 Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking build system type... sparc-sun-solaris2.6 checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for /usr/ccs/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/xpg4/bin/nm -p checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/xpg4/bin/nm -p output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... no checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... *** Warning: Releases of GCC earlier than version 3.0 cannot reliably *** create self contained shared libraries on Solaris systems, without *** introducing a dependency on libgcc.a. Therefore, libtool is disabling *** -no-undefined support, which will at least allow you to build shared *** libraries. However, you may find that when you link such libraries *** into an application without using GCC, you have to manually add *** `gcc --print-libgcc-file-name` to the link command. We urge you to *** upgrade to a newer version of GCC. Another option is to rebuild your *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.6 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 flex... (cached) /usr/local/bin/flex checking to see if we can add '-Wall -W' to CFLAGS... yes checking for platform-specific compiler flags... none needed checking for glib-config... (cached) /usr/local/bin/glib-config checking for GLIB - version >= 1.1.0... no *** Could not run GLIB test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding GLIB or finding the wrong *** version of GLIB. If it is not finding GLIB, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** *** If you have a RedHat 5.0 system, you should remove the GTK package that *** came with the system with the command *** *** rpm --erase --nodeps gtk gtk-devel checking whether to use /usr/local for headers and libraries... 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 whether byte ordering is bigendian... (cached) yes 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 checking for gzgets missing when linking with X11... no updating cache .././config.cache 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 mergecap : yes Build text2pcap : yes Build idl2eth : yes Build randpkt : no Build dftest : no Install setuid : no Use plugins : yes Use pcap library : yes Use zlib library : yes Use IPv6 name resolution : no Use UCD SNMP library : no -----Original Message----- From: Joerg Mayer [mailto:jmayer@xxxxxxxxx] Sent: Thursday, August 22, 2002 7:43 PM To: Morgan, Chip E. Cc: 'ethereal-users@xxxxxxxxxxxx' Subject: Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6 On Thu, Aug 22, 2002 at 09:16:06AM -0400, Morgan, Chip E. wrote: > All, > I'm trying to build 0.9.6 on Solaris 2.6 and ran into a make error. I've > included the configure and make output below. I dug through the mailing list > archives but didn't find an exact match to my problem (or I didn't dig > through the cruft correctly..). I've tried gmaking with similar results, > too. What am I doing wrong? You aren't reading the output of configure. Clearly hidden in the midst of it, you can find the following passage: > checking for gtk-config... (cached) no > checking for GTK - version >= 1.2.0... no > *** The gtk-config script installed by GTK could not be found > *** If GTK was installed in PREFIX, make sure PREFIX/bin is in > *** your path, or set the GTK_CONFIG environment variable to the > *** full path to gtk-config. > checking for glib-config... (cached) /usr/local/bin/glib-config > checking for GLIB - version >= 1.2.0... yes > checking whether GLib supports loadable modules... yes As well as the following one: > checking for glib-config... (cached) /usr/local/bin/glib-config > checking for GLIB - version >= 1.1.0... no > *** Could not run GLIB test program, checking why... > *** The test program compiled, but did not run. This usually means > *** that the run-time linker is not finding GLIB or finding the wrong > *** version of GLIB. If it is not finding GLIB, you'll need to set your > *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point > *** to the installed location Also, make sure you have run ldconfig if that > *** is required on your system > *** > *** If you have an old version installed, it is best to remove it, although > *** you may also be able to get things to work by modifying LD_LIBRARY_PATH > *** > *** If you have a RedHat 5.0 system, you should remove the GTK package that > *** came with the system with the command > *** > *** rpm --erase --nodeps gtk gtk-devel as well as > checking for glib-config... (cached) /usr/local/bin/glib-config > checking for GLIB - version >= 1.1.0... no > *** Could not run GLIB test program, checking why... > *** The test program compiled, but did not run. This usually means > *** that the run-time linker is not finding GLIB or finding the wrong > *** version of GLIB. If it is not finding GLIB, you'll need to set your > *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point > *** to the installed location Also, make sure you have run ldconfig if that > *** is required on your system > *** > *** If you have an old version installed, it is best to remove it, although > *** you may also be able to get things to work by modifying LD_LIBRARY_PATH > *** > *** If you have a RedHat 5.0 system, you should remove the GTK package that > *** came with the system with the command > *** > *** rpm --erase --nodeps gtk gtk-devel Without having found the above, the message below may have been a surprise: > wtap-int.h:30: glib.h: No such file or directory What's interesting though is the fact, that it is talking about "(cached)". Please remove all three instances of config.cache (to be found in ., epan and wiretap) and run configure again. Does this get you any further? Ciao Jörg -- Joerg Mayer <jmayer@xxxxxxxxx> I found out that "pro" means "instead of" (as in proconsul). Now I know what proactive means.
- Follow-Ups:
- Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6
- From: Joerg Mayer
- Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6
- Prev by Date: [Ethereal-users] new to slp
- Next by Date: [Ethereal-users] TP4 over CLNP
- Previous by thread: Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6
- Next by thread: Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6
- Index(es):