Ethereal-users: [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: Thu, 22 Aug 2002 09:16:06 -0400
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? Thanks, Chip Chip Morgan Sr Designer IT Network Systems Norfolk Southern Corp 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 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... no 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 checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no creating libtool 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 perl... (cached) /usr/local/bin/perl checking for pod2man... (cached) /usr/local/bin/pod2man checking for flex... (cached) /usr/local/bin/flex checking for python... no checking for pkgproto... (cached) yes checking for pkgmk... (cached) yes checking for pkgtrans... (cached) yes checking for rpm... (cached) 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... (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 checking for gethostbyname... (cached) no checking for gethostbyname in -lnsl... (cached) yes checking for connect... (cached) no checking for connect in -lsocket... (cached) yes checking whether to use libpcap for packet capture... yes checking for extraneous pcap header directories... not found checking for net/bpf.h... (cached) yes checking for pcap.h... (cached) yes checking for pcap_open_live in -lpcap... (cached) 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... (cached) yes checking for gzgets in -lz... (cached) 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... (cached) yes checking for fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for netdb.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/sockio.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/wait.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stddef.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for iconv.h... (cached) yes checking whether to use SSL library if available... yes checking for EVP_md5 in -lcrypto... (cached) no checking whether to use UCD SNMP/NET-SNMP library if available... yes checking for ucd-snmp/snmp.h... (cached) no checking for sa_len in struct sockaddr... (cached) no checking whether byte ordering is bigendian... (cached) yes checking whether gcc needs -traditional... (cached) no checking for snprintf... (cached) yes checking for strerror... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for mkstemp... (cached) yes checking for strptime... (cached) yes checking for getprotobynumber... (cached) no checking for gethostbyname2... (cached) 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 config.h is unchanged configuring in epan running /bin/sh ./configure --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... no 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... (cached) no checking for dirent.h... (cached) yes checking for fcntl.h... (cached) yes checking for netdb.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) 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... (cached) yes checking whether to enable ipv6 name resolution if available... yes checking ipv6 stack type... unknown, none checking for inet_aton... (cached) no checking for inet_pton... (cached) no checking for inet_ntop... (cached) 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 config.h is unchanged configuring in wiretap running /bin/sh ./configure --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... no 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 config.h is unchanged The Ethereal package has been configured with the following options. Build ethereal : no 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 make all-recursive Making all in tools Making all in lemon Making all in wiretap gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -c ascend-grammar.c In file included from ascend-grammar.y:113: wtap-int.h:30: glib.h: No such file or directory In file included from wtap-int.h:41, from ascend-grammar.y:113: wtap.h:34: glib.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `ascend-grammar.o' Current working directory /export/home/Appsmstr/ethereal-0.9.6/wiretap *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/Appsmstr/ethereal-0.9.6 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am'
- 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: RE: [Ethereal-users] Where is the TCP Sequence Number Analysis fe ature in 0.9.6?
- Next by Date: RE: [Ethereal-users] Net send
- Previous by thread: RE: [Ethereal-users] missing tethereal program
- Next by thread: Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6
- Index(es):