Ethereal-users: Re: Re: [Ethereal-users] Install Probs

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

From: "Jonty Ray" <jonty_11@xxxxxxxxxxxxxx>
Date: Thu, 16 Oct 2003 21:39:26 -0000
I have copied the output of the ./configure i run got GTK+. Let me know if you can help me trace the error here. 

The error is that:


checking for glib-config... /scratch/users/ukoul/Ethereal/glib-1.2.8/glib-config
checking for GLIB - version >= 1.2.8... 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: /scratch/users/ukoul/Ethereal/glib-1.2.8/glib-config
configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/. 

You appear not to have GLib installed correctly. According to the config.log.gtk in your previous message, the error was

configure:4323:18: glib.h: No such file or directory

so, while you might have glib-config installed, you either don't have glib.h installed, or the glib-config script isn't specifying the right "-I" flags when you run it with the "--cflags" option.



Try running

/scratch/users/ukoul/Ethereal/glib-1.2.8/glib-config --cflags

THis gives : -I/usr/local/lib/glib/include -I/usr/local/include

The Directory /usr/local/lib/glib does not exist. and there in no glib.h in /usr/local/bin. I copied glib.h from scratch/users/ukoul/Ethereal/glib-1.2.8 to /usr/local/bin, but still got same error.


  On the Ethereal User guide there is not instructions on how to Untar and install GLIB. Can u gimme the steps. 
like for GTK is says:
1) .configure
2) make
3)make install

 However for GLIB after i run ./configure I do not find any make file been created in  scratch/users/ukoul/Ethereal/glib-1.2.8, so I have not gone to step 2 & 3 above. May be that the reason for incomplete GLIB installation. How can I overcome it.

Thx again.