qpdfview team mailing list archive
-
qpdfview team
-
Mailing list archive
-
Message #00356
Re: How to compile qpdfview on debian
-
To:
qpdfview@xxxxxxxxxxxxxxxxxxx
-
From:
Benjamin Eltzner <b.eltzner@xxxxxx>
-
Date:
Mon, 02 Sep 2013 10:00:16 +0200
-
In-reply-to:
<20130902065213.6b695b08@debian>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Arnaud,
to compile qpdfview in a debian-based system, you need the following
packages: libcups2-dev, libqt4-dev, libpoppler-qt4-dev, pkg-config,
libspectre-dev, libdjvulibre-dev, libmagic-dev. In your case what
seems to be missing is libcups2-dev.
I hope this helps. If you still have questions, just ask. :-)
Cheers,
Benjamin
Am 02.09.2013 06:52, schrieb Arnaud Schmittbuhl:
>
> 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
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSJEWNAAoJEK27BRz67lmpfFgP/jUKrA2qcWXWzfc3ENp5HNqa
DzplXE9mNNNeI5qqCbukw35+ha5vi2UvHj6e49RzAyT8jtLdd8uyiBo0ojnHnGP6
EUDqp9383VawtdAcrFMD5Mo1ycXVqg2IYghHUzi01MczVTAHDyK9o9GvrXN74jtj
y/BMKYl7sPVDrYKcS+hHRkA0BV0yDd9PJc/9RWc3BuyiFL34se1gZcHYYp/sC1hB
oed+cLZBx/MAh1NYvYrbGgBydEMPJKDl3LOZ7gsSF3C/dG4FgcZSLool0regaKkt
JycqkZZDm+CUNz1xukSX3HPdmFth6HHJc9nkdumr9Fe9VO4a0ll57ZLnvgt+JIuT
RcF8jPqjHRYqLKNFDWkmb5kJeGmnXqnjFL3BnC+ycGOOKI5Dto+BThyPFy/Sg8uU
WfVQjCFC8Y9hv/73FWzZxyBGQFX9311LAFiQOmvJskRpVPUSinU77yYKEVo9gAOr
ZZyi6TI26Ub+zrMwNLcagLgiSUVVb6siQSAE8oVZ57p+I9akyOsxDre9VjwzrJl4
3h83F72Q1UG8V/b8HorFChzn2AVvCsk/0b4LyCcECmPwKQ9PMGEyvPow9dgZBwUr
EWSdTuEr5xhO4EtLcfU7PjcTFHmz+HlFpNEGJDc8CGumkA9TSPKbR7ts4yT+4vyY
ahUGl150GSxz11xyeNVd
=rpXC
-----END PGP SIGNATURE-----
Follow ups
References