Le jeudi 21 octobre 2004 Ã 20:18 +0000, Stefano Zanobi a Ãcrit : > Hello, I need help for compiling gtk+-2.4.0, which I need, in turn, tu build > Ardour program. > I'll try to explain shortly: > my PC is a pentium IV, and I've installed Linux Mandrake 10.0 system. > Then I've downloaded gtk+-2.4.0.tar.bz2 package. > I explode it in a tmp directory, enter it and enter, as superuser: > > ./configure > > which exits with: > > [...] > checking for glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0... > Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 > configure: error: Library requirements (glib-2.0 >= 2.4.0 atk >= 1.0.1 > pango >= 1.4.0) not met; > [...] > > So I've downloaded glib-2.4.7.tar.bz2 package, exploded it in a tmp dir, > superuser, and type: > > ./configure > make > make install > > which exits with no errors. The only warning is: > > libtool: install: warning: relinking `libgobject-2.0.la' > libtool: install: warning: relinking `libgmodule-2.0.la' > libtool: install: warning: relinking `libgthread-2.0.la' > > So, it seems as glib-2.4.7 installation is ok, but when I get back to gtk+ > tmp dir and try to: > > ./configure > > gtk configure script still exits with the same error: > Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 > > Please, can anyone tell me what do I do wrong?
pkg-config does not search in the right directory. You can try: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib ./configure This should work. You can alse search in the archives of this list, this question has been addressed several times. _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list