Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-05-2006, 07:41 PM
|
#1
|
Member
Registered: Apr 2003
Posts: 152
Rep:
|
Need to update glib and gtk
I installed glib-2.8 went ok, but when i check slackpkg search glib*
it returns "installed glib-1.2'
I need to update glib so i can update gtk
gtk won't install it needs glib >= 2.8.
So how do i update glib???
I need these so I can install python-gtk.
I need python-gtk so I can install Rox file manager.
There are other mangaers I like to try as well but they all require gtk-2.8.
Slack 10.2 comes with gtk-2.6
running into dependency hell here.
|
|
|
02-05-2006, 09:03 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
There are 2 Glib's that can co-exist side by side.
GLib-1.2.10
GLib-2.8.6
If you want the latest gtk+2-2.8.11, you should probably update all the deps. That's probably what I would do anyway. Here's a build order:
pkg-config-0.20 ( ./configure --prefix=/usr )
glib-2.8.6 ( ./configure --prefix=/usr ) (package name must be glib2-2.8.6)
atk-1.10.3 ( ./configure --prefix=/usr )
cairo-1.0.2 ( ./configure --prefix=/usr )
pango-1.10.2 ( ./configure --prefix=/usr --sysconfdir=/etc )
gtk+-2.8.11 ( ./configure --prefix=/usr --sysconfdir=/etc ) (package name must be gtk+2-2.8.11)
Thats not dependency hell...  You can try using the existing pkgconfig, atk and pango that's on Slackware. Not sure if the other packages will mind or not.
I forgot to clarify, using slackpkg to check for installed packages only looks for packages that were installed thru pkgtool. If you did a configure, make, make install on glib-2.8.6 then slackpkg, pkgtool or anything else like that will never report your new installs. Also makes it somewhat difficult if you want to remove them later unless you keep the source code after your done with it (make uninstall).
Last edited by jong357; 02-05-2006 at 09:08 PM.
|
|
|
02-17-2006, 12:24 AM
|
#3
|
LQ Newbie
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 10
Rep:
|
Quote:
There are 2 Glib's that can co-exist side by side.
GLib-1.2.10
GLib-2.8.6
|
I have installed GLib 1.2.4 and I'm trying to install xmms1.2.10, but it cannot complete ./configure because it found GLib-1.2.10.
This is the actual message;
Code:
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.2...
*** 'glib-config --version' returned 1.2.4, but GLIB (1.2.10)
*** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure
no
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
Being a newbie I understand what I have to do, but don't know how. Where is the older version and how do I delete it?
|
|
|
02-17-2006, 03:20 AM
|
#4
|
Member
Registered: Dec 2005
Location: London, United Kingdom
Distribution: OpenSUSE 10.1, Centos 4.3
Posts: 33
Rep:
|
Hi,
You also have to install GLib-2.8.6 .
|
|
|
02-26-2006, 03:16 PM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Quote:
Originally Posted by acidblue
I installed glib-2.8 went ok, but when i check slackpkg search glib*
it returns "installed glib-1.2'
I need to update glib so i can update gtk
gtk won't install it needs glib >= 2.8.
So how do i update glib???
I need these so I can install python-gtk.
I need python-gtk so I can install Rox file manager.
There are other mangaers I like to try as well but they all require gtk-2.8.
Slack 10.2 comes with gtk-2.6
running into dependency hell here.
|
Hey man, I had a similar problem, and I couldn't unravel the dependencies so I gave up. But today I found that there is a binary package for x86 for rox filer...you were probably trying to install rox-all like I was, right?
You can install the binary package without any dependencies. Go back to the sourceforge page and look for rox-filer instead of rox-all. I just tarred it -zxvf and ran ./install.sh like it said. Very simple even for a guy only a couple weeks into linux. Now if I can just figure out how to customize it!
|
|
|
02-26-2006, 05:32 PM
|
#6
|
Member
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139
Rep:
|
I've been having the exact same problem trying to get gaim 2.0 installed. I kept thinking I had it all working then gaim would return an error about GTK+ when I tried to install it. I used pkgtool to remove all the instances of glib-2.* and GTK+-2.* and got them to all reinstall alright, but I still can't figure out gaim. I'd try to remove everything with pkgtool then rebuild the latest glib and GTK+ making sure you use ./configure --prefix=/usr instead of just plain ./configure and try checkinstall (as root) instead of just make install. Those two changes (along with updating atk, pango, and cairo like jong357 said) *seemed* to get my glib and GTK+ issues out of the way.
|
|
|
02-27-2006, 01:53 PM
|
#7
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
Yea, I can't wait untill 11.0 comes out. Seems Pat fell behind there for awhile on G packages. Most everything requires a 2.8 version now-a-days to run. You guys won't have these headaches anymore with 11.0... I suppose you could upgrade to current as well. It looks as if he has all new versions of everything I listed above.
@skishak
Sounds like you have both libraries on your system. I have no idea where you got 1.2.4 from. That's a really old version that shouldn't be on your system. 1.2.10 is the latest/last version of v1 Glib and that's what you need on your system. Looks as if it's saying your glib-config is from 1.2.4 and libraries are from 1.2.10... I'm going to guess that you built glib-1.2.4 yourself and installed it via 'make install'... Something wierd is happening there anyway. xmms compiles and installs perfectly fine on a stock Slackware system without any extra work from you.
|
|
|
03-01-2006, 12:42 PM
|
#8
|
Member
Registered: Mar 2005
Posts: 130
Rep:
|
Quote:
Originally Posted by skishak
Being a newbie I understand what I have to do, but don't know how. Where is the older version and how do I delete it?
|
Use pkgtool to remove oldies.
|
|
|
03-01-2006, 01:00 PM
|
#9
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep: 
|
Quote:
Originally Posted by acidblue
I installed glib-2.8 went ok, but when i check slackpkg search glib*
it returns "installed glib-1.2'
I need to update glib so i can update gtk
gtk won't install it needs glib >= 2.8.
So how do i update glib???
|
You need not to add astreisk to searched package name. Even if it's not protected by quotes it may expand to filenames in current directory.
You may just type
Code:
slackpkg search glib
You'll see package name for glib 2.x is named glib2 not glib. To install/upgrade current version
Code:
slackpkg install glib2
should do the job.
|
|
|
03-16-2006, 08:53 AM
|
#10
|
LQ Newbie
Registered: Mar 2006
Distribution: openSUSE 10.2
Posts: 17
Rep:
|
GNOME fails to load after installing Pango and GLIB et al
posted to wrong forum
Last edited by PhilK; 03-16-2006 at 09:04 AM.
|
|
|
All times are GMT -5. The time now is 03:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|