compiling glib PKG_CONFIG_PATH environment error
Hi, all.
In my CentOS5.4 I need to install gtk+-2.12.2, it demands glib-2.22.3, and system has only glib-2.13.5
I download and install glib-2.22.3 with command ./configure --prefix=/opt/glib-2.22.3 && make && make install
Downloaded gtk+-2.12.2 and compiling like ./configure --prefix=/opt/gtk+-2.12.2 --with-glib=/opt/glib-2.22.3
gives error:
Requested 'glib-2.0 >= 2.13.5' but version of GLib is 2.12.3
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
I made $ export PKG_CONFIG_PATH=/opt/glib-2.22.3/bin:$PKG_CONFIG_PATH
And please specify if here I have to write /opt/glib-2.22.3/bin or /opt/glib-2.22.3?
and echo $PKG_CONFIG_PATH - I see my lib in $PKG_CONFIG_PATH
But still the same error. What is the problem and how to fix it ?
|