← Back to team overview

qpdfview team mailing list archive

How to compile qpdfview on debian

 

Hi all,

I am trying to compile the last qpdfview on debian testing/sid.
It looks like I am missing some (cups ?) libraries.

Can someone help me?
Thanks in advance,

[as:qpdfview]$ LANG=en make
make -f Makefile.qpdfview-pdf-plugin 
make[1]: Entering directory `/home/as/tmp/qpdfview'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/as/tmp/qpdfview'
make -f Makefile.qpdfview-ps-plugin 
make[1]: Entering directory `/home/as/tmp/qpdfview'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/as/tmp/qpdfview'
make -f Makefile.qpdfview-djvu-plugin 
make[1]: Entering directory `/home/as/tmp/qpdfview'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/as/tmp/qpdfview'
make -f Makefile.qpdfview-application 
make[1]: Entering directory `/home/as/tmp/qpdfview'
g++ -m64 -Wl,-O1 -o qpdfview objects/settings.o objects/pluginhandler.o
objects/shortcuthandler.o objects/rendertask.o objects/pageitem.o
objects/presentationview.o objects/searchtask.o objects/miscellaneous.o
objects/documentview.o objects/printdialog.o objects/settingsdialog.o
objects/recentlyusedmenu.o objects/bookmarkmenu.o objects/mainwindow.o
objects/main.o objects/synctex_parser.o objects/synctex_parser_utils.o
objects/signalhandler.o objects/moc_settings.o objects/moc_model.o
objects/moc_shortcuthandler.o objects/moc_rendertask.o
objects/moc_pageitem.o objects/moc_presentationview.o
objects/moc_searchtask.o objects/moc_miscellaneous.o
objects/moc_documentview.o objects/moc_printdialog.o
objects/moc_settingsdialog.o objects/moc_recentlyusedmenu.o
objects/moc_bookmarkmenu.o objects/moc_mainwindow.o
objects/moc_signalhandler.o objects/qrc_qpdfview.o
-L/usr/lib/x86_64-linux-gnu -lz -lmagic -lQtDBus -lQtSvg -lQtSql
-lQtGui -lQtCore -lpthread objects/documentview.o: In function
`DocumentView::printUsingCUPS(QPrinter*, PrintOptions const&, int,
int)': documentview.cpp:(.text+0x69e6): undefined reference to
`cupsGetDests' documentview.cpp:(.text+0x6a31): undefined reference to
`cupsGetDest' documentview.cpp:(.text+0x6aa8): undefined reference to
`cupsAddOption' documentview.cpp:(.text+0x6b0b): undefined reference to
`cupsAddOption' documentview.cpp:(.text+0x6b69): undefined reference to
`cupsAddOption' documentview.cpp:(.text+0x6b94): undefined reference to
`cupsAddOption' documentview.cpp:(.text+0x6bb7): undefined reference to
`cupsAddOption' objects/documentview.o:documentview.cpp:(.text+0x6bdd):
more undefined references to `cupsAddOption' follow
objects/documentview.o: In function
`DocumentView::printUsingCUPS(QPrinter*, PrintOptions const&, int,
int)': documentview.cpp:(.text+0x6ed3): undefined reference to
`cupsFreeDests' documentview.cpp:(.text+0x6ee2): undefined reference to
`cupsFreeOptions' documentview.cpp:(.text+0x6fa8): undefined reference
to `cupsPrintFile' documentview.cpp:(.text+0x702d): undefined reference
to `cupsLastErrorString' documentview.cpp:(.text+0x7148): undefined
reference to `cupsAddOption' documentview.cpp:(.text+0x7190): undefined
reference to `cupsAddOption' documentview.cpp:(.text+0x71b9): undefined
reference to `cupsAddOption' documentview.cpp:(.text+0x7208): undefined
reference to `cupsAddOption' documentview.cpp:(.text+0x7228): undefined
reference to `cupsAddOption'
objects/documentview.o:documentview.cpp:(.text+0x72a0): more undefined
references to `cupsAddOption' follow objects/documentview.o: In
function `DocumentView::printUsingCUPS(QPrinter*, PrintOptions const&,
int, int)': documentview.cpp:(.text+0x7402): undefined reference to
`cupsLastErrorString' collect2: error: ld returned 1 exit status
make[1]: *** [qpdfview] Error 1 make[1]: Leaving directory
`/home/as/tmp/qpdfview' make: ***
[sub-qpdfview-application-pro-make_default-ordered] Error 2




[as:~]$ dpkg -l | grep cups
ii  cups
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - server ii  cups-browsed
1.0.34-3+b1                        amd64        OpenPrinting CUPS
Filters - cups-browsed ii  cups-bsd
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - BSD commands ii  cups-client
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - client programs (SysV) ii
cups-common
1.6.3-1                            all          Common UNIX Printing
System(tm) - common files ii  cups-daemon
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - daemon ii  cups-filters
1.0.34-3+b1                        amd64        OpenPrinting CUPS
Filters ii  cups-pk-helper
0.2.5-1                            amd64        PolicyKit helper to
configure cups with fine-grained privileges ii
cups-ppdc
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - PPD manipulation utilities ii
cups-server-common
1.6.3-1                            all          Common UNIX Printing
System(tm) - server common files ii
ghostscript-cups
9.05~dfsg-8                        amd64        interpreter for the
PostScript language and for PDF - CUPS filters ii
libcups2:amd64
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - Core library ii  libcups2:i386
1.6.3-1                            i386         Common UNIX Printing
System(tm) - Core library ii  libcups2-dev
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - Development files CUPS library ii
libcupscgi1:amd64
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - CGI library ii  libcupsfilters-dev
1.0.34-3+b1                        amd64        OpenPrinting CUPS
Filters - Development files for the library ii
libcupsfilters1:amd64
1.0.34-3+b1                        amd64        OpenPrinting CUPS
Filters - Shared library ii  libcupsimage2:amd64
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - Raster image library ii
libcupsimage2-dev
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - Development files CUPS image library ii
libcupsmime1:amd64
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - MIME library ii  libcupsppdc1:amd64
1.6.3-1                            amd64        Common UNIX Printing
System(tm) - PPD manipulation library ii
libfontembed1:amd64
1.0.34-3+b1                        amd64        OpenPrinting CUPS
Filters - Font Embed Shared library ii
printer-driver-gutenprint
5.2.9-1                            amd64        printer drivers for
CUPS ii  printer-driver-hpcups
3.13.4-1+b1                        amd64        HP Linux Printing and
Imaging - CUPS Raster driver (hpcups) ii
python-cups
1.9.62-2                           amd64        Python bindings for
CUPS ii  python-cupshelpers 1.4.1-3
all          Python utility modules around the CUPS printing system



-- 
Arnaud Schmittbuhl


Follow ups