LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   having error while i'm trying installing wireshark (https://www.linuxquestions.org/questions/linux-newbie-8/having-error-while-im-trying-installing-wireshark-4175437591/)

izual 11-17-2012 11:33 AM

having error while i'm trying installing wireshark
 
Hey,
i'm having error while i'm trying installing wireshark on centos that located on VM and i got the following error wheh i tryed to run ./configure
Code:

checking for GNU sed as first sed in PATH... yes
checking if profile builds must be generated... no
checking for pkg-config... /usr/bin/pkg-config
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 or later are available, so Wireshark can't be compiled


i tried to install gtk but still got same error i hope u guys dont have problem with wireshark im pure newbie...

DutchGeek 11-17-2012 02:23 PM

What distro are you using? you might have more success if you install a distro-specific wireshark package, i.e rpm, or .deb or txz.

Can you post the contents of config.log? maybe some more info is in there.
Are you sure you successfully installed the correct version of GTK? check out the contents of README or INSTALL to see the exact requirements.

It could also be possible that GTK was installed in some directory different that where the configure script looks for it. try ./configure --help, you might be able to specify where GTK was installed.

One last thing, sounds silly but are you sure you installed GTK on the VM rather than the host (it can happen).


All times are GMT -5. The time now is 03:42 AM.