Wireshark mailing list archives

Re: error: Neither Qt nor GTK+ 2.12 or later are available, so Wireshark can't be compiled


From: Simon K <k_simon78 () yahoo com>
Date: Fri, 28 Dec 2012 14:41:19 +0800 (SGT)

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 () alum mit edu>
To: Simon K <k_simon78 () yahoo com> 
Cc: wireshark-users () wireshark org 
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 () yahoo com> 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?
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe

Current thread: