<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>On Wed, 2018-10-10 at 09:20 -0400, Gregory Pittman wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On 10/10/2018 06:52 AM, Jonas Bechtel wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre><br></pre><pre><br></pre><pre><br></pre><pre><br></pre><pre><br></pre><pre>On Wed, 10 Oct 2018 11:11:22 +0200</pre><pre>Craig Bradney <</pre><a href="mailto:cbradney@scribus.info"><pre>cbradney@scribus.info</pre></a><pre>> wrote with subject</pre><pre>"Re: [scribus] Binary location // Re: 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>Did you make install?</pre><pre><br></pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On 10 Oct 2018, at 09:50, David Burleigh</pre><pre><</pre><a href="mailto:david.burleigh@saphar.net"><pre>david.burleigh@saphar.net</pre></a><pre>> wrote: </pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Wed, 2018-10-10 at 09:03 +0200, Jonas Bechtel wrote:</pre><pre>On Tue, 09 Oct 2018 17:11:02 -0400David Burleigh <  </pre><a href="mailto:david.burleigh@saphar.net"><pre>david.burleigh@saphar.net</pre></a><pre>> wrote with subject"Re: [scribus] CMake  </pre><pre>Error (variables not found)":  </pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><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><pre>I've been working my way through resolving all the</pre><pre>dependencies tobuild Scribus 1.5.4 on my Debian Testing</pre><pre>system, but have gottento a place where I don't know how to</pre><pre>proceed. Below is the resultof my latest attempt. I would</pre><pre>appreciate any help in getting pastthis point.zerubbabel@dz:~/</pre><pre>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: -- Scribus 1.5.4 will be built and</pre><pre>installed into/home/zerubbabel/scribus-1.5.4-- Machine:</pre><pre>x86_64-linux-gnu, void pointer size: 8-- Found target X86_64--</pre><pre>Building for target x86_64-linux-gnu-- Using standard</pre><pre>ApplicationDataDir. You can change it with-</pre><pre>DAPPLICATION_DATA_DIR-- Using standard ApplicationConfigDir.</pre><pre>You can change it with-DAPPLICATION_CONFIG_DIR-- ----- USE QT</pre><pre>5------- ----- USE QT Widgets------- ----- USE Qt5Gui -------</pre><pre>----- USE QT 5 XML ------- ----- USE Qt5Network ------- -----</pre><pre>USE Qt5OpenGL ------- ----- USE Qt5LinguistTools ------- -----</pre><pre>USE Qt5PrintSupport ------- Qt VERSION: 5.11.1-- Your Qt</pre><pre>version is 5.7.0 or superior, enabling C++11 compilerfeatures-</pre><pre>- Enabling C++11 compiler featuresZLIB Library Found OKNo OSG</pre><pre>found, building without 3D ExtensionJPEG Library Found OKTIFF</pre><pre>Library Found OKPython Library Found OK-- FreeType2 Library</pre><pre>Found OKCAIRO Library Found OKCUPS Library Found OKLIBXML2</pre><pre>Library Found OKLCMS 2 ReleaseLibrary: /usr/lib/x86_64-linux-</pre><pre>gnu/liblcms2.soLCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-</pre><pre>NOTFOUNDLCMS 2 Library: /usr/lib/x86_64-linux-</pre><pre>gnu/liblcms2.soLittleCMS-2 Library Found OKFontConfig Found</pre><pre>OK-- New HUNSPELL API foundHunspell Found OKOpenSSL found OK</pre><pre>for installed version of PoDoFo (>= 0.9.5) -Enabling support</pre><pre>for PDF embedded in AIPoDoFo found OK-- Boost version:</pre><pre>1.62.0Boost Library Found OKBuilding without GraphicksMagick</pre><pre>(use -DWANT_GRAPHICSMAGICK=1 toenable)-- Found poppler-- Found</pre><pre>poppler libs: /usr/lib/x86_64-linux-gnu/libpoppler.so-- Found</pre><pre>poppler includes: POPPLER_INCLUDE_DIR-NOTFOUND-- Including</pre><pre>OpenSSL files for PoDoFo >= 0.9.5CMake Deprecation Warning at</pre><pre>scribus/CMakeLists.txt:1203(cmake_policy):  The OLD behavior</pre><pre>for policy CMP0003 will be removed from afuture version  of</pre><pre>CMake.</pre><pre> The cmake-policies(7) manual explains that the OLD behaviors</pre><pre>ofall policies are deprecated and that a policy should be set</pre><pre>toOLD only under  specific short-term circumstances.  Projects</pre><pre>should be portedto the NEW  behavior and not rely on setting a</pre><pre>policy to OLD.</pre><pre><br></pre><pre>RPATH: lib/scribus/plugins/;</pre><pre>--</pre><pre>Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::NetworkQt5::OpenGL/u</pre><pre>sr/lib/x86_64-linux-gnu/libxml2.so/usr/lib/x86_64-linux-</pre><pre>gnu/libz.soBuilding Corel Draw Importer with</pre><pre>librevengeBuilding Freehand Importer with librevengeBuilding</pre><pre>Pagemaker Importer with librevengeBuilding MS Publisher</pre><pre>Importer with librevengeBuilding QuarkXPress ImporterBuilding</pre><pre>MS-Visio Importer with librevengeBuilding Zoner Draw Importer-</pre><pre>- Building with Scripter 1-- No source header files will be</pre><pre>installed-- /home/zerubbabel/bin/scribus-</pre><pre>1.5.4/resources/translations-- The following GUI languages</pre><pre>will be installed: CMake Error: The following variables are</pre><pre>used in this project, butthey are set to NOTFOUND.Please set</pre><pre>them or make sure they are set and tested correctly inthe</pre><pre>CMake files:POPPLER_INCLUDE_DIR   used as include directory in</pre><pre>directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf   used as include directory</pre><pre>in directory/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/scribus/plugins/import/pdf</pre><pre>-- Configuring incomplete, errors occurred!See also</pre><pre>"/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/build/CMakeFiles/CMakeOutput.log".See also</pre><pre>"/home/zerubbabel/bin/scribus-</pre><pre>1.5.4/build/CMakeFiles/CMakeError.log".zerubbabel@dz:~/bin/scr</pre><pre>ibus-1.5.4/build$    </pre></blockquote><pre><br></pre><pre>I think what it's saying is that it couldn't find poppler. Note</pre><pre>thatthere are 3 different popplers that you need:popplerpoppler-</pre><pre>datapoppler-cpp</pre><pre>which means you need not only these, but the development</pre><pre>packages.In Fedora, this would be poppler-devel, poppler-data-</pre><pre>devel, andpoppler-cpp-devel, so it's whatever the equivalent</pre><pre>names are forDebian.</pre><pre>Greg    </pre></blockquote><pre><br></pre><pre>Well, now the CMake completed without errors, and make</pre><pre>completedwithout errors, and make install completed without</pre><pre>errors, but theredoesn't seem to be any scribus executable</pre><pre>anywhere.   </pre></blockquote><pre><br></pre><pre>Despite the fact that you found the precompiled package, just for</pre><pre>completeness:</pre><pre>I would expect the binary to be named as ~/bin/scribus-</pre><pre>1.5.4/build/scribus/scribus</pre><pre>Did you try to $ find ~/bin/scribus-1.5.4/ -name scribus?  </pre></blockquote><pre>Yes, that's where I expected to find it, but it was not there. I</pre><pre>searched visibly, and with "find" but to no avail. It is odd.</pre><pre>-------------- next part --------------</pre><pre>An HTML attachment was scrubbed...</pre><pre>URL:</pre><pre><</pre><a href="http://lists.scribus.net/pipermail/scribus/attachments/20181010/2642be66/attachment.html"><pre>http://lists.scribus.net/pipermail/scribus/attachments/20181010/2642be66/attachment.html</pre></a><pre>></pre><pre>___ Scribus Mailing List: </pre><a href="mailto:scribus@lists.scribus.net"><pre>scribus@lists.scribus.net</pre></a><pre><br></pre><pre>Edit your options or unsubscribe:</pre><a href="http://lists.scribus.net/mailman/listinfo/scribus"><pre>http://lists.scribus.net/mailman/listinfo/scribus</pre></a><pre><br></pre><pre>See also:</pre><a href="http://wiki.scribus.net"><pre>http://wiki.scribus.net</pre></a><pre><br></pre><a href="http://forums.scribus.net"><pre>http://forums.scribus.net</pre></a><pre>  </pre></blockquote><pre><br></pre></blockquote><pre><br></pre><pre><br></pre><pre>You don't need to do 'make install' for letting the binary be linked. </pre><pre><br></pre><pre>@David Burleigh: So then the CMake logs have to be examined. AFAIK there is a common place for those logs.</pre><pre><br></pre><pre>When you run "make" you should see as on of the last messages "Linking CXX executable scribus". (emitted by ~/bin/scribus-1.5.4/build/scribus/CMakeFiles/scribus.dir/build.make which is invoked by target scribus/CMakeFiles/scribus.dir/all in Makefile CMakeFiles/Makefile2)</pre><pre><br></pre><pre>Could you show what following command sequence returns?</pre><pre>cd ~/bin/scribus-1.5.4/build</pre><pre>make</pre><pre>make -f scribus/CMakeFiles/scribus.dir/build.make scribus/scribus</pre></blockquote><pre><br></pre><pre>When I run 'make install', I see a list which tells me precisely where</pre><pre>things went, e.g.:</pre><pre><br></pre><pre>-- Installing:</pre><pre>/home/gregp/scribus15x/share/scribus/translations/scribus.zh_TW.qm</pre><pre><br></pre><pre>From this I know that the binary has gone to /home/gregp/scribus15x/bin</pre><pre><br></pre><pre>Didn't you see this?</pre><pre><br></pre><pre>Greg</pre><pre><br></pre></blockquote><pre><br></pre><pre>Well, I did the whole build again from scratch, and the executable is where I expected it. I don't know what happened the first time, but thanks for offering your help.</pre></body></html>