Subject: gimp and missing libcdisplay_proof
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 05/26/2004 10:15:17
Under Linux with gimp 2.0 and under NetBSD with newer gimp-2.0.1, my gimp
build never built nor installed
lib/gimp/2.0/modules/libcdisplay_proof.{a,la,so} files.

===> Registering installation for gimp-2.0.1nb1
pkg_create: can't stat `/usr/pkg/lib/gimp/2.0/modules/libcdisplay_proof.a'
pkg_create: can't stat
`/usr/pkg/lib/gimp/2.0/modules/libcdisplay_proof.la'
pkg_create: can't stat
`/usr/pkg/lib/gimp/2.0/modules/libcdisplay_proof.so'


This happened to me today with NetBSD. I had some old notes from when it
last failed with Linux:

configure:32070: WARNING: *** color proof module will not be built (lcms
not found or unuseable) **

And I think this was from:

configure:31708: checking for cmsCreate_sRGBProfile in -llcms
configure:31738: gcc -o conftest -g -s -I/usr/include
-I/usr/include/python2p3 -I/usr/include/freetype2 -Wall -I/usr/include
-I/usr/include/python2p3 -I/usr/include/freetype2
-L/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3
-Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -L/usr/gcc3/lib
-Wl,-R/usr/gcc3/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/lib/python2p3/config
-Wl,-R/usr/lib/python2p3/config -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib
conftest.c -llcms >&5 /tmp/ccuTyV9U.o(.text+0x11): In function `main':
/scratch/pkgsrc/graphics/gimp/work.puget/gimp-2.0.0/conftest.c:73:
undefined reference to `cmsCreate_sRGBProfile'
collect2: ld returned 1 exit status

I have lcms-1.06 on the NetBSD box and lcms-1.12nb1 on the Linux box.

 Jeremy C. Reed

 	  	 	 technical support & remote administration
	  	 	 http://www.pugetsoundtechnology.com/