[scribus-dev] compiling with poppler

Franz Schmid Franz.Schmid at altmuehlnet.de
Thu Aug 4 18:32:57 UTC 2011


Am 04.08.2011 15:07, schrieb Gregory Pittman:
> On 08/04/2011 06:16 AM, Franz Schmid wrote:
>> 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.
>>
> 
> I was noticing this poppler feedback the other day also.
> With this version issue, I may just wait until Fedora catches up
> (currently 0.16.7), but one surprising thing was that when I did 'yum
> list poppler*', this list came out:
> 
> poppler.x86_64
> poppler-devel.x86_64
> poppler-data.noarch
> poppler-glib.x86_64
> poppler-glib-devel.x86_64
> poppler-qt.x86_64
> poppler-qt-devel.x86_64
> poppler-utils.x86_64
> poppler-cpp.x86_64
> poppler-cpp-devel.x86_64
> 
> I presume I need poppler and poppler-devel, but how many of these do I
> need?
poppler.x86_64
poppler-devel.x86_64
poppler-data.noarch

should be enough, but it doesn't harm to have all of the mentioned packages.

Greetings,
Franz Schmid



More information about the scribus-dev mailing list