LinuxQuestions.org
Review your favorite Linux distribution.
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 08-19-2003, 09:03 PM   #1
Gurtnamona
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Please assist newbie with glib question


I installed Redhat 9.0 last week and my previous linux experience is very limited. Apparently reading and following instructions is not enough to help me with my current problem. Simply I am trying to install an mp3 player so I can listen to music as I get used to using linux.
I downloaded xmms-1.2.8-pre1.tar.gz.
I extracted and then ran "./configure"
I got an error:

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.

So I downloaded glib-2.2.2.tar.gz
I extracted then read the install file.
Following the install file's directions I first ran "./configure"
Then I ran "make"
Then I ran "make install"

I then attempted to run "./configure" in the xmms-1.2.8 directory again and got the same error.
Looking back in the install file for glib I noticed that it said something about pkgconfig.
So I downloaded pkgconfig-0.15.0
I ran "./configure"
I ran "make"
I ran "make install"

I then attempted to run "./configure" in the xmms-1.2.8 directory again and got the same error.
I could not find the file glib-config anywhere on the system.
I received no errors during the installation of glib or pkgconfig.
I have searched the internet and spent the past 3 days trying to fix this seemingly simple issue. Would someone please lend me some guidance? Many thanks to anyone who takes the time to ponder a solution to my issue.
 
Old 08-19-2003, 09:11 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
hi.
get these 2 -
http://ftp.freshrpms.net/pub/freshrp...6-fr1.i386.rpm

http://ftp.freshrpms.net/pub/freshrp...6-fr1.i386.rpm

cd to the dir u saved them. then as root, in the same dir, do :
rpm -ivh apt-*

it will install both these packages.

now, as root again, do :
apt-get update

this will update the package lists, and build ur dependency trees.

now, staying as root, do :
apt-get install xmms.

and from now on, u can chk if u can install stuff like this using :
apt-cache search "pkg_keyword"

enjoy.
 
Old 08-19-2003, 09:14 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
unless u realllly want to install frm src.
in which case i think ur error might be solved if u edit ur "/etc/ld.so.conf" to include the path to ur glib, and then doing an "ldconfig" after.
 
Old 08-19-2003, 09:15 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
im just guessing hehe
 
Old 08-19-2003, 10:36 PM   #5
Gurtnamona
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Im guess my main question is why is glib-config not created during glib installation?
From what I can tell glib was installed successfully. Why would this glib-config not be installed. If someone has successfully installed glib before could you please tell me what I am doing incorrectly? Thanks.

h/w, thanks for your reply. I installed that apt program but it detected a version already installed on the system. The whole reason I am trying to reinstall is because the version that comes on the RedHat CD is crippled and will not play mp3s.
 
Old 08-19-2003, 10:44 PM   #6
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
if i remember right, redhat does not support the mp3 file format - and u have to install the xmms-mp3 plugin for it. so, when i had installed xmms from my redhat cd, it wouldnt play mp3's cos it was not supported, and not cos it was "corrupted".
 
Old 08-19-2003, 11:06 PM   #7
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
h/w is correct i believe..

mp3 support was taken out of RH9 because of the licensing used by mp3's

either find that plugin or convert em to OGG
 
Old 08-20-2003, 02:17 AM   #8
king_nothingzzz
Member
 
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Red Hat Enterprise Linux 4
Posts: 120

Rep: Reputation: 15
Just curious...

what would be the path of the glib installed....
I'm asking this cos i got the same error and i want to edit the /etc/ld.so.conf file to include the glib path...
Should i include the main directory( the directory where glib got insalled after a ./configure) or any other directory
 
Old 08-20-2003, 02:36 AM   #9
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
do a locate/find glib.

i see mine under /usr/lib, and i added that line to /etc/ld.so.conf, and did a 'ldconfig', at the end.
 
Old 08-20-2003, 12:16 PM   #10
Gurtnamona
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
h/w, do you have glib-config on your system? If so which glib version did you install and what step am I missing? Even if I find the plugin which allows me to play mp3s, it still worries me that programs requiring glib search for this glib-config file and that this file was not created during installation. Thanks.
 
Old 08-20-2003, 02:31 PM   #11
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
hi - this is wht i have :
glib-1.2.10-8

and glib-config is in :
/usr/bin/glib-config

and i jus downloaded xmms using apt. it wouldnt recognise mp3 files.
so, i got xmms-mp3 after it using apt again, and voila! a nice playlist appears when i add my music.

 
  


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
Question about glib install richardji Linux - General 1 07-12-2005 05:26 AM
Question about Glib Library ninja Linux - Software 3 11-24-2004 12:06 PM
Newbie. Buy Linux Legally, please assist. T3 Rules Mandriva 14 02-20-2004 06:12 PM
Question about GLIB 1.2.2 Inexactitude Linux - Newbie 1 10-18-2003 06:09 PM
glib question iceman47 Linux From Scratch 4 03-08-2003 07:52 PM


All times are GMT -5. The time now is 03:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration