[scribus] Binary location // Re: CMake Error (variables not found)
David Burleigh
david.burleigh at saphar.net
Wed Oct 10 17:56:34 UTC 2018
On Wed, 2018-10-10 at 09:20 -0400, Gregory Pittman wrote:
> On 10/10/2018 06:52 AM, Jonas Bechtel wrote:
> >
> >
> >
> > On Wed, 10 Oct 2018 11:11:22 +0200Craig 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
> > > > > > > > thedependencies tobuild Scribus 1.5.4 on my Debian
> > > > > > > > Testingsystem, but have gottento a place where I don't
> > > > > > > > know how toproceed. Below is the resultof my latest
> > > > > > > > attempt. I wouldappreciate 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 andinstalled 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 standardApplicationDataDir. You can change
> > > > > > > > it with-DAPPLICATION_DATA_DIR-- Using standard
> > > > > > > > ApplicationConfigDir.You can change it with-
> > > > > > > > DAPPLICATION_CONFIG_DIR-- ----- USE QT5------- -----
> > > > > > > > USE QT Widgets------- ----- USE Qt5Gui ------------
> > > > > > > > USE QT 5 XML ------- ----- USE Qt5Network ------- ----
> > > > > > > > -USE Qt5OpenGL ------- ----- USE Qt5LinguistTools ----
> > > > > > > > --- -----USE Qt5PrintSupport ------- Qt VERSION:
> > > > > > > > 5.11.1-- Your Qtversion is 5.7.0 or superior, enabling
> > > > > > > > C++11 compilerfeatures-- Enabling C++11 compiler
> > > > > > > > featuresZLIB Library Found OKNo OSGfound, building
> > > > > > > > without 3D ExtensionJPEG Library Found OKTIFFLibrary
> > > > > > > > Found OKPython Library Found OK-- FreeType2
> > > > > > > > LibraryFound OKCAIRO Library Found OKCUPS Library
> > > > > > > > Found OKLIBXML2Library 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 FoundOK-- New HUNSPELL API
> > > > > > > > foundHunspell Found OKOpenSSL found OKfor installed
> > > > > > > > version of PoDoFo (>= 0.9.5) -Enabling supportfor PDF
> > > > > > > > embedded in AIPoDoFo found OK-- Boost
> > > > > > > > version:1.62.0Boost Library Found OKBuilding without
> > > > > > > > GraphicksMagick(use -DWANT_GRAPHICSMAGICK=1 toenable)-
> > > > > > > > - Found poppler-- Foundpoppler libs: /usr/lib/x86_64-
> > > > > > > > linux-gnu/libpoppler.so-- Foundpoppler includes:
> > > > > > > > POPPLER_INCLUDE_DIR-NOTFOUND-- IncludingOpenSSL files
> > > > > > > > for PoDoFo >= 0.9.5CMake Deprecation Warning
> > > > > > > > atscribus/CMakeLists.txt:1203(cmake_policy): The OLD
> > > > > > > > behaviorfor policy CMP0003 will be removed from
> > > > > > > > afuture version ofCMake. The cmake-policies(7) manual
> > > > > > > > explains that the OLD behaviorsofall policies are
> > > > > > > > deprecated and that a policy should be settoOLD only
> > > > > > > > under specific short-term
> > > > > > > > circumstances. Projectsshould be portedto the
> > > > > > > > NEW behavior and not rely on setting apolicy 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.soBuilding Corel Draw Importer
> > > > > > > > withlibrevengeBuilding Freehand Importer with
> > > > > > > > librevengeBuildingPagemaker Importer with
> > > > > > > > librevengeBuilding MS PublisherImporter with
> > > > > > > > librevengeBuilding QuarkXPress ImporterBuildingMS-
> > > > > > > > Visio Importer with librevengeBuilding Zoner Draw
> > > > > > > > Importer-- Building with Scripter 1-- No source header
> > > > > > > > files will beinstalled-- /home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/resources/translations-- The following GUI
> > > > > > > > languageswill be installed: CMake Error: The following
> > > > > > > > variables areused in this project, butthey are set to
> > > > > > > > NOTFOUND.Please setthem or make sure they are set and
> > > > > > > > tested correctly intheCMake
> > > > > > > > files:POPPLER_INCLUDE_DIR used as include directory
> > > > > > > > indirectory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin directory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin directory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin directory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin directory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin directory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin directory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin directory/home/zerubbabel/bin/scribus-
> > > > > > > > 1.5.4/scribus/plugins/import/pdf used as include
> > > > > > > > directoryin 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. Notethatthere are 3 different popplers that you
> > > > > > > need:popplerpoppler-datapoppler-cppwhich means you need
> > > > > > > not only these, but the developmentpackages.In Fedora,
> > > > > > > this would be poppler-devel, poppler-data-devel,
> > > > > > > andpoppler-cpp-devel, so it's whatever the
> > > > > > > equivalentnames are forDebian.Greg
> > > > > >
> > > > > > Well, now the CMake completed without errors, and
> > > > > > makecompletedwithout errors, and make install completed
> > > > > > withouterrors, but theredoesn't seem to be any scribus
> > > > > > executableanywhere.
> > > > >
> > > > > Despite the fact that you found the precompiled package,
> > > > > just forcompleteness:I would expect the binary to be named
> > > > > as ~/bin/scribus-1.5.4/build/scribus/scribusDid 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.
> > > > Isearched 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/buildmakemake -f
> > scribus/CMakeFiles/scribus.dir/build.make scribus/scribus
>
> When I run 'make install', I see a list which tells me precisely
> wherethings 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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20181010/54bb7e09/attachment.html>
More information about the scribus
mailing list