On 01/06/12 10:05, Willie WY Wong wrote:
On Thu, Jan 05, 2012 at 10:50:19AM -0700, Penguin Lover Joseph squawked:
I tred to compile epdfview but it failed:
JobPrint.cxx: In member function ‘guint ePDFView::JobPrint::setUpPageRange()’:
JobPrint.cxx:379:56: warning: suggest parentheses around ‘&&’ within ‘||’
PDFDocument.cxx: In member function ‘virtual ePDFView::DocumentPage*
ePDFView::PDFDocument::renderPage(gint)’:
PDFDocument.cxx:618:62: error: ‘poppler_page_render_to_pixbuf’ was not declared
in this scope
PDFDocument.cxx: In member function ‘virtual gboolean
ePDFView::PDFDocument::loadFile(const gchar*, const gchar*, GError**)’:
PDFDocument.cxx:231:45: warning: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
make[3]: *** [libepdfview_a-PDFDocument.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6'
make: *** [all] Error 2
emake failed
* ERROR: app-text/epdfview-0.1.6-r1 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 75: Called src_compile
* environment, line 2114: Called _eapi2_src_compile
* phase-helpers.sh, line 577: Called die
* The specific snippet of code:
* emake || die "emake failed"
Which version of poppler do you have installed? I am almost certain
you are running into this conflict:
https://bugs.gentoo.org/show_bug.cgi?id=388235
So try keywording version 0.1.8: it has been available since last
August, and I think it is stable enough (except for some silly bugs
like https://bugs.gentoo.org/show_bug.cgi?id=387125 ).
W
Yes, I'm running the latest version: app-text/poppler-0.18.2
--
Joseph