Linux - SoftwareThis 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.
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.
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.
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)).
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
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.
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?
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.