I am trying to build streamripper from source, I don't see rpms available for it.
I have all the parts of yum groupinstall 'Development Tools' in place.
rpm shows that a 2.5.* is in use
# rpm -q glibc glibc-2.5-42.el5_4.3
Any attempt do get past the ./configure for streamripper fails
checking for GLIB - version >= 2.16.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: Glib 2.16 or greater required
After a lot of googling, I see some people on Ubuntu seem to have been missing a glibc-dev: http://sourceforge.net/projects/streamripper/forums/forum/19083/topic/345744...
but I don't see that available for me to pull from yum, and trying variants via: [root@localhost streamripper-1.64.6]# yum provides */libglib*
does not pull up what I seem to need here either.
I feel I must be missing some path, but I cannot find it. I built this fine on my BSD machines, and this app is part of the available install base for e.g. Ununtu and FreeBSD etc-- it is not as if this is esoteric.
Does this not build under CentOS? or am I missing something really straightforward. I searched the forums via google and find really no one talking about this, so either I'm missing some path or something obvious, despite looking, or it's just kown/assumed to not work.
I am running : Linux localhost.localdomain 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
freshly installed and updated 5.x.
Thanks for thoughts-
Brian
On Sun, 2010-01-24 at 18:01 -0500, Brian wrote:
checking for GLIB - version >= 2.16.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: Glib 2.16 or greater required
I have never tried building that particular program, but do you have glibc-devel, glib-devel and/or glib2-devel installed?
Brian wrote:
checking for GLIB - version>= 2.16.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: Glib 2.16 or greater required
that's glib not glibc. Current version in C5 is $ rpm -q glib2 glib2-2.12.3-4.el5_3.1
your program needs a newer glib than that provided in C5. I don't know how this could be solved, but probably not easily.
Nicolas Thierry-Mieg wrote:
Brian wrote:
checking for GLIB - version>= 2.16.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: Glib 2.16 or greater required
that's glib not glibc. Current version in C5 is $ rpm -q glib2 glib2-2.12.3-4.el5_3.1
your program needs a newer glib than that provided in C5. I don't know how this could be solved, but probably not easily.
glib is set up so that you can install parallel versions.
Get the src.rpm from a newer distro, change the name to compat-glib2 and tweak the spec file to build with the changed name and add
Provides: glib2 = %{version}
(and for devel - Provides glib2-devel = %{version}
Build it and it should install parallel to the stock glib2.
Of course, you may need to do the same thing with some dependencies just to get the compat-glib2 to build.
I might have a spec file for updated glib2 sitting around somewhere, but I stopped using CentOS for desktop so if that is one of the libs I had updated for myself, it may be older than 2.16 (I seem to remember doing it for 2.14) but I'll see if I have it. It may have been archived to one of my DVD's if I do, and I never built an index of what was on them. But I'll see if I can find it.
On Jan 24, 2010, at 7:01 PM, Michael A. Peters wrote:
glib is set up so that you can install parallel versions.
Get the src.rpm from a newer distro, change the name to compat-glib2 and tweak the spec file to build with the changed name and add
Provides: glib2 = %{version}
(and for devel - Provides glib2-devel = %{version}
Build it and it should install parallel to the stock glib2.
Of course, you may need to do the same thing with some dependencies just to get the compat-glib2 to build.
I might have a spec file for updated glib2 sitting around somewhere, but I stopped using CentOS for desktop so if that is one of the libs I had updated for myself, it may be older than 2.16 (I seem to remember doing
Thank you for the pointers, I'll look into that approach.
Brian
On Jan 24, 2010, at 6:37 PM, Nicolas Thierry-Mieg wrote:
Brian wrote:
checking for GLIB - version>= 2.16.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: Glib 2.16 or greater required
that's glib not glibc. Current version in C5 is $ rpm -q glib2 glib2-2.12.3-4.el5_3.1
your program needs a newer glib than that provided in C5. I don't know how this could be solved, but probably not easily.
Thanks! That has saved me a lot of effort. The back and forth I've spent this weekend before posting, I chalk up to the learning curve.
Brian