[scribus] CMake Error (variables not found)

Gregory Pittman gpittman at iglou.com
Tue Oct 9 16:52:54 UTC 2018


On 10/09/2018 11:28 AM, David Burleigh wrote:
> I've been working my way through resolving all the dependencies to
> build Scribus 1.5.4 on my Debian Testing system, but have gotten to a
> place where I don't know how to proceed. Below is the result of my
> latest attempt. I would appreciate any help in getting past this
> point.
> zerubbabel at dz:~/bin/scribus-1.5.4/build$ /usr/bin/cmake ..
> -DCMAKE_INSTALL_PREFIX:PATH=/home/zerubbabel/scribus-1.5.4/
> -- Shared Library Flags: 
> -- Scribus 1.5.4 will be built and installed into
> /home/zerubbabel/scribus-1.5.4
> -- Machine: x86_64-linux-gnu, void pointer size: 8
> -- Found target X86_64
> -- Building for target x86_64-linux-gnu
> -- Using standard ApplicationDataDir. You can change it with
> -DAPPLICATION_DATA_DIR
> -- Using standard ApplicationConfigDir. You can change it with
> -DAPPLICATION_CONFIG_DIR
> -- ----- USE QT 5-----
> -- ----- USE QT Widgets-----
> -- ----- USE Qt5Gui -----
> -- ----- USE QT 5 XML -----
> -- ----- USE Qt5Network -----
> -- ----- USE Qt5OpenGL -----
> -- ----- USE Qt5LinguistTools -----
> -- ----- USE Qt5PrintSupport -----
> -- Qt VERSION: 5.11.1
> -- Your Qt version is 5.7.0 or superior, enabling C++11 compiler
> features
> -- Enabling C++11 compiler features
> ZLIB Library Found OK
> No OSG found, building without 3D Extension
> JPEG Library Found OK
> TIFF Library Found OK
> Python Library Found OK
> -- FreeType2 Library Found OK
> CAIRO Library Found OK
> CUPS Library Found OK
> LIBXML2 Library Found OK
> LCMS 2 ReleaseLibrary: /usr/lib/x86_64-linux-gnu/liblcms2.so
> LCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-NOTFOUND
> LCMS 2 Library: /usr/lib/x86_64-linux-gnu/liblcms2.so
> LittleCMS-2 Library Found OK
> FontConfig Found OK
> -- New HUNSPELL API found
> Hunspell Found OK
> OpenSSL found OK for installed version of PoDoFo (>= 0.9.5) - Enabling
> support for PDF embedded in AI
> PoDoFo found OK
> -- Boost version: 1.62.0
> Boost Library Found OK
> Building without GraphicksMagick (use -DWANT_GRAPHICSMAGICK=1 to
> enable)
> -- Found poppler
> -- Found poppler libs: /usr/lib/x86_64-linux-gnu/libpoppler.so
> -- Found poppler includes: POPPLER_INCLUDE_DIR-NOTFOUND
> -- Including OpenSSL files for PoDoFo >= 0.9.5
> CMake Deprecation Warning at scribus/CMakeLists.txt:1203
> (cmake_policy):
>   The OLD behavior for policy CMP0003 will be removed from a future
> version
>   of CMake.
> 
>   The cmake-policies(7) manual explains that the OLD behaviors of all
>   policies are deprecated and that a policy should be set to OLD only
> under
>   specific short-term circumstances.  Projects should be ported to the
> NEW
>   behavior and not rely on setting a policy to OLD.
> 
> 
> RPATH: lib/scribus/plugins/;
> --
> Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::NetworkQt5::OpenGL/usr/lib/x
> 86_64-linux-gnu/libxml2.so/usr/lib/x86_64-linux-gnu/libz.so
> Building Corel Draw Importer with librevenge
> Building Freehand Importer with librevenge
> Building Pagemaker Importer with librevenge
> Building MS Publisher Importer with librevenge
> Building QuarkXPress Importer
> Building MS-Visio Importer with librevenge
> Building Zoner Draw Importer
> -- Building with Scripter 1
> -- No source header files will be installed
> -- /home/zerubbabel/bin/scribus-1.5.4/resources/translations
> -- The following GUI languages will be installed: 
> CMake Error: The following variables are used in this project, but
> they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the
> CMake files:
> POPPLER_INCLUDE_DIR
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
>    used as include directory in directory
> /home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/zerubbabel/bin/scribus-
> 1.5.4/build/CMakeFiles/CMakeOutput.log".
> See also "/home/zerubbabel/bin/scribus-
> 1.5.4/build/CMakeFiles/CMakeError.log".
> zerubbabel at dz:~/bin/scribus-1.5.4/build$

I think what it's saying is that it couldn't find poppler. Note that
there are 3 different popplers that you need:
poppler
poppler-data
poppler-cpp

which means you need not only these, but the development packages. In
Fedora, this would be poppler-devel, poppler-data-devel, and
poppler-cpp-devel, so it's whatever the equivalent names are for Debian.

Greg



More information about the scribus mailing list