Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
12-18-2004, 02:52 AM
|
#1
|
LQ Newbie
Registered: Dec 2004
Distribution: fedora 2
Posts: 7
Rep:
|
glib-config: command not found
I'm trying to install pyXMMS and am met with the following error:
sh: line 1: glib-config: command not found
glib-config returned a non-zero exit status. Aborting.
i have already upgraded glib-devel, but it still cannot find glib-config command for whatever reason.
a frebruary post of toships addressed this, but it didn't help me  , not sure how to proceed.
thank you kindly for any help.
|
|
|
12-18-2004, 05:15 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
does running "glib-config" work, or is it not found?
try "locate glib-config" (might want to updatedb beforehand)
check "rpm -qa | grep glib" and ensure that glib-devel is in there. note that this is for glib version 1, not glib version 2. the newer versions will use the pkg-config mechanism for finding libraries, and not depending on indivudal scripts like this, so you need to be using a 1.x release (in addition to a 2.x)
|
|
|
12-18-2004, 02:31 PM
|
#3
|
LQ Newbie
Registered: Dec 2004
Distribution: fedora 2
Posts: 7
Original Poster
Rep:
|
this is what i have in terms of gllibs, updated right before i tried installation:
dbus-glib-0.20-4.1
glibc-common-2.3.3-27.1
glibc-headers-2.3.3-27.1
glib2-2.4.8-1.fc2
glibc-2.3.3-27.1
glibc-kernheaders-2.4-8.44
glibc-devel-2.3.3-27.1
glib-1.2.10-12.1.1
when i enter glib-config, returned is:
bash: glib-config: command not found
thanks for your help.
|
|
|
12-19-2004, 04:56 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you said you'd upgraded glib-devel yet it's not in that list at all...
|
|
|
12-19-2004, 04:57 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
oh and note that glib (essentially a gnome library) is so so so far detached from glibc (core base level C library routines).
|
|
|
12-19-2004, 08:01 PM
|
#6
|
LQ Newbie
Registered: Dec 2004
Distribution: fedora 2
Posts: 7
Original Poster
Rep:
|
ok, schoolboy mistake.
so i tried to actually install glib-devel-1.2.10, and i got a failed dependency for glib-1.2.10 (which does appear on that list). i eventually used yum to install it successfully, but not sure why this error came up in the first place.
thanks kindly for your time.
|
|
|
12-20-2004, 07:36 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well technically glib-1.2.10 is NOT in that list... as the package name was appended at that base level. this is one reason why RPM's suck... the name of the package can be so arbitrary, yet prevent it being installed.
|
|
|
12-24-2004, 08:26 PM
|
#8
|
LQ Newbie
Registered: Dec 2004
Distribution: fedora 2
Posts: 7
Original Poster
Rep:
|
thanks for all the help chris.
happy holidays.
/joseph
|
|
|
12-25-2004, 12:23 AM
|
#9
|
Member
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740
Rep:
|
Hey, I do not believe glib 1.2.* came with the glib-config, try getting a new version, i.e. 2.0.0+, it is perfectly fine (in fact recommended) to have both glib 1.2.x and glib.2.x.x on your comp (some older programs may rely on 1.x.x). After install 2.0.0 you should have the glib-config script.
|
|
|
All times are GMT -5. The time now is 09:25 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
|
|