A simple way to do that is, just edit the file in
/usr/lib/pkgconfig/glib-2.0.pc
and change the version to as it needs.
I also faced the similar problem once and it has been recovered after editing that file

Hi , I have already installed glib2.0 in my system . now I am trying to install atk-1.0.3 , which needs glib to be present , but when it(atk-1.0.3)checks for glib during ./configure , it says configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. I also tried installing glib-2.0.7 and then ran the ./configure to install atk-1.0.3 it throws the following error while running ./configure checking for GLIB - version >= 2.0.0... *** 'pkg-config --modversion glib-2.0' returned 2.0.7, but GLIB (2.0.1) *** 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 configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. I also tried setting LD_LIBRARY_PATH and PKG_CONFIG_PATH to glib-2.0.pc how should I set the LIBRARY_PATH or PKG_CONFIG_PATH so that atk-1.0.3 recognises glib-2.0.7 any input or suggestion is highly appreciated Thanks Vidhya. _______________________________________________ gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
-- Viveka Nathan K <vivek@lantana.tenet.res.in> TeNeT Group |