I am trying to compile Gimp's new version. I have untarred the program and tried to run make and this is the errors that are returned. checking for GTK+ - version >= 2.2.2... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. checking for pkg-config... (cached) /usr/bin/pkg-config checking for GTK+ - version >= 2.2.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: Test for GTK failed. See the file 'INSTALL' for help. Well looking in the INSTALL file, they suggest Different ways of fixing it. The first one is .... * pkg-config could not find the file 'gtk+-2.0.pc' that gets installed with GTK. (This file is used to get information about where GTK+ is installed.) Fix: Either make sure that this file is in the path where pkg-config looks for it (try 'pkg-config --debug' or add the location of gtk+-2.0.pc to the environment variable PKG_CONFIG_PATH before running configure. I do have the forementioned file "gtk+-2.0.pc" in the system and pkg-config will report the libraries as 2.2.2 so I do not think that is it. Second way is.. The GTK+ libraries were not found at run time. The details of how to fix this problem will depend on the system: Fix: On Linux and other systems using ELF libraries, add the directory to /etc/ld.so.conf or to the environment variable LD_LIBRARY_PATH, and run 'ldconfig'. On other systems, it may be necessary to encode this path into the executable, by setting the LDFLAGS environment variable before running configure. For example: LDFLAGS="-R/home/joe/lib" ./configure or LDFLAGS="-Wl,-rpath -Wl,/home/joe/lib" ./configure Not sure which one applies to SuSE but I tried both and still it bombs out on the make process. Last one is ... An old version of the GTK+ libraries was found instead of your newly installed version. This commonly happens if a binary package of GTK+ was previously installed on your system, and you later compiled GTK+ from source. Fix: remove the old libraries and include files. Well I did not compile my own. I'm using the packages from usr-local-bin. Does anyone have any ideas why this will not work? I have SuSE 8.2. Sorry for the length of this but I was trying to get as much info as I can to help with this issue. Again thanks for any suggestions. -- Marshall "Nothing is impossible, we just do not have all the anwsers to make the impossible, possible."
The 03.08.15 at 11:06, Marshall Heartley wrote:
checking for GTK+ - version >= 2.2.2... no
You need the devel version of the package: ./CD1/suse/i586/gtk2-devel-2.2.1-29.i586.rpm But suse 8.2 has 2.2.1, and it seems to want 2.2.2. Too old, out of luck for you, I'm afraid. -- Carlos
* Carlos E. R. (robin1.listas@tiscali.es) [030815 15:31]:
The 03.08.15 at 11:06, Marshall Heartley wrote:
checking for GTK+ - version >= 2.2.2... no
You need the devel version of the package:
./CD1/suse/i586/gtk2-devel-2.2.1-29.i586.rpm
But suse 8.2 has 2.2.1, and it seems to want 2.2.2. Too old, out of luck for you, I'm afraid.
http://www.usr-local-bin.org/misc.php glib2-2.2.2-SuSE.ulb.1.i586.rpm glib2-doc-2.2.2-SuSE.ulb.1.i586.rpm glib2-devel-2.2.2-SuSE.ulb.1.i586.rpm and gtk2-2.2.2-SuSE.ulb.1.i586.rpm gtk2-doc-2.2.2-SuSE.ulb.1.i586.rpm gtk2-devel-2.2.2-SuSE.ulb.1.i586.rpm Could be a good idea to check out these SuSE 8.2 packages..if your version is 8.2 :) -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
On Fri, 2003-08-15 at 18:41, Ben Rosenberg wrote:
* Carlos E. R. (robin1.listas@tiscali.es) [030815 15:31]:
The 03.08.15 at 11:06, Marshall Heartley wrote:
checking for GTK+ - version >= 2.2.2... no
You need the devel version of the package:
./CD1/suse/i586/gtk2-devel-2.2.1-29.i586.rpm
But suse 8.2 has 2.2.1, and it seems to want 2.2.2. Too old, out of luck for you, I'm afraid.
http://www.usr-local-bin.org/misc.php
glib2-2.2.2-SuSE.ulb.1.i586.rpm glib2-doc-2.2.2-SuSE.ulb.1.i586.rpm glib2-devel-2.2.2-SuSE.ulb.1.i586.rpm
and
gtk2-2.2.2-SuSE.ulb.1.i586.rpm gtk2-doc-2.2.2-SuSE.ulb.1.i586.rpm gtk2-devel-2.2.2-SuSE.ulb.1.i586.rpm
Could be a good idea to check out these SuSE 8.2 packages..if your version is 8.2 :)
Got them installed. Installed those at the same time that I got his Gnome packages that he built. After Ben teased me with a screenshot of a desktop that he was using ;) But still Gimp will fail when trying to do the configure script. The package pkg-config shows that I have version 2.2.2 of GTK+ so I'm at a loss for now. :( -- Marshall "Nothing is impossible, we just do not have all the anwsers to make the impossible, possible."
On Fri, 2003-08-15 at 18:24, Carlos E. R. wrote:
The 03.08.15 at 11:06, Marshall Heartley wrote:
checking for GTK+ - version >= 2.2.2... no
You need the devel version of the package:
./CD1/suse/i586/gtk2-devel-2.2.1-29.i586.rpm
But suse 8.2 has 2.2.1, and it seems to want 2.2.2. Too old, out of luck for you, I'm afraid.
I have version 2.2.2 from usr-local-bin.org installed with the dev package. So I'm not sure why it will not go. Still looking into it though. -- Marshall "Nothing is impossible, we just do not have all the anwsers to make the impossible, possible."
I finally got Gimp to compile! YIPEE! Not sure what happened to allow Gimp to compile but at least it did! Thanks for all of your help! -- Marshall "Nothing is impossible, we just do not have all the anwsers to make the impossible, possible."
participants (3)
-
Ben Rosenberg
-
Carlos E. R.
-
Marshall Heartley