Compiling Ghostscript 8.71 - lcupsimage

James Mackay james.mackay at innoviafilms.com
Mon May 17 04:40:20 PDT 2010


Hi,

I'm trying to compile Ghostscript 8.71 on Ubuntu 9.10 and hitting an error regarding lcupsimage:

gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64  -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long"   -I./obj -I./base  -o ./obj/gsromfs1.o -c ./obj/gsromfs1.c
./obj/echogs -w ./obj/ldt.tr -n - gcc  -o ./bin/gs
./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gsromfs1.o ./obj/gs.o -s
cat ./obj/ld.tr >>./obj/ldt.tr
./obj/echogs -a ./obj/ldt.tr -s - -ldl -lm  -lstdc++   -lpthread -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
	XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
	FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
	DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
	DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
	DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
	DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
	DEVICE_DEVS_EXTRA= \
	/bin/sh <./obj/ldt.tr
/usr/bin/ld: cannot find -lcupsimage
collect2: ld returned 1 exit status
make: *** [bin/gs] Error 1

Does anybody have any ideas as to how I can link it to lcupsimage? I presume it is something simple like a path setting as this is included in the install of CUPS 1.4.3 which has successfully compiled and installed.

Regards

James




More information about the cups mailing list