Hi Harris,
Please find below details :
# ll /usr/bin/pkg-config
lrwxrwxrwx 1 root sys 26 Dec 28 12:07 /usr/bin/pkg-config -> /opt/gtk2.6/bin/pkg-config
# /usr/bin/pkg-config --cflags-only-I gtk+-2.0
-I/opt/gtk2.6/include/gtk-2.0 -I/opt/gtk2.6/lib/gtk-2.0/include -I/opt/gtk2.6/include/atk-1.0 -I/opt/gtk2.6/include/pango-1.0 -I/opt/gtk2.6/include -I/opt/gtk2.6/include/freetype2 -I/opt/gtk2.6/include/glib-2.0 -I/opt/gtk2.6/lib/glib-2.0/include
Thanks & Regards,
Simon
From: Guy Harris <guy@xxxxxxxxxxxx>
To: Simon K <k_simon78@xxxxxxxxx>
Cc: wireshark-users@xxxxxxxxxxxxx
Sent: Friday, 28 December 2012 11:48 AM
Subject: Re: [Wireshark-users] error: Neither Qt nor GTK+ 2.12 or later are available, so Wireshark can't be compiled
On Dec 27, 2012, at 8:58 PM, Simon K <
k_simon78@xxxxxxxxx> wrote:
> Thanks for the info , i checked in config.log and there it is mentioned as gtk/gtk.h not found .
>
> So i copied the contents of gtk-2.0 directory i.e. gtk and gdk to /usr/include location
That's not where they're supposed to be on your system, and it's not supposed to be necessary to put them there. pkg-config is supposed to be set up to know where to find them, so that the configure script will know what to do to tell the compiler where to find them.
What does the command
pkg-config --cflags-only-I gtk+-2.0
print?