On Thursday 16 April 2009, Darius Augulis wrote: > Perez-Gonzalez, Inaky wrote: > >> From: Darius Augulis [[email protected]] > >> > >> 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. > > > > You are not going to like this too much :) but it is not really needed. > > You can remove it from configure.in, the lines that say: > > Perhaps you have to fix it, because of: > > make[1]: Entering directory `/home/Darius/Programming/wimax-tools/bin' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../include -I../include -I../include > -I/home/Darius/Programming/intel_wimax/wimax-i2400m-1.4.1/include > @GLIB_CFLAGS@ -DPLUGINDIR=\""/usr/local/lib/wimax-tools/plugins"\" -g -Wall > -O2 -MT wimaxll-pl-reset.lo -MD -MP -MF .deps/wimaxll-pl-reset.Tpo -c -o > wimaxll-pl-reset.lo wimaxll-pl-reset.c mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include > -I/home/Darius/Programming/intel_wimax/wimax-i2400m-1.4.1/include > @GLIB_CFLAGS@ -DPLUGINDIR=\"/usr/local/lib/wimax-tools/plugins\" -g -Wall > -O2 -MT wimaxll-pl-reset.lo -MD -MP -MF .deps/wimaxll-pl-reset.Tpo -c > wimaxll-pl-reset.c -fPIC -DPIC -o .libs/wimaxll-pl-reset.o gcc: > @GLIB_CFLAGS@: No such file or directory > make[1]: *** [wimaxll-pl-reset.lo] Error 1
Agrgh, yes, sorry -- all the @GLIB_* stuff has to be wiped off the Makefile.ams too. > > PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes, > > AC_MSG_ERROR(GLib >= 2.16 is required)) > > AC_SUBST(GLIB_CFLAGS) > > AC_SUBST(GLIB_LIBS) > > I changed version to 2.14 in this test and it does compile now. > I guess you don't need the 2.16 version of Glib, do you? > This prohibits compilation on old systems, like mine one :) yeah, I'll make sure I remove it from the tree for the next release. Thanks, Inaky _______________________________________________ wimax mailing list [email protected] http://www.linuxwimax.org/mailman/listinfo/wimax
