Click to See Complete Forum and Search --> : Glib-config whu huh?
hrmkta
02-17-2003, 05:36 PM
Okie dokie folks here's my obnoxiously never-ending RH8 dilema.
So we all know that RH8 has ZERO Mp3 support. Whoo. That's exciting. So I'm like what the hell I'm sure I can get some Mp3 support and call it a day.
Yeah, no. I go get the Mp3 support and when I run ./configure it tells me that it really despises my Glib file thingie or whatever. So, thinking that I'm a super genius I go out and download glib 1.2.2 or whatever it asked for. I installed it, and then went back to xmms Mp3 support install...
And NOW it tells me that it found a previous version of Glib and wants me to either update my something or other or delete the earlier version. :mad:
I don't know how to do that! Someone, for the love of everything sacred, holy, and linux, please help me get this mess working!
Puloxor
02-17-2003, 05:44 PM
You probably have 2 versions of glib. The one that came in your system in /usr/lib and the one you just installed /usr/local/lib. Since you have 2 versons, the installation is getting confusion.
You'll want to point to the newest version:
before you ./configure type the following
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
PATH=/usr/local/bin:$PATH
so when the installation looks for the path, it'll look in /usr/local first, which is where you most likely installed your stuff
hrmkta
02-17-2003, 06:22 PM
Hey, good deal. That worked. But, yeah no. The good times don't often last for me. Now my newest error message is
checking for GTK - version >= 1.2.2... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***
Any ideas on what I should do now?
Puloxor
02-17-2003, 08:54 PM
If I remember correctly, GTK comes in 2 veresions 1.x series and 2.x series. Don't ask me why, but GTK2.x won't work here..and I'm guessing you installed GTK2.x. Try installing GTK1.x from here:
http://ftp.gnome.org/pub/gnome/sources/gtk+/
Get 1.3; if that doesn't work, just get the exact version they're asking for =)
And yeah, I had the exact same problems, but I read somewhere in the xmms documentation that GTK2 won't work.. and nobody would tell me this!
Hope that gets your mp3s going
hrmkta
02-18-2003, 01:53 PM
Alright, so I get gtk and now it wants glib 2. So, I get the only package I can find with glib 2, which was ruby glib 2. I installed that, and gtk can;t find it when I configure. Did I just manage to take on this Mp3 project the hard way, or is all this supposed to be happening?
Icarus
02-18-2003, 03:43 PM
Yow...rpm-hell from...uh...hell :)
Probally would of been best to use the package manager to get the packages from the Red Hat disks. You should be able to select the development tools and it will ask for the disks needed and install them for you.
There are also RPMs for the mp3 fix for RH8. "rpm -ivh xmmsmp3.rpm" Or whatever it was called and you should have mp3 support from there.
Also, you might want to look into apt-get for Red Hat 8, I have a good post from a while back that explains it in detail, but here's the link to the RPM.
ftp://ftp.freshrpms.net/pub/freshrpms/redhat-8.0/apt/
Puloxor
02-18-2003, 06:12 PM
I've never mixed rpms & tarballs, so I'm not sure.
Glib is here:
http://freshmeat.net/projects/glib/?topic_id=809
And also remember, if you closed your session (which you probably did since it was days ago), you have to re set your PATH and LD_LIBRARY_PATH
OR
you can have it done automatically for you everytime you login if you edit the file /etc/profile
and put those same lines in there