<html dir="ltr"><head></head><body style="text-align: left; direction: ltr; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>On Wed, 2018-10-10 at 09:03 +0200, Jonas Bechtel wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre><br></pre><pre><br></pre><pre>On Tue, 09 Oct 2018 17:11:02 -0400</pre><pre>David Burleigh <</pre><a href="mailto:david.burleigh@saphar.net"><pre>david.burleigh@saphar.net</pre></a><pre>> wrote with subject</pre><pre>"Re: [scribus] CMake Error (variables not found)":</pre><pre><br></pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Tue, 2018-10-09 at 12:52 -0400, Gregory Pittman wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On 10/09/2018 11:28 AM, David Burleigh wrote:  </pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>I've been working my way through resolving all the dependencies to</pre><pre>build Scribus 1.5.4 on my Debian Testing system, but have gotten</pre><pre>to a place where I don't know how to proceed. Below is the result</pre><pre>of my latest attempt. I would appreciate any help in getting past</pre><pre>this point.</pre><pre>zerubbabel@dz:~/bin/scribus-1.5.4/build$ /usr/bin/cmake ..</pre><pre>-DCMAKE_INSTALL_PREFIX:PATH=/home/zerubbabel/scribus-1.5.4/</pre><pre>-- Shared Library Flags: </pre><pre>-- Scribus 1.5.4 will be built and installed into</pre><pre>/home/zerubbabel/scribus-1.5.4</pre><pre>-- Machine: x86_64-linux-gnu, void pointer size: 8</pre><pre>-- Found target X86_64</pre><pre>-- Building for target x86_64-linux-gnu</pre><pre>-- Using standard ApplicationDataDir. You can change it with</pre><pre>-DAPPLICATION_DATA_DIR</pre><pre>-- Using standard ApplicationConfigDir. You can change it with</pre><pre>-DAPPLICATION_CONFIG_DIR</pre><pre>-- ----- USE QT 5-----</pre><pre>-- ----- USE QT Widgets-----</pre><pre>-- ----- USE Qt5Gui -----</pre><pre>-- ----- USE QT 5 XML -----</pre><pre>-- ----- USE Qt5Network -----</pre><pre>-- ----- USE Qt5OpenGL -----</pre><pre>-- ----- USE Qt5LinguistTools -----</pre><pre>-- ----- USE Qt5PrintSupport -----</pre><pre>-- Qt VERSION: 5.11.1</pre><pre>-- Your Qt version is 5.7.0 or superior, enabling C++11 compiler</pre><pre>features</pre><pre>-- Enabling C++11 compiler features</pre><pre>ZLIB Library Found OK</pre><pre>No OSG found, building without 3D Extension</pre><pre>JPEG Library Found OK</pre><pre>TIFF Library Found OK</pre><pre>Python Library Found OK</pre><pre>-- FreeType2 Library Found OK</pre><pre>CAIRO Library Found OK</pre><pre>CUPS Library Found OK</pre><pre>LIBXML2 Library Found OK</pre><pre>LCMS 2 ReleaseLibrary: /usr/lib/x86_64-linux-gnu/liblcms2.so</pre><pre>LCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-NOTFOUND</pre><pre>LCMS 2 Library: /usr/lib/x86_64-linux-gnu/liblcms2.so</pre><pre>LittleCMS-2 Library Found OK</pre><pre>FontConfig Found OK</pre><pre>-- New HUNSPELL API found</pre><pre>Hunspell Found OK</pre><pre>OpenSSL found OK for installed version of PoDoFo (>= 0.9.5) -</pre><pre>Enabling support for PDF embedded in AI</pre><pre>PoDoFo found OK</pre><pre>-- Boost version: 1.62.0</pre><pre>Boost Library Found OK</pre><pre>Building without GraphicksMagick (use -DWANT_GRAPHICSMAGICK=1 to</pre><pre>enable)</pre><pre>-- Found poppler</pre><pre>-- Found poppler libs: /usr/lib/x86_64-linux-gnu/libpoppler.so</pre><pre>-- Found poppler includes: POPPLER_INCLUDE_DIR-NOTFOUND</pre><pre>-- Including OpenSSL files for PoDoFo >= 0.9.5</pre><pre>CMake Deprecation Warning at scribus/CMakeLists.txt:1203</pre><pre>(cmake_policy):</pre><pre>  The OLD behavior for policy CMP0003 will be removed from a</pre><pre>future version</pre><pre>  of CMake.</pre><pre><br></pre><pre>  The cmake-policies(7) manual explains that the OLD behaviors of</pre><pre>all policies are deprecated and that a policy should be set to</pre><pre>OLD only under</pre><pre>  specific short-term circumstances.  Projects should be ported</pre><pre>to the NEW</pre><pre>  behavior and not rely on setting a policy to OLD.</pre><pre><br></pre><pre><br></pre><pre>RPATH: lib/scribus/plugins/;</pre><pre>--</pre><pre>Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::NetworkQt5::OpenGL/usr/lib/x</pre><pre>86_64-linux-gnu/libxml2.so/usr/lib/x86_64-linux-gnu/libz.so</pre><pre>Building Corel Draw Importer with librevenge</pre><pre>Building Freehand Importer with librevenge</pre><pre>Building Pagemaker Importer with librevenge</pre><pre>Building MS Publisher Importer with librevenge</pre><pre>Building QuarkXPress Importer</pre><pre>Building MS-Visio Importer with librevenge</pre><pre>Building Zoner Draw Importer</pre><pre>-- Building with Scripter 1</pre><pre>-- No source header files will be installed</pre><pre>-- /home/zerubbabel/bin/scribus-1.5.4/resources/translations</pre><pre>-- The following GUI languages will be installed: </pre><pre>CMake Error: The following variables are used in this project, but</pre><pre>they are set to NOTFOUND.</pre><pre>Please set them or make sure they are set and tested correctly in</pre><pre>the CMake files:</pre><pre>POPPLER_INCLUDE_DIR</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre>   used as include directory in directory</pre><pre>/home/zerubbabel/bin/scribus-1.5.4/scribus/plugins/import/pdf</pre><pre><br></pre><pre>-- Configuring incomplete, errors occurred!</pre><pre>See also "/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/build/CMakeFiles/CMakeOutput.log".</pre><pre>See also "/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/build/CMakeFiles/CMakeError.log".</pre><pre>zerubbabel@dz:~/bin/scribus-1.5.4/build$  </pre></blockquote><pre><br></pre><pre>I think what it's saying is that it couldn't find poppler. Note that</pre><pre>there are 3 different popplers that you need:</pre><pre>poppler</pre><pre>poppler-data</pre><pre>poppler-cpp</pre><pre><br></pre><pre>which means you need not only these, but the development packages.</pre><pre>In Fedora, this would be poppler-devel, poppler-data-devel, and</pre><pre>poppler-cpp-devel, so it's whatever the equivalent names are for</pre><pre>Debian.</pre><pre><br></pre><pre>Greg  </pre></blockquote><pre><br></pre><pre>Well, now the CMake completed without errors, and make completed</pre><pre>without errors, and make install completed without errors, but there</pre><pre>doesn't seem to be any scribus executable anywhere. </pre></blockquote><pre><br></pre><pre><br></pre><pre>Despite the fact that you found the precompiled package, just for completeness:</pre><pre><br></pre><pre>I would expect the binary to be named as </pre><pre>~/bin/scribus-1.5.4/build/scribus/scribus</pre><pre><br></pre><pre>Did you try to </pre><pre>$ find ~/bin/scribus-1.5.4/ -name scribus</pre><pre>?</pre><pre><br></pre></blockquote><pre>Yes, that's where I expected to find it, but it was not there. I searched visibly, and with "find" but to no avail. It is odd.</pre></body></html>