On Sun, 2007-10-07 at 10:05 +0600, asm asadujjaman wrote: > I am trying to actually compile glade3-3.4 so I need to compile loads > of other things including glib and gtk+. I have compiled and installed > glib-2.14.0 and then trying to configure gtk+. > But it says- > [CODE] > checking pkg-config is at least version 0.7... yes > checking for GLIB - version >= 2.13.5... > *** 'pkg-config --modversion glib-2.0' returned 2.14.0, but GLIB (2.12.11) > *** was found! If pkg-config was correct, then it is best > *** to remove the old version of GLib. You may also be able to fix the error > *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing > *** /etc/ld.so.conf. Make sure you have run ldconfig if that is > *** required on your system. > *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH > *** to point to the correct configuration files > no > configure: error: > *** GLIB 2.13.5 or better is required. The latest version of > [/CODE] > Then I tried to check it by hand- > [CODE] > [EMAIL PROTECTED] src]# FLAGS=`pkg-config glib-2.0 --cflags --libs` > [EMAIL PROTECTED] src]# echo $FLAGS > -I/gtkmm/include/glib-2.0 -I/gtkmm/lib/glib-2.0/include -L/gtkmm/lib > -lglib-2.0 > [EMAIL PROTECTED] src]# cc -o glib-version glib-version.c $FLAGS > [EMAIL PROTECTED] src]# ./glib-version > 2 12 11 > [EMAIL PROTECTED] src]# pkg-config --modversion glib-2.0 > 2.14.0 > [/CODE] > I have also downloaded glib-2.14.1 but no gain. Seems those sources > are actually 2.12.11 or my wrong! Can any one help? I am feeling > desperate.. > *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.
Looks like you already have glib shared libraries installed. So you actually compile against 2.14, but (dynamically) link against 2.12. You should probably remove the installed version. A better way, however, is to use packages provided by your distribution. If they don't provide packages for glade-3.4, perhaps you can get (development versions) of its dependencies, though. Armin _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list