conflicting glib versions and glib-config
running a fresh install of mandrake 10.
i'd like to install xmms(and other programs) from source (none of that rpm business). xmms needed gtk+, gtk needs glib. So after installing glib 1.2.9(no errors) gtk says Code:
checking for GLIB - version >= 1.2.8... 1) I'm not sure how to remove the 1.2.9 i installed (is there an easy way?)... and if i did, it would seem i'd need a new glib-config, which i wasn't able to find for 1.2.10(see #3) 2) LD_LIBRARY_PATH is empty, and it wasn't clear how i should change this or /etc/ld.so.conf. 3) I couldn't find the 1.2.10 copy of glib-config (or really anything from 1.2.10 - i probably don't know what i'm looking for) so i'm not sure how to point to its glib-config (or remove it if that would help). I would reinstall 1.2.10 but its source eludes me. I've reinstalled 1.2.9 but i don't know how to make 1.2.10 go away. Google's been particularly stubborn about helping me, which generally means i don't know enough about whats going on to ask... Anyway, any suggestions would be great. Thanks for your time, graham Also, another thread suggested 'rm usr/lib/libglib-1.2.so.0*' then running /sbin/ldconfig... however that seems pretty klugey, and i'm afraid of messing things up even more. |
http://gd.tuwien.ac.at/graphics/gimp...-1.2.10.tar.gz If you install it, use ./configure --prefix=/usr . If you do, uninstall glib-1.2.9 first. Compile it with the same options you chose the first time but use the command make uninstall instead of make install.
To modify LD_LIBRARY_PATH, export LD_LIBRARY_PATH=/usr/local/lib # or wherever you want to include |
thanks so much. i ran into the same problem with gtk, i guess mandrake just didn't put in the gtk/glib-configs when they installed... which is annoying. And gtk didn't have their latest version w/ the old ones, which is also a bit confusing. Installing the same versions over them from source fixed it all.
I think my two day jaunt in mandrake is over... while the easy install was nice, i miss gentoo. |
All the stuff is there on the Mandrake CD's, you can install them with the package management tools in the Mandrake Control Centre. The names can be confusing though. It won't be called gtk-1.2.10, it'll be called something like libgtk-1.2.10-45768-mdk-devel. The important bits are the gtk, 1.2.10 and the dev - which means you can compile other things against it.
I found Mandrake was a good way in to using Linux but it's not stable enough for day to day use. |
I have the same problem. I can't find GTK. Can you please tell me the correct name of the package?
|
Quote:
when I configure atk-1.9.0 i met this error: checking for GLIB - version >= 2.5.7... *** 'pkg-config --modversion glib-2.0' returned 2.8.0, but GLIB (2.14.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.5.7 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed *** but not in the same location as pkg-config add the location of the file *** glib-2.0.pc to the environment variable PKG_CONFIG_PATH. I removed glib-2.14.4 directories from all paths and : i typed ldconfig -f /etc/ld.so.conf then i retype: [root@localhost atk-1.9.0]# ./configure --prefix=/usr/ I met the same error where glib-2.14.4 existes and how to remove it. Initialy i need to install mysql-workbench-5.0.21, what are library required and how to install |
All times are GMT -5. The time now is 10:07 AM. |