2009/6/11 Saifi Khan <[email protected]>: > > > On Wed, 10 Jun 2009, Anirudh Ramachandran wrote: > >> Problem 1: ./configure on wireshark-1.2.0pre1 >> " >> Checking for GTK+ - version >= 2.4.0... no >> > > This is a strict requirement for Wireshark ! > Alternatively, we can just compile tshark, but even then > "vendor" lockin will show up. > >> >> Problem 2: ./configure on gtk+-2.16.2/ >> " >> checking for BASE_DEPENDENCIES... configure: error: Package requirements >> (glib-2.0 >= 2.19.7 atk >= 1.13.0 pango >= 1.20 cairo >= 1.6) were >> not met: >> >> No package 'glib-2.0' found >> No package 'atk' found >> No package 'pango' found >> No package 'cairo' found >> >> Consider adjusting the PKG_CONFIG_PATH environment variable if you >> installed software in a non-standard prefix. >> >> I am running Kubuntu 9.04. I thought that Problem 1 would be solved by >> using > > Thats not a helpful conclusion since that means every user has > to slave-install gnome, just because (s)he wants to install > wireshark ! > > Try to pull in the binary version of GTK+ from the repository. > You'd know best the steps how to do it. > > Meanwhile, i'll try this out as i'm on a clean Qt/KDE system. > i'm going to compile from the source code of glib, gtk, atk, > pango, cairo. > > The dependency tree looks "something" like this > > cairo > +- openGL > +- libspectre > +- ghostscript8 > +- gtk+ > +- pango -+ > +- atk --+ > | > +- glib > +- libpng > +- libjpeg > etc. > > all these guys would require pkgconfig utility as well. > > Ok, so lets get to some work. > > thanks > Saifi. >
Alright, I got wireshark 1.2.0pre1 up and running on my Ubuntu 9.04 VM! It is working properly. I did apt-get install on the wireshark-common and wireshark-dev packages, then compiled and built GTK+-2.16.2 from source, then compiled and built wireshark 1.2.0pre1 from source. I tried doing this on my system (Kubuntu 9.04). I did apt-get install on the wireshark-common and wireshark-dev packages, then compiled and built GTK+-2.16.2 from source. That all ran without any hitches. Then, when I run ./configure on the wireshark source, BAM! Error. pkg-config is returning my GTK+ version as 2.16.2, which is the code I built from, but the configure script says it found GTK+2.16.1 and refuses to proceed. <error> checking for GTK+ - version >= 2.4.0... *** 'pkg-config --modversion gtk+-2.0' returned 2.16.2, but GTK+ (2.16.1) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GTK+. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: GTK+ 2.4 or later isn't available, so Wireshark can't be compiled </error> I do not know what to do about these environment variables the error message is telling me about, and what I should set them to. I also tried "apt-get remove gtk2-engines", which was the only gtk2 package I had manually installed, (during a previous attempt at building). Even then, same error. I also have a number of applications installed, like firefox 3.0 and OpenOffice 3.0, which use various libgtk* packages (libgtk2.0-0, libgtk2.0-bin, libgtk2.0-common, libgtkmm-2.4-1c2a and libgtkspell0). I don't think they are the cause of the problem, but could you please confirm it for me? Anirudh R

