Ethereal-dev: [Ethereal-dev] error configuring ethereal 0.9.7 on Solaris 2.8

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

From: Ziying Sherwin <sherwin@xxxxxxxxxxxxxxx>
Date: Tue, 22 Oct 2002 14:48:28 -0400 (EDT)
We are trying to build ethereal 0.9.7 on our Solaris 2.8 machine using gcc
3.2 64bits compiler. The gtk version is 1.2.8 and glib 2.0.1. And the 
configuration failed because of the gtk and glib version does not meet the 
requirement. The error message looks like:

nob[root]csh:51>env CPPFLAGS=-I/depot/include LDFLAGS=-L/depot/lib PATH=/depot/bin:/bin:/etc:/usr/bin:/usr/sbin:/usr/ccs/bin:/bin:/etc:/usr/bin:/usr/sbin:/usr/ccs/bin: \
./configure --prefix=/depot/package/ethereal_0.9.7/vendor
checking for a BSD-compatible install... /depot/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking for C compiler default output... 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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 whether ln -s works... yes
checking how to recognise dependant 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... no
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.8 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 bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for perl... /depot/bin/perl
checking for pod2man... /depot/bin/pod2man
checking for flex... /depot/bin/flex
checking for python... /depot/bin/python
checking for pkgproto... yes
checking for pkgmk... yes
checking for pkgtrans... yes
checking for rpm... yes
checking to see if we can redefine _topdir... yes
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... yes -- added LD_LIBRARY_PATH to run-time linker path
checking for GNU sed as first sed in PATH... yes
checking for gtk-config... /depot/bin/gtk-config
checking for GTK - version >= 1.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /depot/bin/gtk-config
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: GLib distribution not found.
nob[root]csh:52>gtk-config --version
1.2.8

Any ideas? Thanks. I am on the mailing list, please send the reply to 
sherwin@xxxxxxxxxxx.

Ziying Sherwin