Reputation: 2756
I am trying to build the wireshark from source ( URL: http://anonsvn.wireshark.org/wireshark/trunk ) on my mac machine but I am getting following error message :
checking for GTK+ - version >= 2.12.0 and < 3.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.
configure: error: Neither Qt nor GTK+ 2.12.0 or later are available, so Wireshark can't be compiled
complete log can be seen at : http://hastebin.com/yebayufoxi.vhdl
Please suggest me, how to build wireshark on my mac machine.
Upvotes: 0
Views: 1165
Reputation:
Well, my first suggestion is to install GTK+ and other libraries that Wireshark needs.
The easiest way to install all the libraries that Wireshark needs, at least on Snow Leopard and later, run the shell script macosx-setup.sh
in the top-level directory of the Wireshark source tree. It will download and install various packages, including GTK+ (and GLib, which both GTK+ and Wireshark itself need).
That script, by default, also installs libraries that Wireshark doesn't require, but that allow Wireshark to support additional features (decryption of various types of traffic, Lua as an extension language, geolocation of IP addresses, etc.).
Upvotes: 3