I am trying to install lcms-1.12-1 as part of an install of imagemagick. I get the following error after a while:
/bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o jpegicc -L/sw/lib jpegicc.o iccjpeg.o getopt.o ../src/liblcms.la -ljpeg -lm
mkdir .libs
gcc -g -O2 -o .libs/jpegicc jpegicc.o iccjpeg.o getopt.o -L/sw/lib ../src/.libs/liblcms.dylib /sw/lib/libjpeg.dylib -lm
gcc: ../src/.libs/liblcms.dylib: No such file or directory
make[1]: *** [jpegicc] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Failed: compiling lcms-1.12-1 failed
I have included the ./configure output.
Any ideas what is going wrong and how I can fix it. Cheers.
Daniel Brewer
./configure --prefix=/sw checking build system type... powerpc-apple-darwin7.3.0 checking host system type... powerpc-apple-darwin7.3.0 checking target system type... powerpc-apple-darwin7.3.0 checking whether build environment is sane... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fl32... no checking for af77... no checking for fort77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for lf95... no checking for g95... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 65536 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... darwin7.3.0 dyld checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... darwin7.3.0 dyld appending configuration tag "F77" to libtool checking whether to enable maintainer-specific portions of Makefiles... no checking whether byte ordering is bigendian... yes checking for int... yes checking size of int... 4 checking for unsigned int... yes checking size of unsigned int... 4 checking for long... yes checking size of long... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking for long long... yes checking size of long long... 8 checking for unsigned long long... yes checking size of unsigned long long... 8 checking for signed 8-bit type... char checking for unsigned 8-bit type... unsigned char checking for signed 16-bit type... short checking for unsigned 16-bit type... unsigned short checking for signed 32-bit type... int checking for unsigned 32-bit type... unsigned int checking for signed 64-bit type... long long checking for unsigned 64-bit type... unsigned long long checking for sqrt in -lm... yes checking for JPEG support ... checking jconfig.h usability... yes checking jconfig.h presence... yes checking for jconfig.h... yes checking jerror.h usability... yes checking jerror.h presence... yes checking for jerror.h... yes checking jmorecfg.h usability... yes checking jmorecfg.h presence... yes checking for jmorecfg.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_read_header in -ljpeg... yes checking for JPEG library is version 6b or later... yes yes checking if JPEG package is complete... yes checking for ZLIB support ... checking zconf.h usability... yes checking zconf.h presence... yes checking for zconf.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress in -lz... yes checking for uncompress in -lz... yes checking for deflate in -lz... yes checking for inflate in -lz... yes checking for gzseek in -lz... yes checking for gztell in -lz... yes checking if ZLIB package is complete... yes checking for TIFF support ... checking tiff.h usability... yes checking tiff.h presence... yes checking for tiff.h... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for TIFFOpen in -ltiff... yes checking for TIFFClientOpen in -ltiff... yes checking for TIFFIsByteSwapped in -ltiff... yes checking if TIFF package is complete... yes checking tiffconf.h usability... yes checking tiffconf.h presence... yes checking for tiffconf.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating include/icc34.h config.status: creating include/Makefile config.status: creating jpegicc/Makefile config.status: creating python/Makefile config.status: creating samples/Makefile config.status: creating testbed/Makefile config.status: creating tifficc/Makefile config.status: creating src/Makefile config.status: executing depfiles commands
