[scribus-dev] compiling with poppler

Franz Schmid Franz.Schmid at altmuehlnet.de
Thu Aug 4 10:16:05 UTC 2011


Am 04.08.2011 11:25, schrieb a.l.e:
> hi petr,
>  
> 
>> try this:
>>  -DCMAKE_LIBRARY_PATH=${prefix}/lib
>> -DCMAKE_INCLUDE_PATH=${prefix}/include
>>
>> it should append these paths to standard paths for FindFoo modules.
>> It should but you have to test it ;)
> 
> i've tried it, but it does not seem to work...
> 
> 
> scribus/build$ cmake
> -DCMAKE_INSTALL_PREFIX:PATH=/home/ale/docs/bin/scribus -DWANT_DEBUG=1
> -DWANT_NOOSG=1 -DWANT_PRIVATE_CAIRO=1
> -DCMAKE_INCLUDE_PATH=/home/ale/docs/bin/poppler/include
> -DCMAKE_LIBRARY_PATH=/home/ale/docs/bin/poppler/lib
> -DWANT_SCRIPTER2=1 ..
> [...]
> -- checking for one of the modules 'libpoppler>=0.17.1;poppler>=0.17.1'
> Poppler NOT found - Disabling support for native PDF import
> [...]
> $ /home/ale/docs/bin/poppler/bin/pdfinfo --help
> pdfinfo version 0.17.1
> Copyright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org
> Copyright 1996-2004 Glyph & Cog, LLC
> Usage: pdfinfo [options] <PDF-file>
> [...]
> 
> any idea?
the Cmake script for finding poppler used pkgconfig for finding poppler,
thats why the poppler install into /usr/local is recommended.

Franz




More information about the scribus-dev mailing list