Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Arnaud, Am 02.09.2013 23:33, schrieb Arnaud Schmittbuhl: > Le Mon, 02 Sep 2013 21:55:19 +0200, Adam Reichold > a écrit : > > Hi all, > >> it seems that "-lcups" is missing from the linker command. I >> really don't know why, but one could compare this to the result >> of running "cups-config --libs" for more information. >> >> Another short-term solution for testing would be to build using >> "qmake CONFIG+=without_cups qpdfview.pro" to disable CUPS >> support. >> >> Best regards, Adam. >> >> P.S.: There is now also a branch "choose-instance" available for >> the instance name chooser. Thanks for testing... > > 1/ I was unable to compile obsolete-pixmaps but choose-instance do > compile smoothly! Maybe you could try to fetch the obsolete-pixmaps branch again and start from fresh. (Or try running "bzr clean-tree" in the directory.) > 2/ It seems to be working correctly ;-) Nice! > 3/ when I try [as:choose-instance]$ LANG=en ./qpdfview > --choose-instance I get "Using '--instance' is not allowed without > using '--unique'." > > So, if --unique is a mandatory argument, maybe it can be added > silently without raising an error? I would rather keep it as it is to remind users of the background of the "--instance" option, i.e. that it really is just a modifier of the "--unique" mode. > 4/ Can the name of the current choose-instance session be added > somewhere? - in the bar? - in the title, with the current of the > file? (something like [choose-instance] file name, for example > [texdoc] pgfmanual (597/726) - qpdfview ) Will add that to the choose-instance branch in a minute or two... > 5/ Manpage and --help inline command will need to be updated > accordingly to add the --choose-instance option Yes, I'll add placeholders there as I merge those branches into trunk after releasing version 0.4.5. (Probably on Friday or something like that...) > 6/ chose-instance with one o or choose-instance with two o? Checked again, and definitely "choose-instance" as in "to choose an instance", i.e. the infinitive. > 7/ most of the text in the print dialog box is not translated (i > tried french, spanish and german) and there is no option on > launchpad to add these translations Yes, that is because these graphical elements are system-dependent and provided by Qt. If you want to translate them, upstream Qt is the target. > 8/ with standard docks (outline, properties, thumbnails) the float > and the close icons are side by side. With the search bar these 2 > icons are separated. Why? I don't think the search dock has a close icon. There is the cancel search button (and menu entry), but that does much more than just closing the dock. (Meaning the visibility of the search dock is controlled by the current search state.) > 9/ The search field is really large and can't be reduced when the > bar is moved on the left or the right side. Is it a feature? I am not sure what you mean exactly, but the size of the search dock is usually bounded from below by the size of the two check boxes and the three buttons, not by the size of the search field which has no significant lower bound. > In my time zone, it's time to sleep ;-) > Best regards, Adam. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (GNU/Linux) iQEcBAEBAgAGBQJSJijJAAoJEPSSjE3STU341mcH/3N/OHN1sW1vOYDSAd4tvJqy CfDCxXj5k4jMxZIRLNymWhrULj9LWzBZk+KCqF0DHdXakrnUUQcOKlDZh7tM9QMQ S0DeTzC8iDat1OBQXxqD2QLZ6qFFjjIGRe7LT0Fvyrk5xVHpsPB+QB1VLaKpq24I eKvJ593XLojO0ruNZPSndJ775nOcwRUl9GXBIuYH/JPH4LqkzQQxAtdKX28/620j RXCsl1xUwAjwu/LWA3WP6ZsZkli3Qv2gpvj800Ab4rY9iX1krTvhfwheRf1i3BAy pNodFB55zPkE9VeEat7YqkHL3LHnI1IOMx/iJE/b/SiKCpWCd2N8Bph/Br4SEm0= =tGqx -END PGP SIGNATURE- -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 03.09.2013 20:22, schrieb Adam Reichold: > Hello Arnaud, > > Am 02.09.2013 23:33, schrieb Arnaud Schmittbuhl: >> Le Mon, 02 Sep 2013 21:55:19 +0200, Adam Reichold >> a écrit : [...] 4/ Can the name of the >> current choose-instance session be added somewhere? - in the bar? >> - in the title, with the current of the file? (something like >> [choose-instance] file name, for example [texdoc] pgfmanual >> (597/726) - qpdfview ) > > Will add that to the choose-instance branch in a minute or two... > So here it is, choose-instance revision 1247... (Even though I chose to put it at the end rather than the beginning.) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (GNU/Linux) iQEcBAEBAgAGBQJSJi2AAAoJEPSSjE3STU34hd8IAI97bYPYAyRK5+7TlewjrPAj G4iAMvUaUQ2JiBYY0iVRGOXgeZ3tb+7z2h3cjSCYUdzoKXYYW7XY8q6fYrcNdgGC B0KpyLFFpHBk5TRbxCafkJC2LcqKIFl1uJAcrEMgpk1QnNOFlb/habu4frGTUFYq WzxiTLaI0FlHbzuQVurAKv35RdNt/5b2ARVfGPukGYuuJjkL1MsSB0ls5blEBe0v LfIaNuHTpiG1NHhomVE7VUoXyzZ3UliGA9rxxjFMkZOroM8KHw0QSGWlb9qC6uqS WQ9KKnBstQigj+EkCPYyNF7fMtWFHaxqfxWUv4/SaUV5IR++vkVK7rnRSfdlFDc= =RsZY -END PGP SIGNATURE- -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That looks quite correct, so I have to admit that I don't know what the problem is. :-( Am 03.09.2013 20:19, schrieb Arnaud Schmittbuhl: > Le Tue, 03 Sep 2013 20:06:51 +0200, Adam Reichold > a écrit : > >> What would IMHO be most interesting is the output of >> "cups-config - --libs" on your system... > > [as:qpdfview]$ cups-config --libs -lcups -Wl,-z,relro -lgssapi_krb5 > -lkrb5 -lk5crypto -lcom_err -lgnutls -lgcrypt -lz -lpthread -lm > -lcrypt -lz > -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (GNU/Linux) iQEcBAEBAgAGBQJSJikkAAoJEPSSjE3STU34AWEIAKxnEFkV8SWBUmmvAjVz+dPH cy3ulMkh0j+DYICxRPll0Lms2+B4BwBdPQW+OvwwbzOAEezhGcEoDWzERzJRys1e FpVKodN9sf0aLwMNP9HHO1apEmswcYRu1DWZxguxMXizgoBH5lWDh31glebWOJyz 0RTc6YyWry4oNsRvbi0AcpnU/xD0es162locL6C0NrtqGYMOHisW5ivIdloOhN3n btS61z5f9bM6yvCKIy8JLGt/lQ+mtWdRC6F5Nyuz/QWbAINN4FSu+pKNeCo6SBwC kLwRcTbKTR15YL2Te6SJ7nGlrVvv0HuyBnz9qQLmoYf9yq+h6OQxXho/vo0BIn4= =M2TY -END PGP SIGNATURE- -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
Le Tue, 03 Sep 2013 20:06:51 +0200, Adam Reichold a écrit : > What would IMHO be most interesting is the output of "cups-config > - --libs" on your system... [as:qpdfview]$ cups-config --libs -lcups -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgnutls -lgcrypt -lz -lpthread -lm -lcrypt -lz -- Arnaud Schmittbuhl -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Glad that you like it... :-) Am 03.09.2013 13:43, schrieb Benjamin Eltzner: > > Hi Adam, > > I have to correct myself: The feature does work and is prettier > than I thought. Sorry for missing the checkbox-charakter in the > first go... > > > Cheers, > > Benjamin > > > Am 03.09.2013 13:36, schrieb Benjamin Eltzner: >> On my Ubuntu system, the branch compiles without problems (but >> @adam: the feature does not work) > > -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (GNU/Linux) iQEcBAEBAgAGBQJSJiT9AAoJEPSSjE3STU34OiEIALu+jAMAxNgNn6lKTbYeenk+ +B7GPJKCAG1y0W4PDxnqpFSZmT3RLSmUH88wL38pPCNlibEMQVcpNgspxabxSGJQ JDcgwvf8DyC3zc59s78fbyKKosiKt/uJzIRJp8e7hVvGfFKewpySTZJhlG4FSfxL b4Q9A98f9Sl4XNH/hHRQ70MO4LpG6zLW2RHwBZY0tX+m9MhwtqAzsXcHny9P7IvJ cVWyPlKhMKd7+hluT8OosnpQwMDhqqQwLhBiYm1G22Gd5im38fggqGa27pfuzQ+Y YuJKDA2OqlYIAjJos3oqexs+6v51iMsz5rYyxD2dmKBQqPth0rWv2s2CCUAz2UY= =EN1C -END PGP SIGNATURE- -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What would IMHO be most interesting is the output of "cups-config - --libs" on your system... Am 03.09.2013 16:50, schrieb Arnaud Schmittbuhl: > Le Tue, 03 Sep 2013 13:36:18 +0200, Benjamin Eltzner > a écrit : > > Hi Benjamin, Thanks for your devotion! > >> I can't reasonably pinpoint the problem here. Just to be sure: >> did you do "qmake qpdfview.pro", "make clean" and "make" in the >> directory where you downloaded the branch? > > I have done something like qmake project, qmake, make I just tried > qmake qpdfview.pro, make clean, make and got the same error. > > But, it is working with the "choose-instance" release, so... > > Cheers, > -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.21 (GNU/Linux) iQEcBAEBAgAGBQJSJiU7AAoJEPSSjE3STU34WSgIAKPF29FWMZwumpH4lOa6dKGS Pd6+bkLDvhUpiaRTQOmm7mco7c59552/a/IhvWpu/vxcRaFm4lPg4T5p0F+1ZM06 1mPpvAOD2ZG3SiDvfmIh6EzbEilnr0cOKtGSJvE39BoRdQmgSuD3V8wCxlK+aRUM zbLi0XZwsoM3f4O9zIHfAlKZNuYKKo8dNMXuCDf+aqhIrGHqxzm59xwjPp77j1sE zZWnu4ITU43F9sK9ibhGUftrNE8H1dTvH4Qu6YhrjV9hdYCyGBaW27cFyhR2faDR qfaNVSTWpotM1lmcu5VE4z2TVyp1D0TAmADlEpjFoIDQeXOQ5AIUp35/JwJ3z3o= =Ljps -END PGP SIGNATURE- -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
Le Tue, 03 Sep 2013 13:36:18 +0200, Benjamin Eltzner a écrit : Hi Benjamin, Thanks for your devotion! > I can't reasonably pinpoint the problem here. Just to be sure: did you > do "qmake qpdfview.pro", "make clean" and "make" in the directory > where you downloaded the branch? I have done something like qmake project, qmake, make I just tried qmake qpdfview.pro, make clean, make and got the same error. But, it is working with the "choose-instance" release, so... Cheers, -- Arnaud Schmittbuhl -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Adam, I have to correct myself: The feature does work and is prettier than I thought. Sorry for missing the checkbox-charakter in the first go... Cheers, Benjamin Am 03.09.2013 13:36, schrieb Benjamin Eltzner: > On my Ubuntu system, the branch compiles without problems (but > @adam: the feature does not work) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSJctLAAoJEK27BRz67lmpWtkP/0W1TBftFYpzqn+iFmhF2BnO /2CQImwwXnKBkcR8nhZM5hvhzrK3RtMJhmKT+q2INujoidOoOkM953uO3z8JnPyL oB00YCQ0wNv2WKpqCm5OdUxncl7Ba6nMHlqcrdB6N2r6iT+rhdO64BiAI5veujPG mwdjqe26etHUAO0Lx8lbhnia46VHGtDJ8m2+nY9NBTRaE010q4qrqGBdlOBD17Ee pt+jC2xmLXSnZY6Yt6xeU52kQ4OUzjMdVzPS8J/IXBER6xMH2eTHBNLDknJW19FH 1+XCMLikWl72XI1bzOHP8kzgtgght6RW0KfB2szJfXXTQIAEVlTv5nGCgd1WT6PU 32n/4fbw0H3xqyYwiPPKiKVBBahr+h2VWDfiY/NDKWzgY0YgdQOMwwRCpSXX12Ck KBaBH0NWRTQJASrPgCLb1wx4IaHEj1jH2bm3E3FIhc9lQ/V6z3RaAblHWJSCB5Aa O3lgSbyrD2PsVPqfmBVaSB+nJQXMB44fZ8myPnuL99NmFV59/Ow0dkA28GnjIYh1 wqeL/PAl7HnG76lFCCaQGQPDlRDLpsAqMQtf7YoSJuxDh+c9sCkeWpXDz/gHhvFq F9T/hJb4+eqqsWJ71Zf0S/IkkA/ujPArRuXZ31w3uIfSUbNscYH6uy792CaaWqUT oy+LGGgUXtuuPDLbRHg0 =prmR -END PGP SIGNATURE- -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Arnaud, the problem is probably not in libcups2-dev 1.6.3-1, as qpdfview 0.4.4 was built against that in unstable. The only package that is not from testing is apparently libpoppler-qt4-dev 0.24.0-0ubuntu1~precise1, which obviously works for my PPAs. On my Ubuntu system, the branch compiles without problems (but @adam: the feature does not work) with these versions: ~$ LANG=en; for i in libcups2-dev libqt4-dev libpoppler-qt4-dev pkg-config libspectre-dev libdjvulibre-dev libmagic-dev; do apt-cache policy $i; done libcups2-dev: Installed: 1.5.3-0ubuntu8 Candidate: 1.5.3-0ubuntu8 Version table: *** 1.5.3-0ubuntu8 0 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.5.3-0ubuntu5.1 0 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 1.5.2-9ubuntu1 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages libqt4-dev: Installed: 4:4.8.1-0ubuntu4.4 Candidate: 4:4.8.1-0ubuntu4.4 Version table: *** 4:4.8.1-0ubuntu4.4 0 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 100 /var/lib/dpkg/status 4:4.8.1-0ubuntu4 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages libpoppler-qt4-dev: Installed: 0.24.0-0ubuntu1~precise1 Candidate: 0.24.0-0ubuntu1~precise1 Version table: *** 0.24.0-0ubuntu1~precise1 0 500 http://ppa.launchpad.net/b-eltzner/qpdfview-exp-daily/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status 0.18.4-1ubuntu3.1 0 500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 0.18.4-1ubuntu2 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages pkg-config: Installed: 0.26-1ubuntu1 Candidate: 0.26-1ubuntu1 Version table: *** 0.26-1ubuntu1 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status libspectre-dev: Installed: 0.2.6-1build1 Candidate: 0.2.6-1build1 Version table: *** 0.2.6-1build1 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status libdjvulibre-dev: Installed: 3.5.24-9 Candidate: 3.5.24-9 Version table: *** 3.5.24-9 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status libmagic-dev: Installed: 5.09-2 Candidate: 5.09-2 Version table: *** 5.09-2 0 500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status I can't reasonably pinpoint the problem here. Just to be sure: did you do "qmake qpdfview.pro", "make clean" and "make" in the directory where you downloaded the branch? Cheers, Benjamin Am 02.09.2013 21:39, schrieb Arnaud Schmittbuhl: > Le Mon, 02 Sep 2013 10:00:16 +0200, Benjamin Eltzner > a écrit : > > Hi, > >> 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'm afraid everything is installed... but I am probably not > working with standard libraries because of a bleeding edge release > of Inkscape (0.49) > > [as:~]$ alias ap alias ap='apt-cache policy' > > [as:~]$ LANG=en; for i in libcups2-dev libqt4-dev > libpoppler-qt4-dev pkg-config libspectre-dev libdjvulibre-dev > libmagic-dev; do ap $i; done libcups2-dev: Installed: 1.6.3-1 > Candidate: 1.6.3-1 Version table: *** 1.6.3-1 0 500 > http://ftp.debian.org/debian/ testing/main amd64 Packages 100 > /var/lib/dpkg/status libqt4-dev: Installed: 4:4.8.5+dfsg-3 > Candidate: 4:4.8.5+dfsg-3 Version table: *** 4:4.8.5+dfsg-3 0 500 > http://ftp.debian.org/debian/ testing/main amd64 Packages 100 > /var/lib/dpkg/status libpoppler-qt4-dev: Installed: > 0.24.0-0ubuntu1~precise1 Candidate: 0.24.0-0ubuntu1~precise1 > Version table: *** 0.24.0-0ubuntu1~precise1 0 500 > http://ppa.launchpad.net/b-eltzner/qpdfview-exp-daily/ubuntu/ > precise/main amd64 Packages 100 /var/lib/dpkg/status 0.18.4-8 0 500 > http://ftp.debian.org/debian/ testing/main amd64 Packages > pkg-config: Installed: 0.26-1 Candidate: 0.26-1 Version table: *** > 0.26-1 0 500 http://ftp.debian.org/debian/ testing/main amd64 > Packages 100 /var/lib/dpkg/status libspectre-dev: Installed: > 0.2.7-2 Candidate: 0.2.7-2 Version table: *** 0.2.7-2 0 500 > http://ftp.debian.org/debian/ testing/main amd64 Packages 100 > /var/lib/dpkg/status libdjvulibre-dev: Installed: 3.5.25.4-1 > Candidate: 3.5.25.4-1 Version table: *** 3.5.25.4-1 0 500 > http://ftp.debian.org/debian/ testing/main amd64 Packages 100 > /var/lib/dp
Re: [Qpdfview] How to compile qpdfview on debian
Le Mon, 02 Sep 2013 21:55:19 +0200, Adam Reichold a écrit : Hi all, > it seems that "-lcups" is missing from the linker command. I really > don't know why, but one could compare this to the result of running > "cups-config --libs" for more information. > > Another short-term solution for testing would be to build using "qmake > CONFIG+=without_cups qpdfview.pro" to disable CUPS support. > > Best regards, Adam. > > P.S.: There is now also a branch "choose-instance" available for the > instance name chooser. Thanks for testing... 1/ I was unable to compile obsolete-pixmaps but choose-instance do compile smoothly! 2/ It seems to be working correctly ;-) 3/ when I try [as:choose-instance]$ LANG=en ./qpdfview --choose-instance I get "Using '--instance' is not allowed without using '--unique'." So, if --unique is a mandatory argument, maybe it can be added silently without raising an error? 4/ Can the name of the current choose-instance session be added somewhere? - in the bar? - in the title, with the current of the file? (something like [choose-instance] file name, for example [texdoc] pgfmanual (597/726) - qpdfview ) 5/ Manpage and --help inline command will need to be updated accordingly to add the --choose-instance option 6/ chose-instance with one o or choose-instance with two o? 7/ most of the text in the print dialog box is not translated (i tried french, spanish and german) and there is no option on launchpad to add these translations 8/ with standard docks (outline, properties, thumbnails) the float and the close icons are side by side. With the search bar these 2 icons are separated. Why? 9/ The search field is really large and can't be reduced when the bar is moved on the left or the right side. Is it a feature? In my time zone, it's time to sleep ;-) -- Arnaud Schmittbuhl -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Arnaud, hello Benjamin, it seems that "-lcups" is missing from the linker command. I really don't know why, but one could compare this to the result of running "cups-config --libs" for more information. Another short-term solution for testing would be to build using "qmake CONFIG+=without_cups qpdfview.pro" to disable CUPS support. Best regards, Adam. P.S.: There is now also a branch "choose-instance" available for the instance name chooser. Thanks for testing... Am 02.09.2013 10:00, schrieb Benjamin Eltzner: > > 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_d
Re: [Qpdfview] How to compile qpdfview on debian
Le Mon, 02 Sep 2013 10:00:16 +0200, Benjamin Eltzner a écrit : Hi, > 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'm afraid everything is installed... but I am probably not working with standard libraries because of a bleeding edge release of Inkscape (0.49) [as:~]$ alias ap alias ap='apt-cache policy' [as:~]$ LANG=en; for i in libcups2-dev libqt4-dev libpoppler-qt4-dev pkg-config libspectre-dev libdjvulibre-dev libmagic-dev; do ap $i; done libcups2-dev: Installed: 1.6.3-1 Candidate: 1.6.3-1 Version table: *** 1.6.3-1 0 500 http://ftp.debian.org/debian/ testing/main amd64 Packages 100 /var/lib/dpkg/status libqt4-dev: Installed: 4:4.8.5+dfsg-3 Candidate: 4:4.8.5+dfsg-3 Version table: *** 4:4.8.5+dfsg-3 0 500 http://ftp.debian.org/debian/ testing/main amd64 Packages 100 /var/lib/dpkg/status libpoppler-qt4-dev: Installed: 0.24.0-0ubuntu1~precise1 Candidate: 0.24.0-0ubuntu1~precise1 Version table: *** 0.24.0-0ubuntu1~precise1 0 500 http://ppa.launchpad.net/b-eltzner/qpdfview-exp-daily/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status 0.18.4-8 0 500 http://ftp.debian.org/debian/ testing/main amd64 Packages pkg-config: Installed: 0.26-1 Candidate: 0.26-1 Version table: *** 0.26-1 0 500 http://ftp.debian.org/debian/ testing/main amd64 Packages 100 /var/lib/dpkg/status libspectre-dev: Installed: 0.2.7-2 Candidate: 0.2.7-2 Version table: *** 0.2.7-2 0 500 http://ftp.debian.org/debian/ testing/main amd64 Packages 100 /var/lib/dpkg/status libdjvulibre-dev: Installed: 3.5.25.4-1 Candidate: 3.5.25.4-1 Version table: *** 3.5.25.4-1 0 500 http://ftp.debian.org/debian/ testing/main amd64 Packages 100 /var/lib/dpkg/status libmagic-dev: Installed: 1:5.14-2 Candidate: 1:5.14-2 Version table: *** 1:5.14-2 0 500 http://ftp.debian.org/debian/ testing/main amd64 Packages 100 /var/lib/dpkg/status -- Arnaud Schmittbuhl -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp
Re: [Qpdfview] How to compile qpdfview on debian
-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 > amd64Common UNIX Printing System(tm) - server ii > cups-browsed 1.0.34-3+b1amd64 > OpenPrinting CUPS Filters - cups-browsed ii cups-bsd 1.6.3-1 > amd64Common UNIX Printing System(tm) - BSD commands ii > cups-client 1.6.3-1amd64Common > UNIX Printing System(tm) - client programs (SysV) ii cups-common > 1.6.3-1all Common UNIX > Printing System(tm) - common files ii cups-daemon 1.6.3-1 > amd64Common UNIX Printing System(tm) - daemon ii > c

