LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-06-2005, 11:58 PM   #1
AndyMan123
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
Glib


I am trying to compile the source for xmms. But when I try I get this error
Code:
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 ***
So I went to rpm.pbone.net and dl Glib's RPM file for SUSE 9x and installed it. So I went to compile the source and I get the same error. The version of Glib I dl was 2.4.0

The filename I dl wasw glib2-doc-2.4.0-0.ximian.8.1.i586.rpm

Last edited by AndyMan123; 02-07-2005 at 12:00 AM.
 
Old 02-07-2005, 12:22 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
looks like you downloaded and installed a doc rpm. also, xmms wants glib-1.2.x and you are trying to install glib-2.4.0 (they are not the same, but they can coexist on the same system (this is the normal procedure for most distro's)) Assuming you are using Suse, try using Yast to install glib-1.2.10 and glib-1.2.10-devel and try configuring xmms again (or you could use Yast to install xmms while your at it)).
 
Old 02-07-2005, 12:35 AM   #3
AndyMan123
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I searched http://rpm.pbone.net/ for glib-1.2.10 and came up with results for other distros. Can I use the rpm for other distros? Some examples are Fedora, Redhat, ALTLinux , TurboLinux
 
Old 02-07-2005, 12:41 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Yast is the way to go........

but generally, if the two distro's are comparable (the same versions of libraries, namely important ones like glibc, gcc-libs, libstdc++ and such (the distro's would basically have to be released around the same time and use the same packages more or less)) then the package will work. But if you got a package for say Fedora Core 3 which uses glibc-2.3.4 (I just made that up, I don't know what version it actually ships with) and yours uses say glibc-2.3.2 the package will install but fail to run.

Then you also have problems with other things like different init scripts (only applies to some packages), different software install prefixes ( like how Suse puts gnome libraries in /opt/gnome/lib but most other distro's put it in /usr) and other factors that can cause problems.

Bottom line, if you want to keep your system clean, stick with Suse packages and compiling from source (if you do compile from source).

look on your install cd's for the glib-1.2.10 rpm's for your system. They should be on there somewhere and since they are the ones that go with your system, they are your best option.
 
Old 02-16-2005, 05:28 PM   #5
686plus
Member
 
Registered: Nov 2004
Location: Portland, Oregon
Distribution: Ubuntu
Posts: 114

Rep: Reputation: 17
I'm running fc3 and am having similar issues. I've got glib-1.2.10, but the message says it needs glib-1.2.2 or my I need to set the GLIB_CONFIG environment variable to the full path (same message AndyMan gets).

Is the issue my version or the path?

I can't find any glib-1.2.2 rpms for fc3. Any suggestions on where I could find one?

Or, how do I set the GLIB_CONFIG environment variable to the full path?
 
Old 02-17-2005, 05:12 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
What you need to find out is if you have glib-1.2.x-devel installed. Otherwise, on an rpm distro you wouldn't have a glib-config to set the GLIB_CONFIG to point to. So in a terminal run "glib-config" and see if you get output. If you get a command not found error, you'll need to install glib-1.2.x-devel ( 1.2.10 is the most bug free of the 1.2 series so go for that one).
 
  


Reply



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
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 09:12 PM
[GLIB] Problems Installing GLIB ThA_eLMo_GoD Linux - Newbie 2 09-04-2004 05:27 PM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM
Problems relating to glib 1.2.10 and glib 1.2.9 p3ngu!n Mandriva 10 05-23-2004 09:03 PM

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

All times are GMT -5. The time now is 02:14 AM.

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