Ethereal-dev: [Ethereal-dev] RE: [Ethereal-users] GTK Not Found

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Wed, 10 Mar 2004 10:10:54 +0100
Hello Don,

The good news is that you probably don't need to reinstall GTK+ and/or Glib.

The gtk-config script has been replaced in GTK+ 2.x with a pkg-config
script. Those scripts will probably reside in /usr/local/lib/pkgconfig if
you installed GTK+ in /usr/local. You can always do a find /usr /lib -name
'*.pc' to locate the pkg-config files. Then add the directories to the
PKG_CONFIG_PATH environment variable. Mine is:
$ echo $PKG_CONFIG_PATH 
/target/lib/pkgconfig:/lib/pkgconfig

Once you have updated your PKG_CONFIG_PATH run the following command:
$ pkg-config --modversion gtk+-2.0
$ pkg-config --modversion glib-2.0

Both will return the version of the modules.

Of course, you need pkg-config in order to get it to work.

Regards,

Olivier

|-----Original Message-----
|From: Don
|
|I tried to install Ethereal-0.10.2 but I get an error message when 
|trying to configure that gtk cannot be found. I installed 
|gtk+-2.2.4 in 
|/usr/local. I cannot find a gtk-config script to modify as it 
|suggest in 
|the configure error message.  There is a gtk-2.0 in /usr. How do I get 
|ethereal to find gtk? How do I upgrade gtk and glib in /usr without 
|breaking anything?