Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: [Wireshark-users] Cannot compile on FC5

From: Rich Gomes <RichGomes@xxxxxxxxxxx>
Date: Sun, 25 Jun 2006 15:29:20 -0400
Hi,
I am unable to compile Wireshark\Ethereal 0.99.0 on Fedora Core 5 (I would rather
build from source than use the .rpm).  I have the following gtk packages
installed:
gtk+-1.2.10-50
gtkspell-2.0.11-1.2.1
gtk-sharp-1.0.10-5
gtk2-engines-2.7.4-3
gtk-sharp2-2.8.2-1
gtk-engines-0.12-7.2.1
usermode-gtk-1.85-2.2
gtk2-2.8.19-2
pygtk2-2.8.6-0.fc5.1
pygtk2-libglade-2.8.6-0.fc5.1

But I still receive the error:
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.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+ is incorrectly
installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.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 is incorrectly
installed.
configure: error: GLib2 distribution not found.
[root@localhost ethereal-0.99.0]#


The only I could find to try is to run the command:
export PKG_CONFIG_PATH=/usr/lib/pkg-config

And I still receive the error. Can anyone assist?


Thanks,
Rich