I am trying to compile the latest development release of Gimp, v2.3.7 under FC4. In order to do so, I also had to compile a number of dependencies, notably the latest gtk2+ source, v2.8.12. But I keep getting this error message from ./configure:
checking for GTK+ - version >= 2.8.8... no
*** Could not run GTK+ test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK+ or finding the wrong
*** version of GTK+. If it is not finding GTK+, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
Initially, I installed gtk2 2.8.12 in /usr/local, as is my preference for newer, non-packaged versions, and when that didn't work, removed the latest official package, 2.6.10, with sudo rpm -e --nodeps gtk2
, and installed it in the default location, but that still didn't solve the problem.
Yes, I added /usr/local to /etc/ld.so.conf.
Yes, I run sudo ldconfig after installing the libraries.
What perplexes me is that I was
able to install gtk2 2.8.12 in /usr/local and compile gimp 2.3.7 without any problem under Ubuntu (Breezy), without
having to uninstall the older versions of gtk2 and gimp, so in theory it is possible.
Suggestions on how to get Gimp 2.3.7 running here most welcome.