LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 10-11-2005, 12:28 PM   #1
gletare
LQ Newbie
 
Registered: Oct 2005
Location: Belgium
Distribution: Fedora Core 4
Posts: 14

Rep: Reputation: 0
Question Installing xmms on FC4 -> "glib-config not found"...


Typing ./configure in the repertory xmms-1.2.10 produces the following message :

Quote:
*** 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 ***
Then I installed glib again (cos I suppose it was already included in FC4 standard libraries...), and I tried to find a glib-config file by typing in the shell :

Code:
updatedb
locate glib-config
But nothing was found

What shall I do to get a glib-config file, typing it on my own ????

thanks in advance
 
Old 10-11-2005, 12:48 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
glib 1.2 is part of gtk-1.2 and the glib-config file is part would be included as part of the development rpm (something like glib-devel or gtk1.2-devel)..however I doubt many other programs will use gtk-1.2 as it is essentially deprecated, so why not check out the beep-media-player which is a fork of xmms with gtk-1.2 replaced by the currently maintained gtk-2.0 (the two libraries are not interoperable).
 
Old 10-11-2005, 12:59 PM   #3
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
Maybe you need the dev package or something. I'd recommend that you install xmms using the rpm. Here's the link: http://www.mjmwired.net/resources/mjm-fedora-fc4.html

Also, here's a page you might find useful http://www.mjmwired.net/resources/mjm-fedora-fc4.html
 
Old 10-11-2005, 01:19 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I'd just install beep-media-player as suggested above. There is no need to install the old gtk and glib packages just to run one app.
 
Old 10-11-2005, 03:06 PM   #5
gletare
LQ Newbie
 
Registered: Oct 2005
Location: Belgium
Distribution: Fedora Core 4
Posts: 14

Original Poster
Rep: Reputation: 0
Well, I am now trying to install beepmp, but I have another problem : I install glib-2.8.3, and it seems alright, I have no error messages during the process, but when I try to install gtk+-2.8.6, during the ./configure step, it tells me :

Quote:
Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.6.4
configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
But I've just been installing the 2.8.3 version...
 
Old 10-11-2005, 03:16 PM   #6
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
To solve dependencies yourself....just go somewhere like rpm.pbone.net and search for rpm's available for your distro. If you type in "glib" and click on the latest rpm for your distro, it will tell you what it provides. Just be sure you are getting the version you need. You shouldn't have to install a different program via someone else's advice. If you want XMMS, then get XMMS.
 
Old 10-11-2005, 06:51 PM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally posted by gletare
Well, I am now trying to install beepmp, but I have another problem : I install glib-2.8.3, and it seems alright, I have no error messages during the process, but when I try to install gtk+-2.8.6, during the ./configure step, it tells me :



But I've just been installing the 2.8.3 version...
Fedora Core already has glib2 and gtk2 packages so why are you compiling from source? You don't necessarily need the latest versions of gtk2 or glib2.

Last edited by reddazz; 10-11-2005 at 06:53 PM.
 
Old 10-11-2005, 07:14 PM   #8
Agentvenom
Member
 
Registered: Sep 2005
Distribution: PCLinuxOS 2007 / Suse 10.3
Posts: 228

Rep: Reputation: 30
What reddazz means is that gtk2 and glib2 packages come with Fedora Core and should already be installed. If for some reason you need a different version, then by all means, please use an RPM as they are way easier to install and keep track of. Compiling from source is usually done when you can't find an RPM. I know little of Fedora Core, but I know redhat had yum that would help you find packages. You should do some checking and find an easier way of installing packages.
 
Old 10-12-2005, 04:40 AM   #9
gletare
LQ Newbie
 
Registered: Oct 2005
Location: Belgium
Distribution: Fedora Core 4
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks Everbody, I have used rpms and it is really easier.

Could I be still a litlle annoying ? In fact, it installed bmp in /usr/bin . But is it possible to ask that the installation puts the executable file in /usr/local/bin ?
 
Old 10-12-2005, 06:48 AM   #10
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally posted by gletare
Thanks Everbody, I have used rpms and it is really easier.

Could I be still a litlle annoying ? In fact, it installed bmp in /usr/bin . But is it possible to ask that the installation puts the executable file in /usr/local/bin ?
Usually you can't define where to install an rpm since the paths are hard coded in the rpm spec file, but some rpms may allow you to do this.
 
Old 08-29-2006, 03:39 PM   #11
soapdish
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
I just wanted to highlight something Komakino said that solves the problem of finding glib-config. I needed it for another program which didn't have any rpms, and a search brought me here.

Quote:
glib 1.2 is part of gtk-1.2 and the glib-config file is part would be included as part of the development rpm (something like glib-devel or gtk1.2-devel)
 
Old 10-06-2006, 01:32 AM   #12
hafizakahbk
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
1../configure,make,make install glib 1.2.2
2.go to etc/ld.so.confd create new file type this sentence usr/local/lib
3.save file and rename it as glib-1.2.2.conf

4../configure,make,make install gtk+1.2.2
5.go to etc/ld.so.confd create new file type this sentence usr/local/lib
6.save file and rename it as gtk+-1.2.2.conf

7.in the terminal run this command,ldconfig

8./configure,make,make install xmms.gtk n glib will be detect.finish.

But i got problem when i run xmms
here is the prob

libmpg123.so,cannot restore segment prot after relocermission denied.

that i missing something during installation?anyone...............
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
glib cannot be found when installing xmms bonniehandi Linux - Newbie 8 12-05-2005 05:55 AM
glib not found when installing xmms??????? help!!! nicdee Linux - Software 15 08-09-2005 11:13 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
Nvidia Driver "screens found but no working config" under suse 9.2 ultramancool Linux - Hardware 1 02-15-2005 02:59 PM
error message "all config not found" Charmaine Linux - General 3 08-24-2002 10:00 AM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration