Quote:
When I try to ./configure GTK+-2.8.1 I receive this message:
-Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.6.3
-configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
|
I had exactly that problem with GTK+-2.8.0
I set PKG_CONFIG_PATH to /usr/lib/pkgconfig like this:
Code:
$export PKG_CONFIG_PATH=/usr/lib/pkgconfig
I then discovered that for some uknown reason, I have 2 repositories for *.pc files. That is, I have 2 pkgconfig
directories. I have no idea why, but there it is. The atk.pc was in /usr/lib/pkgconfig and the others were in
/usr/local/lib/pkgconfig. I tried copying atk.pc to the same directory as the others, but the error didn't go away,
so I added both paths to PKG_CONFIG_PATH like this:
Code:
$export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
And the problem was solved.
But of course, another cropped up which I haven't solved yet:
Code:
checking for GLIB - version >= 2.7.1...
*** 'pkg-config --modversion glib-2.0' returned 2.8.0, but GLIB (2.4.2)
*** 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.
I can't find any reference to glib-2.4.2 any where. slocate 2.4.2 results in nothing but kernal paths spewing
down the screen (I'm running 2.4.2).
I would appreciate any help with this..
Q. ruber