[Scribus] lcms not configured correctly

Kyle Davenport kdaven
Wed Jul 16 20:57:00 CEST 2003


	On an unmodified RH8.0 system, my configure of scribus-1.0.tar.gz with 
these rpm's from sourceforge:

lcms-1.10-0.8.0.athlon.rpm
lcms-devel-1.10-0.8.0.athlon.rpm

gives me this error in config.log (and conclude lcms is not installed):

configure:3183: checking for _cmsChannelsOf in -llcms
configure:3214: gcc -o conftest -g -O2   conftest.c -llcms  -lnsl  >&5
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../liblcms.a(cmsgmt.o): In 
function `cmsBFDdeltaE':
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:166: undefined reference to `log'
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:166: undefined reference to `log'
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:250: undefined reference to `cos'
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:250: undefined reference to `cos'
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:250: undefined reference to `cos'
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:250: undefined reference to `cos'
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:250: undefined reference to `cos'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../liblcms.a(cmsgmt.o):/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:257: 
more undefined references to `cos' follow
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../liblcms.a(cmsgmt.o): In 
function `cmsBFDdeltaE':
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:156: undefined reference to `pow'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../liblcms.a(cmsgmt.o): In 
function `cmsCMCdeltaE':
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:293: undefined reference to `cos'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../liblcms.a(cmsgmt.o): In 
function `cmsCMCdeltaE':
/usr/include/bits/mathinline.h:445: undefined reference to `cos'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../liblcms.a(cmsgmt.o): In 
function `cmsCMCdeltaE':
/home/peter/rpm/tmp/lcms-1.10/src/cmsgmt.c:156: undefined reference to `pow'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../liblcms.a(cmsgmt.o): In 
function `cmsCIE2000DeltaE':
(and so on about missing sin cos exp, etc)

just for grins:
nm /usr/lib/liblcms.so.1.0.10  | grep cmsChannelsOf

gives:
0000ac34 T _cmsChannelsOf

I would suggest throwing in a test for libm requireed and then using 
"-lm" in LIBS.

Kyle




More information about the scribus mailing list