Help - Search - Members - Calendar
Full Version: Upgrading to GTK+ 2.4
Neowin Forums > *nix Customization & Support > Linux Client Support
Seth
Okay, so I want to run the lovely beep media player, which requires GTK+ 2.4. SuSE 9.1 ships with 2.2, so an upgrade was in order. I installed the latest versions of GLib, ATK, and Pango, and then installed GTK 2.4 successfully (at least, no error messages). From what I can gather, my old GTK 2.2 was installed in /opt/Gnome and the new stuff is in /usr/local/lib. I'm not sure how to remove the old 2.2, or if I should remove the old 2.2, or how to get BMP to see 2.4, because it still doesn't. Thanks for the help! smile.gif

As a side note, YaST reports GTK 2.2 installed, so maybe I just didn't perform some magic step to tell it that GTK 2.4 is now ready to go? unsure.gif
chavo
You can safely leave the old 2.2 in /opt/gnome.

In order to have the system recognize your new install you'll have to add /usr/local/lib to the LD_LIBRARY_PATH.
Just open up ~/.bashrc and add these lines ->

LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/X11R6/lib
export LD_LIBRARY_PATH

Now open up a terminal and see if the beep configure script can find 2.4. It should look in /usr/local/lib first.

If you need to let other users access the gtk install, let me know. I'll help you fix it systemwide.
Seth
Oh glorious, it worked! You're the best.

I can start BMP from console now but it spews some errors:
QUOTE
(beep-media-player:5115): libglade-WARNING **: unknown widget class 'GtkComboBox'

(beep-media-player:5115): GLib-GObject-WARNING **: gsignal.c:1709: signal `font_set' is invalid for instance `0x8210718'
but everything seems to work okay. However, I can't start it from the K Menu, the icon just bounces forever. Any ideas? wub.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.