Ethereal-users: [Ethereal-users] Compiling Ethereal on Solaris 8 2/02

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

From: Greg Brissey <greg.brissey@xxxxxxxxxxxxx>
Date: Tue, 14 May 2002 17:30:06 -0600
I am trying to compile ethereal programi on a SUN sparc running Solaris 8 2/02.

Here's what I have:

glib 1.2.10 binary package from sunfreeware.com installed in /usr/local
gtk+ 1.2.10 binary package from sunfreeware.com installed in /usr/local
libpcap 0.6.2 binary package from sunfreeware.com installed in /usr/local
Obtained ehtereal 0.9.3 source tar

./configure gives errors
checking for gtk-config... /usr/local/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: /usr/local/bin/gtk-config
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.0... no
*** Could not run GLIB 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 GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the glib-config script: /usr/local/bin/glib-config
configure: error: GLib distribution not found.

configure:2303: cc -o conftest -D_U_="" -g -I$(top_srcdir) -I$(top_srcdir)/wiretap -I/usr/local/include -I/usr/local/include/gtk-1.2
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/openwin/include  -I$(top_srcdir) -I$(top_srcdir)/wiretap
-I/usr/local/include  -L/usr/local/lib -R/usr/local/lib conftest.c  -R/home/greg/adabas/lib:/usr/openwin/lib -L/usr/local/lib
-L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm 1>&5
"/usr/local/include/glib-1.2/glib.h", line 1573: undefined or not a type: inline
"/usr/local/include/glib-1.2/glib.h", line 1574: parameter not in identifier list: g_bit_nth_lsf
"/usr/local/include/glib-1.2/glib.h", line 1576: only "register" valid as formal parameter storage class
"/usr/local/include/glib-1.2/glib.h", line 1576: parameter not in identifier list: inline
"/usr/local/include/glib-1.2/glib.h", line 1576: syntax error before or at: gint
"/usr/local/include/glib-1.2/glib.h", line 1579: parameter not in identifier list: g_bit_nth_lsf
"/usr/local/include/glib-1.2/glib.h", line 1579: parameter not in identifier list: __func__
"/usr/local/include/glib-1.2/glib.h", line 1579: cannot initialize parameter: __func__
"/usr/local/include/glib-1.2/glib.h", line 1582: undefined symbol: nth_bit
"/usr/local/include/glib-1.2/glib.h", line 1583: undefined symbol: mask
"/usr/local/include/glib-1.2/glib.h", line 1586: undefined symbol: nth_bit
"/usr/local/include/glib-1.2/glib.h", line 1588: warning: statement not reached
"/usr/local/include/glib-1.2/glib.h", line 1588: cannot recover from previous errors
cc: acomp failed for conftest.c
configure: failed program was:



configure:2864: cc -o conftest -D_U_="" -g -I$(top_srcdir) -I$(top_srcdir)/wiretap -I/usr/local/include -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include  -I$(top_srcdir) -I$(top_srcdir)/wiretap -I/usr/local/include  -L/usr/local/lib -R/usr/local/lib conftest.c 
-R/home/greg/adabas/lib:/usr/openwin/lib -L/usr/local/lib -lgmodule -lglib -ldl 1>&5
"/usr/local/include/glib-1.2/glib.h", line 1573: undefined or not a type: inline
"/usr/local/include/glib-1.2/glib.h", line 1574: parameter not in identifier list: g_bit_nth_lsf
"/usr/local/include/glib-1.2/glib.h", line 1576: only "register" valid as formal parameter storage class
"/usr/local/include/glib-1.2/glib.h", line 1576: parameter not in identifier list: inline
"/usr/local/include/glib-1.2/glib.h", line 1576: syntax error before or at: gint
"/usr/local/include/glib-1.2/glib.h", line 1579: parameter not in identifier list: g_bit_nth_lsf
"/usr/local/include/glib-1.2/glib.h", line 1579: parameter not in identifier list: __func__
"/usr/local/include/glib-1.2/glib.h", line 1579: cannot initialize parameter: __func__
"/usr/local/include/glib-1.2/glib.h", line 1582: undefined symbol: nth_bit
"/usr/local/include/glib-1.2/glib.h", line 1583: undefined symbol: mask
"/usr/local/include/glib-1.2/glib.h", line 1586: undefined symbol: nth_bit
"/usr/local/include/glib-1.2/glib.h", line 1588: warning: statement not reached
"/usr/local/include/glib-1.2/glib.h", line 1588: cannot recover from previous errors
cc: acomp failed for conftest.c


So have I missed a step, what am I doing wrong?

Greg