Error while compiling gutenprint

Helge Blischke h.blischke at acm.org
Wed May 23 12:43:46 PDT 2012


Kemal Gencay wrote:

>> Kemal Gencay wrote:
>>
>> > Building dependency tree
>> > Reading state information... Done
>> > E: Unable to locate package libcupsimage-dev
>> >
>> >
>> >
>> >
>> >
>> > libcupsimage-dev
>> >>
>> >> On May 23, 2012, at 9:45 AM, Kemal Gencay wrote:
>> >>
>> >> >> Kemal Gencay wrote:
>> >> >>
>> >> >>>> Kemal Gencay wrote:
>> >> >>>>
>> >> >>>>> Dear developers,
>> >> >>>>>
>> >> >>>>> While compiling gutenprint, I get the following error msg,
>> >> >>>>>
>> >> >>>>> Will be grateful if you kindly help
>> >> >>>>>
>> >> >>>>> TIA
>> >> >>>>>
>> >> >>>>> Kemal
>> >> >>>>>
>> >> >>>>>
>> >> >>>>> genppd.c:79:23: fatal error: cups/cups.h: No such file or
>> >> >>>>> directory compilation terminated.
>> >> >>>>> make[3]: *** [cups_genppd_5_2-genppd.o] Error 1
>> >> >>>>> make[3]: Leaving directory
>> >> >>>>> `/home/kemal/Downloads/gutenprint/print/src/cups' make[2]: ***
>> >> >>>>> [all-recursive] Error 1 make[2]: Leaving directory
>> >> >>>>> `/home/kemal/Downloads/gutenprint/print/src' make[1]: ***
>> >> >>>>> [all-recursive] Error 1 make[1]: Leaving directory
>> >> >>>>> `/home/kemal/Downloads/gutenprint/print' make: *** [all] Error 2
>> >> >>>>
>> >> >>>> I guess you use some Linux distribution. You need to install the
>> >> >>>> CUPS developer package (the name depends on the distribution).
>> >> >>>>
>> >> >>>> Helge
>> >> >>>>
>> >> >>> I'm using Ubuntu 12.04, when I search Ubuntu Software Center for
>> >> >>> "cups developer package" it says its already installed ! ! !
>> >> >>
>> >> >> I suppose the packet needed is libcups2-dev
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > This time it says:
>> >> >
>> >> >
>> >> > pd.c' || echo './'`genppd.c
>> >> > genppd.c:80:25: fatal error: cups/raster.h: No such file or
>> >> > directory compilation terminated.
>> >> >
>> >> >
>> >> > Maybe some more packet is needed ???
>> >> > _______________________________________________
>> >> > 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
>> >>
>>
>> Try
>>
>> libcupsimage2-dev
>>
>> Helge
>>
>>
> It worked alot and finally gave the msg (last few lines) :
> 
> 
> make[3]: Entering directory
> `/home/kemal/Downloads/gutenprint/print/src/testpattern' /bin/bash
> ../../scripts/ylwrap testpatterny.y y.tab.c testpatterny.c y.tab.h
> testpatterny.h y.output testpatterny.output -- yacc -d
> ./../scripts/ylwrap: line 113: yacc: command not found make[3]: ***
> [testpatterny.c] Error 1 make[3]: Leaving directory
> `/home/kemal/Downloads/gutenprint/print/src/testpattern' make[2]: ***
> [all-recursive] Error 1 make[2]: Leaving directory
> `/home/kemal/Downloads/gutenprint/print/src' make[1]: *** [all-recursive]
> Error 1 make[1]: Leaving directory
> `/home/kemal/Downloads/gutenprint/print' make: *** [all] Error 2
> 
> 
> Does this mean the compilation is unsuccesful ??

Try to install bison or btyacc

Helge





More information about the cups mailing list