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.
|
 |
08-19-2003, 08:03 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 3
Rep:
|
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.
|
|
|
08-19-2003, 08:11 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
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.
|
|
|
08-19-2003, 08:14 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
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.
|
|
|
08-19-2003, 08:15 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
im just guessing hehe 
|
|
|
08-19-2003, 09:36 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
08-19-2003, 09:44 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
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".
|
|
|
08-19-2003, 10:06 PM
|
#7
|
Member
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245
Rep:
|
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
|
|
|
08-20-2003, 01:17 AM
|
#8
|
Member
Registered: Aug 2003
Location: Brisbane, Australia
Distribution: Red Hat Enterprise Linux 4
Posts: 120
Rep:
|
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
|
|
|
08-20-2003, 01:36 AM
|
#9
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
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.
|
|
|
08-20-2003, 11:16 AM
|
#10
|
LQ Newbie
Registered: Aug 2003
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
08-20-2003, 01:31 PM
|
#11
|
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286
Rep:
|
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.

|
|
|
All times are GMT -5. The time now is 02:45 AM.
|
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
|
|