On Fri, 2009-04-17 at 09:44 +0300, Darius Augulis wrote:
> Dan Williams wrote:
> > On Thu, 2009-04-16 at 15:18 +0300, Darius Augulis wrote:
> >> I use Fedora 8 and there is GLIB2 v2.14.6 installed.
> >> I'm trying to configure wimax-tools source from git repository.
> >> Configure fails because GLIB version 2.16 is needed.
> >> Fedora 8 does not have updates anymore, therefore I downloaded GLib 
> >> 2.20.0.1 version, compiled and isntalled with prefix --prefix=/usr/
> >> Unfortunately wimax-tools configure script detects the same old 2.14.6 
> >> GLib version and fails.
> >> What I have to do?
> > 
> > What do you have for:
> > 
> > pkg-config --modversion glib-2.0
> 
> It is 2.14.6 because my host arch is x86_64, but new glib was installed to 
> /usr/lib instead of /usr/lib64
> .pc file in /usr/lib tells the new 2.20.1 version, but one in /usr/lib64 the 
> old 2.14.6 version.
> How to install glib to /usr/lib64? I passed --prefix=/usr/ to configure 
> script.

You probably compiled it for x86, not x86-64.  At configure-time, you
need to set CFLAGS to make it build for 64-bit; add "-m64" to CFLAGS
before running ./configure and see where you get.  At least I think
that's normally how it works, if you don't have CFLAGS already set up
for 64-bit builds.

Dan

> > 
> > If that's 2.14.6, that means you don't have the right .pc file
> > at /usr/lib/pkgconfig/glib-2.0.pc.
> > 
> > Dan
> 

_______________________________________________
wimax mailing list
[email protected]
http://www.linuxwimax.org/mailman/listinfo/wimax

Reply via email to