Error while compiling gutenprint

Helge Blischke h.blischke at acm.org
Wed May 23 13:18:07 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 ??
>>
>>
> This time another msg:
> 
> 
> rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics -o zh_TW.gmo zh_TW.po
> 465 translated messages, 1141 fuzzy translations, 1133 untranslated
> messages. make[3]: Leaving directory
> `/home/kemal/Downloads/gutenprint/print/po' touch stamp-po
> make[2]: Leaving directory `/home/kemal/Downloads/gutenprint/print/po'
> Making all in man
> make[2]: Entering directory `/home/kemal/Downloads/gutenprint/print/man'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/kemal/Downloads/gutenprint/print/man'
> Making all in doc
> make[2]: Entering directory `/home/kemal/Downloads/gutenprint/print/doc'
> Making all in developer
> make[3]: Entering directory
> `/home/kemal/Downloads/gutenprint/print/doc/developer' No db2html: cannot
> build documentation! make[3]: *** [html-stamp] Error 1
> make[3]: Leaving directory
> `/home/kemal/Downloads/gutenprint/print/doc/developer' make[2]: ***
> [all-recursive] Error 1 make[2]: Leaving directory
> `/home/kemal/Downloads/gutenprint/print/doc' make[1]: *** [all-recursive]
> Error 1 make[1]: Leaving directory
> `/home/kemal/Downloads/gutenprint/print' make: *** [all] Error 2

db2html is contained in the package

gnome-doc-utils

What the hell of a system do you work on?

Helge





More information about the cups mailing list