Sorry Darrell yes it was David.

My configure options look the same as yours (apart from GCC INVISIBILITY) and the patch history is reflected in my latest git pull. The patch from Fat_Zer simply makes the poppler check regardless if you are building KPDF or not. It looks like my poppler is not being found.

We will be moving to a slackware 14 base shortly so i will be recompiling everything again shortly. Would have been nice to know why my poppler is not being found though.

Jay

On Sun, Nov 4, 2012 at 6:13 PM, Darrell Anderson <humanreadable@yahoo.com> wrote:
> 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

That was David. :)

> 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?

I haven't built a package set for 13.37 in a long while. I have been building tdegraphics in Slackware 13.1 32-bit and 14.0 64-bit.

Slackware 13.1 uses poppler 0.12.4, 13.37 uses poppler 0.16.4, and 14.0 uses poppler 0.20.2. Slackware 13.1 uses openexr 1.6.1 while 13.37 and 14.0 use 1.7.0.

My most recent build log for Slackware 13.1 32-bit correctly shows:

-- checking for one of the modules 'poppler'
-- Performing Test HAVE_POPPLER_016
-- Performing Test HAVE_POPPLER_016 - Failed
-- Performing Test HAVE_POPPLER_020
-- Performing Test HAVE_POPPLER_020 - Failed
...
POPPLER_VERSION:INTERNAL=0.12.4
...

My most recent build log for Slackware 14.0 64-bit correctly shows:

-- checking for one of the modules 'poppler'
-- Performing Test HAVE_POPPLER_016
-- Performing Test HAVE_POPPLER_016 - Failed
-- Performing Test HAVE_POPPLER_020
-- Performing Test HAVE_POPPLER_020 - Success
...
POPPLER_VERSION:INTERNAL=0.20.2
...

My July 11 build log for Slackware 13.37 32-bit correctly shows:

-- checking for one of the modules 'poppler'
-- Performing Test HAVE_POPPLER_016
-- Performing Test HAVE_POPPLER_016 - Success
-- Performing Test HAVE_POPPLER_020
-- Performing Test HAVE_POPPLER_020 - Failed
...
POPPLER_VERSION:INTERNAL=0.16.4
...

My July 11 build log for Slackware 13.37 64-bit correctly shows:

-- checking for one of the modules 'poppler'
-- Performing Test HAVE_POPPLER_016
-- Performing Test HAVE_POPPLER_016 - Success
-- Performing Test HAVE_POPPLER_020
-- Performing Test HAVE_POPPLER_020 - Failed
...
POPPLER_VERSION:INTERNAL=0.16.4
...

I don't know what might be different on your system. With that said, yes, my 13.37 builds are a bit old with respect to GIT and could be misleading.

My tdegraphics configure options (same for all Slackware versions):

cmake $SOURCES_ROOT \
  -DCMAKE_C_FLAGS:STRING="$CPUOPT" \
  -DCMAKE_CXX_FLAGS:STRING="$CPUOPT $DEBUG_CMAKE_OPT" \
  -DCMAKE_INSTALL_PREFIX=${PREFIX} \
  -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \
  -DLIB_SUFFIX=${LIBDIRSUFFIX} \
  -DMAN_INSTALL_DIR=${MANDIR} \
  -DWITH_GCC_VISIBILITY=OFF \
  -DWITH_T1LIB=ON \
  -DWITH_PAPER=ON \
  -DWITH_TIFF=ON \
  -DWITH_OPENEXR=ON \
  -DWITH_PDF=ON \
  -DBUILD_KMRML=OFF \
  -DBUILD_ALL=ON || exit 1


The HAVE_POPPLER_0xx tests are performed in tdegraphics/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake. Here is the patch history for that file:

http://git.trinitydesktop.org/cgit/tdegraphics/log/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake

Darrell


---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net
For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting