pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45685: scribus fails to build
>Number: 45685
>Category: pkg
>Synopsis: scribus fails to build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 05 17:15:00 +0000 2011
>Originator: Greg Oster
>Release: NetBSD 5.1
>Organization:
>Environment:
System: NetBSD mickey 5.1 NetBSD 5.1 (MICKEY) #0: Sun Nov 7 08:21:58 CST 2010
oster@quad:/u1/builds/build184/src/obj/amd64/u1/builds/build184/src/sys/arch/amd64/compile/MICKEY
amd64
Architecture: x86_64
Machine: amd64
>Description:
Scribus fails to build. Build failure is cups-related.
[ 62%] Building CXX object scribus/CMakeFiles/scribus.dir/cupsoptions.o
[ 62%] Building CXX object scribus/CMakeFiles/scribus.dir/customfdialog.o
[ 62%] Building CXX object scribus/CMakeFiles/scribus.dir/dcolor.o
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/dynamictip.h:34:
warning: 'class DynamicTip' has virtual functions but non-virtual destructor
[ 62%]
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:
In constructor 'CupsOptions::CupsOptions(QWidget*, QString)':
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:63:
error: 'ppd_file_t' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:63:
error: 'ppd' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:64:
error: 'ppd_group_t' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:64:
error: 'group' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:68:
error: 'ppdOpenFile' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:70:
error: 'ppdMarkDefaults' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:71:
error: 'cupsMarkOptions' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:79:
error: 'ppd_option_t' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:79:
error: 'option' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:80:
error: 'ppd_choice_t' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:80:
error: 'choice' was not declared in this scope
/usr/pkgsrc/print/scribus/work.mickey/scribus-1.3.3.14/scribus/cupsoptions.cpp:114:
error: 'ppdClose' was not declared in this scope
gmake[2]: *** [scribus/CMakeFiles/scribus.dir/cupsoptions.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Building CXX object scribus/CMakeFiles/scribus.dir/deferredtask.o
gmake[1]: *** [scribus/CMakeFiles/scribus.dir/all] Error 2
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/print/scribus
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/scribus
>How-To-Repeat:
cd /usr/pkgsrc/print/scribus
make install
>Fix:
cd work*/scribus*
vi scribus/cupsoptions.cpp scribus/printerutil.cpp scribus/druck.cpp
scribus/plugins/scriptplugin/objprinter.cpp
Then add:
#include <cups/ppd.h>
right after
#include <cups/cups.h>
in each of the files.
Thanks to dholland@ for the fix.
Home |
Main Index |
Thread Index |
Old Index