CMake Error (variables not found)

Previous topic - Next topic

zerubbabel

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@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/x86_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@dz:~/bin/scribus-1.5.4/build$

a.l.e

i would guess that you are missing libpoppler-cpp-dev ...

if you don't know about it, https://github.com/aoloe/scribus-manual-development/blob/master/content/getting-started/getting-started.md should have an uptodate list of dependencies... if it's not case bug reports and pull requests are very welcome : - )

ciao
a.l.e