After having successfully configured cups and gimp-print from source on my 7.1 box, I'm now experiencing a problem do so on the 8.1 side. Cups configured and installed without a glitch but the installation of gimp-print is giving me fits. Here is, I believe, the significant data with respect to the failure of the ./configure command I'm issuing: linux:/home/dcjohan/gimp-print/gimp-print-4.2.5 # ./configure --with-cups --without-translated-ppds checking for GIMP - version >= 1.2.0... no *** Could not run GIMP 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 GIMP was incorrectly installed *** or that you have moved GIMP since it was installed. In the latter case, you *** may want to edit the gimptool script: /usr/bin/gimptool configure: error: Cannot find GIMP libraries: Please run ldconfig as root I've installed GIMP and all the associated libraries with YaST2 and "whereis gimp" gives: gimp: /usr/bin/gimp /etc/gimp /usr/lib/gimp /usr/share/gimp /usr/share/man/man1/gimp.1.gz Looking over config.log reveals the following but I have no idea if this is the problem or what to if it is: /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lreadline collect2: ld returned 1 exit status configure: failed program was: #line 8623 "configure" ######### occurs 4 times but with different line numbers obviously /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lz collect2: ld returned 1 exit status configure: failed program was: #line 9941 "configure" ######## occurs 2 times but with different line numbers obviously printf("\n*** 'gimptool --version' returned %d.%d.%d, but the minimum version\n", 1, 2, 3); printf("*** of GIMP required is %d.%d.%d. If gimptool is correct, then it is\n", major, minor, micro); printf("*** best to upgrade to the required version.\n"); printf("*** If gimptool was wrong, set the environment variable GIMPTOOL\n"); printf("*** to point to the correct copy of gimptool, and remove the file\n"); printf("*** config.cache before re-running configure\n"); return 1; I don't understand what I'm supposed to do with the info about ldconfig - I did run as root but nothing changed after having done so. I'm running SuSE8.1, the kernel is 2.4.19-GB, KDE 3.0.4 (if important), gimp-print 4.2.5 (source), and cups 1.1.18 (source), and GIMP 1.2.3. I thought this would be a piece of cake after playing with the 7.1 side of the box, but that install was much simpler. Any suggestions would be appreciated, especially with respect on how to interpret the config.log file and the comment about GIMP supposedly having been moved since the install. tia, dave
On Sun, 09 Mar 2003 11:14:00 -0500
Dave Johanson
Cups configured and installed without a glitch but the installation of gimp-print is giving me fits. Here is, I believe, the significant data with respect to the failure of the ./configure command I'm issuing:
linux:/home/dcjohan/gimp-print/gimp-print-4.2.5 # ./configure --with-cups --without-translated-ppds
checking for GIMP - version >= 1.2.0... no
configure: error: Cannot find GIMP libraries: Please run ldconfig as root
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lreadline cannot find -lz collect2: ld returned 1 exit status
It looks like you need to install the gimp-devel libgimpprint-devel zlib-devel and readline-devel rpms Suse separates the developement libraries and header files from the runtime program files. If you install gimp or gimpprint from a source tarball, it includes everything, but rpms are separated into runtime and devel. -- use Perl; #powerful programmable prestidigitation
zentara wrote:
On Sun, 09 Mar 2003 11:14:00 -0500 Dave Johanson
wrote: Cups configured and installed without a glitch but the installation of gimp-print is giving me fits. Here is, I believe, the significant data with respect to the failure of the ./configure command I'm issuing:
linux:/home/dcjohan/gimp-print/gimp-print-4.2.5 # ./configure --with-cups --without-translated-ppds
checking for GIMP - version >= 1.2.0... no
configure: error: Cannot find GIMP libraries: Please run ldconfig as root
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lreadline cannot find -lz collect2: ld returned 1 exit status
It looks like you need to install the gimp-devel libgimpprint-devel zlib-devel and readline-devel rpms
Suse separates the developement libraries and header files from the runtime program files.
If you install gimp or gimpprint from a source tarball, it includes everything, but rpms are separated into runtime and devel.
Using YaST2 it said that the following were already instaled: gimp gimp-devel gimphelp gimpperl gtk-devel libgimpprint libgimpprint-devel so I checked update for each file and did an"update" from thw SuSE 8.1 DVD. Then I tried to do a ./configure again and received the same errors. ??? dave -- David C. Johanson Linux Counter # 116410 Powered by SuSE Linux 7.1 People who behold a phenomenon will often extend their thinking beyond it; people who merely hear about the phenomenon will not be moved to think at all. -- Goethe
On Sun, 09 Mar 2003 14:45:56 -0500
Dave Johanson
configure: error: Cannot find GIMP libraries: Please run ldconfig as root
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lreadline cannot find -lz collect2: ld returned 1 exit status
It looks like you need to install the gimp-devel libgimpprint-devel zlib-devel and readline-devel rpms
so I checked update for each file and did an"update" from thw SuSE 8.1 DVD. Then I tried to do a ./configure again and received the same errors.
???
Did you run "ldconfig" to be sure? Well all you can do is check why the libraries are not found. Check if the libraries are there, if they really are, why aren't they in the cache? One possibilty is you have a symlink from /usr/local/bin/gcc to /usr/bin/gcc. And it is trying to use /usr/local/bin/gcc but it isn't finding it's libs in /usr/local/lib. I know it can happen, because I did it to myself once. What does "which gcc" say? -- use Perl; #powerful programmable prestidigitation
participants (2)
-
Dave Johanson
-
zentara