trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2012

Re: [trinity-devel] tdegraphics build fail at poppler-tqt hooks

From: Fat-Zer <fatzer2@...>
Date: Sun, 4 Nov 2012 20:41:43 +0400
2012/11/4 Jay <jayflood@...>:
> I am using latest git (3rd November 2012) and building under slackware 13.37
> (Stripped version called porteus).
>
> My problem resembles the problem Darrell was having here:
> http://trinity-devel.pearsoncomputing.net/?0::6409
>
> The problem seems to appear at build of poppler-tqt hooks when poppler
> headers (in /usr/include/poppler) are not being found.
>
> I've noted the following bugs and fixes appear to have made their way to
> git.
> http://bugs.pearsoncomputing.net/show_bug.cgi?id=993
> http://bugs.pearsoncomputing.net/show_bug.cgi?id=1295
> http://bugs.pearsoncomputing.net/show_bug.cgi?id=1136
>
> I still get a fail during cmake build here:
> --------------------
> Scanning dependencies of target poppler-tqt-shared
> [  8%] Building CXX object
> kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o
> tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:25:26:
> fatal error: GlobalParams.h: No such file or directory
> compilation terminated.
> make[2]: ***
> [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o]
> Error 1
> make[1]: ***
> [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all]
> Error 2
> make: *** [all] Error 2
> --------------------
>
> Also interesting to note the fllowing:
> -- Performing Test HAVE_POPPLER_016
> -- Performing Test HAVE_POPPLER_016 - Failed
> -- Performing Test HAVE_POPPLER_020
> -- Performing Test HAVE_POPPLER_020 - Failed
>
> I have rebuilt latest poppler-0.20.5, ilmbase-1.0.3 and openexr-1.7.1 and
> retried with the same result.
>
> Please note that with the following cmake commands tdegraphics builds ok for
> me as poppler-tqt and IexMath is not required.
>   -DWITH_OPENEXR=OFF \
>   -DWITH_PDF=OFF
>
> Any idea why i am being stopped at this point?
>
> Kind Regards,
> Jay
Have you tried the patch from BUG#1295? AFAIR' I had got the same
error, before I've posted that bug...
if it still doesn't work, have you got the poppler.pc in your
PKG_CONFIG_DIR. And does it contains right paths?