Click to See Complete Forum and Search --> : glib headache


brockmasterflex
07-19-2004, 08:44 PM
Hey guys, just did a fresh install of Mandrake 10. I wanted to install Nessus to test for security issues and I want to use the GUI because its abit easier for the person that is going to be using this computer. So, I needed GTK+ for the gui. I downloaded GTK untared it, but it needs Atk, so I download the source for Atk. Atk needs Glib..... ok... this is getting stupid. I get the latest version of Glib, which is 2.4.4 however when I ./configure ATK i get this error...


checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.4.4)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. 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:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.
[root@sulu atk-1.2.4]# echo $LD_LIBRARY_PATH

Now, to me my current glib should even work.... I checked all these things and nothing is working... anyone ever have a problem like this or have an light to shine on this?

-bmf

JohnT
07-19-2004, 10:55 PM
What version of atk are you trying to compile and what version of GTK+ do you have?

brockmasterflex
07-20-2004, 01:03 PM
Hey, JohnT, I'm trying to install ATK version 1.2.4 and GTK+ 2.2.4......

brock

JohnT
07-20-2004, 03:15 PM
There's a newer version of atk available. You should try that one as it should be more compatible with your GTK+ and glib you have now. I only have a link to atk-1.7.1.tar.bz2...you might try to find an updated MDK package. It's too bad you just didn't have Gnome installed. You should find an updated MDK repository and get all your associated downloads from one locale, if possible. :(

ftp://ftp.gnome.org/pub/gnome/sources/atk/1.7/atk-1.7.1.tar.bz2

cybertron
07-20-2004, 03:26 PM
:eek:

Don't install base libraries from source in Mandrake unless you absolutely have to. I did this on my first Mandrake system and made a total mess out of it. Try to use the -devel RPM packages if at all possible. Otherwise you end up having to install them anyway because your RPM's can't find the source installed packages and you end up with two copies of everything, usually different versions too. The only reason I can think of to compile from source is if you need a newer version of something and it's not available as an RPM.

JohnT
07-20-2004, 03:36 PM
Good point cybertron, the atk-devel download wouldn't be far behind. This is one large reason I distanced myself from rpm's and MDK.

brockmasterflex
07-20-2004, 03:50 PM
I agree with you guys 100%, I'm hating Mandrake. But I must use it because thats what the people in charge want. They also want KDE, but screw this I'm gonna install Gnome and make this install a buttload easier.

Thanks guys for all your help.
Brock