Compiling Raster Driver - missing lcupsimage

James Mackay james.mackay at innoviafilms.com
Thu Apr 29 12:18:16 PDT 2010


A correction to this last post, it was the Makefile in the "drivers" folder that needed altered to include rastertodpl and not the main one in the root cups folder.

> Hi Michael,
>
> Running this on Ubuntu, but managed to get this sorted by adding the rastertodpl.c file in alongside the other drivers in the CUPS source and adjusting the main MAKEFILE to compile it at the same time as CUPS itself is built, is working fine now.
>
> Thanks
>
> James
>
> > What OS?
> >
> > What version of CUPS?
> >
> > My guess is that you are missing one of the CUPS developer packages on =
> > your Linux distribution...
> >
> > On Apr 29, 2010, at 3:13 AM, James Mackay wrote:
> >
> > > Hi,
> > >=20
> > > I'm trying to get a Custom Raster Printer Driver compiled and =
> > installed and hitting a problem around the lcupsimage library.
> > >=20
> > > jmackay at ubuntu-pc:/tmp/rastertodpl-0.0.3$ make install
> > > Making install in m4
> > > make[1]: Entering directory `/tmp/rastertodpl-0.0.3/m4'
> > > make[2]: Entering directory `/tmp/rastertodpl-0.0.3/m4'
> > > make[2]: Nothing to be done for `install-exec-am'.
> > > test -z "/usr/local/share/aclocal" || mkdir -p -- =
> > "/usr/local/share/aclocal"
> > > make[2]: Leaving directory `/tmp/rastertodpl-0.0.3/m4'
> > > make[1]: Leaving directory `/tmp/rastertodpl-0.0.3/m4'
> > > Making install in src
> > > make[1]: Entering directory `/tmp/rastertodpl-0.0.3/src'
> > > Making install in .
> > > make[2]: Entering directory `/tmp/rastertodpl-0.0.3/src'
> > > gcc  -g -O2   -o rastertodpl  rastertodpl.o -lcupsimage -lcups
> > > /usr/bin/ld: cannot find -lcupsimage
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [rastertodpl] Error 1
> > > make[2]: Leaving directory `/tmp/rastertodpl-0.0.3/src'
> > > make[1]: *** [install-recursive] Error 1
> > > make[1]: Leaving directory `/tmp/rastertodpl-0.0.3/src'
> > > make: *** [install-recursive] Error 1
> > >=20
> > > This is based on the rastertolabel filter in CUPS. I am sure that this =
> > will be a very simple problem to fix as I'm pretty sure it will just be =
> > something like I've forgotten a library path.
> > >=20
> > > If you require any further information please let me know, any help =
> > would be appreciated.
> > >=20
> > > Thanks
> > >=20
> > > James
> > >=20
> > >=20
> > > _______________________________________________
> > > cups-dev mailing list
> > > cups-dev at easysw.com
> > > http://lists.easysw.com/mailman/listinfo/cups-dev
> >
> > ________________________________________________________________________
> > Michael Sweet, Senior Printing System Engineer, PWG Chair
> >
> >
> >
> >
>





More information about the cups mailing list