[cups.general] Re: CUPS & Ghostscript

Till Kamppeter till.kamppeter at gmx.net
Mon Jun 14 07:47:57 PDT 2004


Are the headers of the CUPS library installed on your system? Are old 
versions of CUPS (from your distro) completely removed?

    Till


v.sudeep at exgate.tek.com wrote:
> Hi !!
> 
> I was trying to compile CUPS (cups 1.1.20) as a driver in GNU
> Ghostscript(7.07) as per the instructions in the README.pstoraster of CUPS.
> I seem to be running into some problems. 
> 
> Here is a clipping from the build output:
> 
> 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= \
> /bin/sh <./obj/ldt.tr
> ./obj/gdevcups.o(.text+0x39): In function `cups_close':
> : undefined reference to `cupsRasterClose'
> ./obj/gdevcups.o(.text+0x235d): In function `cups_open':
> : undefined reference to `ppdOpenFile'
> ./obj/gdevcups.o(.text+0x24d3): In function `cups_print_pages':
> : undefined reference to `cupsRasterWriteHeader'
> ./obj/gdevcups.o(.text+0x25af): In function `cups_print_pages':
> : undefined reference to `cupsRasterOpen'
> ./obj/gdevcups.o(.text+0x434c): In function `cups_print_chunked':
> : undefined reference to `cupsRasterWritePixels'
> ./obj/gdevcups.o(.text+0x4753): In function `cups_print_banded':
> : undefined reference to `cupsRasterWritePixels'
> ./obj/gdevcups.o(.text+0x52ca): In function `cups_print_planar':
> : undefined reference to `cupsRasterWritePixels'
> collect2: ld returned 1 exit status
> make: *** [bin/gs] Error 1
> 
> 
> Any suggestions as to how to get this working ?
> 
> Thanks in advance !!!
> 
> - S u d e e p    V
> Unless you jump from the frying pan to the fire, all you get is a raw deal. 
> 
> 
> -----Original Message-----
> From: Till Kamppeter [mailto:till.kamppeter at gmx.net]
> Sent: Thursday, June 10, 2004 8:37 PM
> To: Sudeep, V
> Cc: cups at easysw.com
> Subject: Re: CUPS & Ghostscript
> 
> 
> Follow the steps on
> 
> http://www.linuxprinting.org/cups-doc.html
> 
> This way you can make use of all built-in drivers of GhostScript and 
> also of all other known free printer drivers.
> 
>     Till
> 
> 
> v.sudeep at exgate.tek.com wrote:
> 
>>Hi !!
>>
>>I recently downloaded the source code for CUPS 1.1.20 and GNU Ghostscript
>>7.07b and built them individually on my system. 
>>
>>Can you please tell me / direct me to a link as to how I can integrate the
>>two such that -
>>1. A simple "lp tiger.ps" is able to print the postscript file, unlike the
>>complicated gs commands.
>>2. If I dont need postscript printing, how do I make use of ghostscript's
>>printer drivers so that I can print text & image files to say Lexmark &
>>Epson printers.
>>
>>Thank you in advance.
>>
>>- S u d e e p    V
>>Unless you jump from the frying pan to the fire, all you get is a raw
> 
> deal. 
> 
>>
> 
> 





More information about the cups mailing list