LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-18-2004, 02:52 AM   #1
allendefall
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora 2
Posts: 7

Rep: Reputation: 0
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.
 
Old 12-18-2004, 05:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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)
 
Old 12-18-2004, 02:31 PM   #3
allendefall
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora 2
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-19-2004, 04:56 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you said you'd upgraded glib-devel yet it's not in that list at all...
 
Old 12-19-2004, 04:57 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
oh and note that glib (essentially a gnome library) is so so so far detached from glibc (core base level C library routines).
 
Old 12-19-2004, 08:01 PM   #6
allendefall
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora 2
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 12-20-2004, 07:36 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 12-24-2004, 08:26 PM   #8
allendefall
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora 2
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for all the help chris.
happy holidays.

/joseph
 
Old 12-25-2004, 12:23 AM   #9
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gtk-config and glib-config scripts not found? Frustin Linux - General 17 12-26-2008 02:14 PM
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
Installing xmms on FC4 -> "glib-config not found"... gletare Linux - Software 11 10-06-2006 01:32 AM
glib-mkenums command not found RohanShrivastav Linux - General 3 02-17-2005 02:04 AM
glib-mkenums command not found RohanShrivastav Linux - Software 0 02-16-2005 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration