I just downloaded the gimp-print-4.0.2 and have been trying to
configure it to compile on my machine PII/350, RH v6.1 kernel
2.2.16 128MB RAM). When I run ./configure it dies with the
following less-than-helpful message:
[clip...]
checking for yacc... /usr/bin/yacc
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for gimptool... /usr/bin/gimptool
checking for GIMP - version >= 1.0.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 libs: Please run ldconfig as
root
For some reason, the script thinks I have a version of gimp older
than v1.00, but I don't:
1.0.4
gimp-libgimp-1.0.4-5
gimp-devel-1.0.4-5
gimp-1.0.4-5
gimp-manual-1.0.0-6
gimp-data-extras-1.0.0-4
As far as I can tell, I have the required packages installed,
gimp is at v1.04 (newer than 1.0.0 I think...) yet the configure
script doesn't recognize this.
The config.log file shows this:
[clip...]
configure:1751: gcc -o conftest -O2 -I/usr/X11R6/include
-I/usr/lib/glib/include conftest.c -L/usr/lib -lgimpui -lgimp
-
L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-lXext -lX11 -lm 1>&5
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:30,
from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
from /usr/lib/glib/include/glibconfig.h:13,
from /usr/include/glib.h:66,
from /usr/include/libgimp/gimp.h:23,
from configure:1693:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
directory
configure: failed program was:
#line 1688 "configure"
[clip...]
Which made me go check to see if limits.h was missing, yet it
appears to exist in abundance:
/home/httpd/html/manual/vhosts/fd-limits.html
/usr/include/limits.h
/usr/include/kpathsea/c-limits.h
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h
/usr/lib/bcc/include/asm/limits.h
/usr/lib/bcc/include/limits.h
/usr/lib/perl5/site_perl/5.005/i386-linux/Tk/pTk/compat/limits.h
/usr/i386-glibc20-linux/include/limits.h
/usr/i386-glibc20-linux/include/linux/limits.h
Gimp runs fine; I doubt it is incorrectly installed. I haven't
moved gimp since installing it. I've run ldconfig as root with
no joy.
What am I missing here?
--