View previous topic :: View next topic |
Author |
Message |
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Sat Feb 04, 2006 12:41 pm Post subject: [SOLVED] emerge kdegraphics-3.5.1-r2: poppler .h not found |
|
|
Quote: | generator_pdf.cpp:29:45: poppler/poppler-page-transition.h: No such file or directory
generator_pdf.cpp:53: error: namespace `Poppler' undeclared
generator_pdf.cpp: In member function `void PDFGenerator::addTransition(int,
KPDFPage*)':
generator_pdf.cpp:881: error: `PageTransition' undeclared (first use this
function)
generator_pdf.cpp:881: error: (Each undeclared identifier is reported only once
for each function it appears in.)
generator_pdf.cpp:881: error: `pdfTransition' undeclared (first use this
function)
generator_pdf.cpp:883: error: syntax error before `::' token
.
.
.
make[4]: *** [generator_pdf.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1/kpdf/core/generator_pdf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1/kpdf/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1/kpdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.5.1-r2/work/kdegraphics-3.5.1'
make: *** [all] Error 2
!!! ERROR: kde-base/kdegraphics-3.5.1-r2 failed.
!!! Function kde_src_compile, Line 183, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message. |
When trying to emerge KDE 3.5.1, I get this nasty bit of error.
It seems to be looking for poppler/poppler-page-transition.h, but when I search for it on the disk, the file does not exist. I do have popper-0.5.0 installed:
Quote: | root@maya ~ # emerge -pv poppler
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild UD] app-text/poppler-0.4.3-r4 [0.5.0-r4] -cairo +jpeg +zlib 0 kB
|
Any ideas?
Thanks _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Last edited by lunarg on Sat Feb 04, 2006 5:37 pm; edited 1 time in total |
|
Back to top |
|
|
aidy l33t
Joined: 07 Apr 2005 Posts: 915
|
Posted: Sat Feb 04, 2006 1:02 pm Post subject: |
|
|
Why would it want to downgrade? Maybe that would fix stuff? Did you do emerge -uDN world? |
|
Back to top |
|
|
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Sat Feb 04, 2006 1:10 pm Post subject: |
|
|
Sorry, forgot to unmask it back to ~x86.
Since KDE 3.5.1 is ~x86, it had emerged poppler-0.5.0 as a dependency on kdegraphics.
Quote: | root@maya ~ # ACCEPT_KEYWORDS="~x86" emerge -pv poppler
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] app-text/poppler-0.5.0-r4 -cairo +jpeg +zlib 0 kB
Total size of downloads: 0 kB
|
So downgrading isn't really possible since kdegraphics-3.5.1 depends on this version. Also, after looking at the kdegraphics-3.5.1-poppler.patch (which is applied when emerging kdegraphics), it doesn't seem to accept the standard headers in /usr/include:
Quote: | +// poppler includes
+#include "poppler/poppler-page-transition.h"
+#include "poppler/Object.h"
+#include "poppler/Dict.h"
+#include "poppler/Annot.h"
+#include "poppler/PSOutputDev.h"
+#include "poppler/TextOutputDev.h"
+#include "poppler/Link.h"
+#include "poppler/ErrorCodes.h"
+#include "poppler/UnicodeMap.h"
+#include "poppler/Outline.h"
+#include "poppler/goo/GooString.h"
+#include "poppler/goo/GooList.h"
+//#include "poppler/poppler-qt.h"
|
To me, it seems that the entire directory "poppler" is missing.
Any thoughts? _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/ |
|
Back to top |
|
|
aidy l33t
Joined: 07 Apr 2005 Posts: 915
|
Posted: Sat Feb 04, 2006 3:14 pm Post subject: |
|
|
probably stupid suggestion, but maybe try reinstalling that poppler 0.5? Or maybe play around with equery -belongs or so... |
|
Back to top |
|
|
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Sat Feb 04, 2006 5:36 pm Post subject: |
|
|
Seemed to be a dependency problem, which wasn't included in the ebuild of kdegraphics-3.5.1.
I had to emerge poppler-bindings as well. It's solved now.
Thanks again _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/ |
|
Back to top |
|
|
Dalrain Tux's lil' helper
Joined: 02 Jul 2002 Posts: 136 Location: Wooster, OH USA
|
Posted: Sat Feb 04, 2006 11:34 pm Post subject: |
|
|
That fixed it for me too, thanks to everyone who contributed! |
|
Back to top |
|
|
|