[scribus] How to build Scribus without CUPS?
Giovanni Mugnai
musical777 at gmail.com
Thu Feb 21 17:51:15 UTC 2013
2013/2/21, Giovanni Mugnai <musical777 at gmail.com>:
> 2013/2/21, Gregory Pittman <gpittman at iglou.com>:
>> I would suggest first, to save a backup of the CMakeLists.txt, but then
>> just delete this section you show completely, and see if it builds Ok.
>>
>> Greg
>
>Configuring still check for CUPS
If I remove references to CUPS_LIBRARIES and to CUPS_INCLUDE_DIR, the
configuring process ends fine, but after make, about at 93% i got
these errors, certainly related to printing, so to cups:
Building CXX object scribus/CMakeFiles/scribus.dir/util_printer.cpp.o
/boot/develop/scribus-1.4.2/scribus/util_printer.cpp: In static member
function 'static QStringList PrinterUtil::getPrinterNames()':
/boot/develop/scribus-1.4.2/scribus/util_printer.cpp:61:44: error: no
matching function for call to 'QDataStream::QDataStream(QString*,
QIODevice::OpenModeFlag)'
/boot/develop/scribus-1.4.2/scribus/util_printer.cpp:61:44: note:
candidates are:
/boot/common/include/QtCore/qdatastream.h:189:5: note:
QDataStream::QDataStream(const QDataStream&)
/boot/common/include/QtCore/qdatastream.h:189:5: note: candidate
expects 1 argument, 2 provided
/boot/common/include/QtCore/qdatastream.h:119:5: note:
QDataStream::QDataStream(const QByteArray&)
/boot/common/include/QtCore/qdatastream.h:119:5: note: candidate
expects 1 argument, 2 provided
/boot/common/include/QtCore/qdatastream.h:118:5: note:
QDataStream::QDataStream(QByteArray*, QIODevice::OpenMode)
/boot/common/include/QtCore/qdatastream.h:118:5: note: no known
conversion for argument 1 from 'QString*' to 'QByteArray*'
/boot/common/include/QtCore/qdatastream.h:114:14: note:
QDataStream::QDataStream(QIODevice*)
/boot/common/include/QtCore/qdatastream.h:114:14: note: candidate
expects 1 argument, 2 provided
/boot/common/include/QtCore/qdatastream.h:113:5: note:
QDataStream::QDataStream()
/boot/common/include/QtCore/qdatastream.h:113:5: note: candidate
expects 0 arguments, 2 provided
make[2]: *** [scribus/CMakeFiles/scribus.dir/util_printer.cpp.o] Error 1
make[1]: *** [scribus/CMakeFiles/scribus.dir/all] Error 2
make: *** [all] Error 2
/boot/develop/scribus-1.4.2/build> object
scribus/CMakeFiles/scribus.dir/ui/moc_pdftoolbar.cxx.o
bash: object: command not found
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/moc_undogui.cxx.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/moc_undomanager.cxx.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/moc_unicodesearch.cxx.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/moc_upgradechecker.cxx.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/moc_urllauncher.cxx.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/moc_useprintermarginsdialog.cxx.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/moc_vruler.cxx.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build> [ 41%] Building CXX object
scribus/CMakeFiles/scribus.dir/util_printer.cpp.o
bash: [: missing `]'
/boot/develop/scribus-1.4.2/build>
/boot/develop/scribus-1.4.2/scribus/util_printer.cpp: In static member
function 'static QStringList PrinterUtil::getPrinterNames()':
/boot/develop/scribus-1.4.2/build>
There is a way to get completely rid dependency of CUPS?
I should define HAIKU somewhere in the code?
--
Giovanni.
More information about the scribus
mailing list