[scribus] Binary location // Re: CMake Error (variables not found)
Gregory Pittman
gpittman at iglou.com
Wed Oct 10 13:20:24 UTC 2018
On 10/10/2018 06:52 AM, Jonas Bechtel wrote:
>
>
>
>
>
> On Wed, 10 Oct 2018 11:11:22 +0200
> Craig Bradney <cbradney at scribus.info> wrote with subject
> "Re: [scribus] Binary location // Re: CMake Error (variables not found)":
>
>> Did you make install?
>>
>>> On 10 Oct 2018, at 09:50, David Burleigh
>>> <david.burleigh at saphar.net> wrote:
>>>> On Wed, 2018-10-10 at 09:03 +0200, Jonas Bechtel wrote:
>>>> On Tue, 09 Oct 2018 17:11:02 -0400David Burleigh <
>>>> david.burleigh at saphar.net> wrote with subject"Re: [scribus] CMake
>>>> Error (variables not found)":
>>>>>> On Tue, 2018-10-09 at 12:52 -0400, Gregory Pittman wrote:
>>>>>>> On 10/09/2018 11:28 AM, David Burleigh wrote:
>>>>>>> I've been working my way through resolving all the
>>>>>>> dependencies tobuild Scribus 1.5.4 on my Debian Testing
>>>>>>> system, but have gottento a place where I don't know how to
>>>>>>> proceed. Below is the resultof my latest attempt. I would
>>>>>>> appreciate any help in getting pastthis 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 compilerfeatures-
>>>>>>> - Enabling C++11 compiler featuresZLIB Library Found OKNo OSG
>>>>>>> found, building without 3D ExtensionJPEG Library Found OKTIFF
>>>>>>> Library Found OKPython Library Found OK-- FreeType2 Library
>>>>>>> Found OKCAIRO Library Found OKCUPS Library Found OKLIBXML2
>>>>>>> Library Found OKLCMS 2 ReleaseLibrary: /usr/lib/x86_64-linux-
>>>>>>> gnu/liblcms2.soLCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-
>>>>>>> NOTFOUNDLCMS 2 Library: /usr/lib/x86_64-linux-
>>>>>>> gnu/liblcms2.soLittleCMS-2 Library Found OKFontConfig Found
>>>>>>> OK-- New HUNSPELL API foundHunspell Found OKOpenSSL found OK
>>>>>>> for installed version of PoDoFo (>= 0.9.5) -Enabling support
>>>>>>> for PDF embedded in AIPoDoFo found OK-- Boost version:
>>>>>>> 1.62.0Boost Library Found OKBuilding without GraphicksMagick
>>>>>>> (use -DWANT_GRAPHICSMAGICK=1 toenable)-- 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.5CMake Deprecation Warning at
>>>>>>> scribus/CMakeLists.txt:1203(cmake_policy): The OLD behavior
>>>>>>> for policy CMP0003 will be removed from afuture version of
>>>>>>> CMake.
>>>>>>> The cmake-policies(7) manual explains that the OLD behaviors
>>>>>>> ofall policies are deprecated and that a policy should be set
>>>>>>> toOLD only under specific short-term circumstances. Projects
>>>>>>> should be portedto the NEW behavior and not rely on setting a
>>>>>>> policy to OLD.
>>>>>>>
>>>>>>> RPATH: lib/scribus/plugins/;
>>>>>>> --
>>>>>>> Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::NetworkQt5::OpenGL/u
>>>>>>> sr/lib/x86_64-linux-gnu/libxml2.so/usr/lib/x86_64-linux-
>>>>>>> gnu/libz.soBuilding Corel Draw Importer with
>>>>>>> librevengeBuilding Freehand Importer with librevengeBuilding
>>>>>>> Pagemaker Importer with librevengeBuilding MS Publisher
>>>>>>> Importer with librevengeBuilding QuarkXPress ImporterBuilding
>>>>>>> MS-Visio Importer with librevengeBuilding 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, butthey are set to NOTFOUND.Please set
>>>>>>> them or make sure they are set and tested correctly inthe
>>>>>>> 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/scr
>>>>>>> ibus-1.5.4/build$
>>>>>>
>>>>>> I think what it's saying is that it couldn't find poppler. Note
>>>>>> thatthere are 3 different popplers that you need:popplerpoppler-
>>>>>> datapoppler-cpp
>>>>>> which means you need not only these, but the development
>>>>>> packages.In Fedora, this would be poppler-devel, poppler-data-
>>>>>> devel, andpoppler-cpp-devel, so it's whatever the equivalent
>>>>>> names are forDebian.
>>>>>> Greg
>>>>>
>>>>> Well, now the CMake completed without errors, and make
>>>>> completedwithout errors, and make install completed without
>>>>> errors, but theredoesn't seem to be any scribus executable
>>>>> anywhere.
>>>>
>>>> Despite the fact that you found the precompiled package, just for
>>>> completeness:
>>>> I would expect the binary to be named as ~/bin/scribus-
>>>> 1.5.4/build/scribus/scribus
>>>> Did you try to $ find ~/bin/scribus-1.5.4/ -name scribus?
>>> 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.
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
>>> <http://lists.scribus.net/pipermail/scribus/attachments/20181010/2642be66/attachment.html>
>>> ___ Scribus Mailing List: scribus at lists.scribus.net
>>> Edit your options or unsubscribe:
>>> http://lists.scribus.net/mailman/listinfo/scribus
>>> See also:
>>> http://wiki.scribus.net
>>> http://forums.scribus.net
>>
>
>
> You don't need to do 'make install' for letting the binary be linked.
>
> @David Burleigh: So then the CMake logs have to be examined. AFAIK there is a common place for those logs.
>
> 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)
>
> Could you show what following command sequence returns?
> cd ~/bin/scribus-1.5.4/build
> make
> make -f scribus/CMakeFiles/scribus.dir/build.make scribus/scribus
When I run 'make install', I see a list which tells me precisely where
things went, e.g.:
-- Installing:
/home/gregp/scribus15x/share/scribus/translations/scribus.zh_TW.qm
>From this I know that the binary has gone to /home/gregp/scribus15x/bin
Didn't you see this?
Greg
More information about the scribus
mailing list