Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-19-2005, 10:35 PM   #1
LQ Newbie
Registered: Jan 2005
Location: Columbus Ohio
Distribution: Slackware 11
Posts: 23

Rep: Reputation: 15
xmms environment variable help

hello all,

i would like to install xmms but when i configure it i get this:

checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
however, i have a suitable version of GLIB

# rpm -q glib
how do i set these environment variables? what do i set them to? or how do i mess with prefixes (not even sure what that is)?

i may not even have this variable. i ran echo $GLIB_CONFIG and it returned a blank line.

any instruction would be greatly appreciated. thanks

btw...i'm running FC4
Old 10-19-2005, 10:41 PM   #2
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
check the install or readme file for the program your installing.. you should be able to specify the location of your version of the dependancy when you configure
Old 10-19-2005, 11:17 PM   #3
LQ Newbie
Registered: Jan 2005
Location: Columbus Ohio
Distribution: Slackware 11
Posts: 23

Original Poster
Rep: Reputation: 15
so i read the readme and install files but they weren't much help.

so say i wanted to set the GLIB_CONFIG variable to something while i'm configuring xmms. it seems i would say

./configure GLIB_CONFIG = <path>

but then the question is still, the path to what?

# rpm -ql glib
i assume i should be looking for a file called glib-config but i don't see it. if i "locate glib-config" ... i don't get anything back. what should i be setting this variable to?

while i wait for more replies i'll browse through the glib readme file

thanks again...
Old 10-19-2005, 11:23 PM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You may need to install the glib-devel package to make sure you have the programming headers and tools necessary to build software based off of glib. You should verify that you have a glib-config script and if not install the devel package and try again, following the advice given above also if you run into more trouble.


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
PATH environment variable moonz Red Hat 3 09-08-2005 04:10 PM
environment variable gamor Linux - Newbie 4 04-30-2005 05:28 PM
Environment Variable salmanucit Linux - Software 2 07-21-2004 02:27 AM
environment variable mimi Linux - Newbie 1 04-10-2002 08:29 AM
environment variable mimi Linux - General 2 04-10-2002 07:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 AM.

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