[scribus] tried to compile scribus under GNU Linux Debian 10

dude forum4 at dwaves.de
Wed May 19 13:07:11 UTC 2021


# tried to compile scribus under GNU Linux Debian 10

hostnamectl; # tested on
   Static hostname: debian10
    Virtualization: oracle
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.0-16-amd64
      Architecture: x86-64

# 1) started with:

git clone https://salsa.debian.org/debian/scribus

# 2) went on like:

su - root

apt-get build-dep scribus
gcc --version
/usr/bin/cc --version

apt install qtbase5-dev
apt-get install qtdeclarative5-dev
apt search qt5 at grep lingu
apt install qttools5-dev
apt install g++
apt install libpoppler-qt5-1
apt install libpoppler-dev
apt install libpoppler-qt5-dev
apt install pkg-config
apt search librevenge
apt install librevenge-0.0-0
apt install librevenge-dev
apt search harfbuzz
apt install libharfbuzz-de
apt install libharfbuzz-dev
apt search libcdr-0.1
apt install libcdr-0.1-1
apt install libfreehand-0.1
apt install libpagemaker-0.0
apt install libmspub-0.1
apt install libqxp-0.0
apt install libvisio-0.1

# as non root

# user at debian10:/software/scribus/scribus$

cmake ./
-- CMake Version: 3.13.4
-- Shared Library Flags:
-- Scribus 1.5.6.1 will be built and installed into /usr/local
-- 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
-- Enabling C++11 compiler features
-- ----- USE QT 5-----
-- ----- USE QT Widgets-----
-- ----- USE Qt5Gui -----
-- ----- USE QT 5 XML -----
-- ----- USE Qt5Network -----
-- ----- USE Qt5OpenGL -----
-- ----- USE Qt5LinguistTools -----
-- ----- USE Qt5PrintSupport -----
-- Qt VERSION: 5.11.3
ZLIB Library Found OK
No OSG found, building without 3D Extension
JPEG Library Found OK
PNG Library Found OK
TIFF Library Found OK
Python 3.x Selected
Python 3.x Library Found OK (Version 3.7.3)
Interpreter: /usr/bin/python3.7
Include directories: /usr/include/python3.7m
Library directories: /usr/lib/python3.7/config-3.7m-x86_64-linux-gnu
Runtime library directories: /usr/lib/python3.7/config-3.7m-x86_64-linux-gnu
-- 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 version 1.7.0
-- HUNSPELL INCLUDE /usr/include/hunspell
-- HUNSPELL LIBRARIES hunspell-1.7
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.67.0
Boost Library Found OK
Building without  GraphicsMagick (use -DWANT_GRAPHICSMAGICK=1 to enable)
-- Checking for one of the modules
'libpoppler-cpp>=0.62.0;poppler-cpp>=0.62.0'
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:679
(message):
  None of the required 'libpoppler-cpp>=0.62.0;poppler-cpp>=0.62.0' found
Call Stack (most recent call first):
  cmake/modules/FindPOPPLER.cmake:4 (pkg_search_module)
  CMakeLists_Dependencies.cmake:300 (find_package)
  CMakeLists.txt:380 (include)


-- 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:1228 (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
-- Checking for module 'libcdr-0.1>=0.1'
--   Package 'libcdr-0.1', required by 'virtual:world', not found
-- Checking for module 'libfreehand-0.1'
--   Package 'libfreehand-0.1', required by 'virtual:world', not found
-- Checking for module 'libpagemaker-0.0'
--   Package 'libpagemaker-0.0', required by 'virtual:world', not found
-- Checking for module 'libmspub-0.1>=0.1'
--   Package 'libmspub-0.1', required by 'virtual:world', not found
-- Checking for module 'libqxp-0.0'
--   Package 'libqxp-0.0', required by 'virtual:world', not found
-- Checking for module 'libvisio-0.1>=0.1'
--   Package 'libvisio-0.1', required by 'virtual:world', not found
-- Checking for module 'libzmf-0.0'
--   Package 'libzmf-0.0', required by 'virtual:world', not found
-- Qt based Markdown plugin: Qt version < 5.14.0 so skipping build,
Installed version: 5.11.3
-- Building with Scripter 1
-- No source header files will be installed
CMake Error at CMakeLists.txt:466 (add_subdirectory):
  add_subdirectory given source "doc" which is not an existing directory.


CMake Error at CMakeLists.txt:467 (add_subdirectory):
  add_subdirectory given source "resources/dicts" which is not an existing
  directory.


-- /software/scribus/scribus/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_CPP_INCLUDE_DIR
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
POPPLER_INCLUDE_DIR
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf
   used as include directory in directory
/software/scribus/scribus/scribus/plugins/import/pdf

-- Configuring incomplete, errors occurred!
See also "/software/scribus/scribus/CMakeFiles/CMakeOutput.log".


# also tried with

git clone https://git.code.sf.net/p/scribus/trunk scribus-trunk

user at debian10:/software/scribus-trunk/Scribus$ cmake ./
CMake Warning (dev) at CMakeLists.txt:563:
  Syntax Warning in cmake code at column 25

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Shared Library Flags:
-- Scribus 1.5.0.svn will be built to install into /usr/local
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86
-- Found target X86_64
-- Building for target x86_64-linux-gnu
CMake Deprecation Warning at CMakeLists.txt:240 (CMAKE_POLICY):
  The OLD behavior for policy CMP0005 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.


-- Using standard ApplicationDataDir. You can change it with
-DAPPLICATION_DATA_DIR
*Qt QTOPENGL library not found.**
**Qt QTWEBKIT library not found.**
*Qt4 Found OK
CMake Error at CMakeLists.txt:473 (MESSAGE):
  QtWebKit not found


# which library does it want installed?

apt search qt5|grep -B 3 -A 2 web

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

gambas3-gb-qt5-opengl/stable 3.12.2-1 amd64
  Gambas OpenGL component with QT5 toolkit

gambas3-gb-qt5-webkit/stable 3.12.2-1 amd64
  Gambas WebKit component

--
  Debugging symbols for the fingerprint library (Qt5 build)

liblastfm5-1/stable 1.0.9-1+b11 amd64
  Last.fm web services library (Qt5 build)

liblastfm5-dbg/stable 1.0.9-1+b11 amd64
  Debugging symbols for the Last.fm web services library (Qt5 build)

liblastfm5-dev/stable 1.0.9-1+b11 amd64
  Last.fm web services library (Qt5 build) - development files

liblightdm-qt5-3-0/stable 1.26.0-4 amd64
--
libqt5waylandcompositor5-dev/stable 5.11.3-2 amd64
  QtWayland compositor development files

libqt5webchannel5/stable,now 5.11.3-2 amd64 [installed,automatic]
  Web communication library for Qt

libqt5webchannel5-dev/stable 5.11.3-2 amd64
  Web communication library for Qt - development files

libqt5webengine-data/stable 5.11.3+dfsg-2+deb10u1 all
  Web content engine library for Qt - Data

libqt5webengine5/stable 5.11.3+dfsg-2+deb10u1 amd64
  Web content engine library for Qt

libqt5webenginecore5/stable 5.11.3+dfsg-2+deb10u1 amd64
  Web content engine library for Qt - Core

libqt5webenginewidgets5/stable 5.11.3+dfsg-2+deb10u1 amd64
  Web content engine library for Qt - Widget

libqt5webkit5/stable,now 5.212.0~alpha2-21 amd64 [installed]
  Web content engine library for Qt

libqt5webkit5-dev/stable,now 5.212.0~alpha2-21 amd64 [installed]
  Web content engine library for Qt - development files

libqt5websockets5/stable 5.11.3-5 amd64
  Qt 5 Web Sockets module

libqt5websockets5-dev/stable 5.11.3-5 amd64
  Qt 5 Web Sockets module - development files

libqt5webview5/stable 5.11.3-2 amd64
  display web content in a QML application - Library

libqt5webview5-dev/stable 5.11.3-2 amd64
  display web content in a QML application - Development Files

libqt5widgets5/stable,now 5.11.3+dfsg1-1+deb10u4 amd64 [installed,automatic]
--
python-pyqt5.qtsvg-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's SVG module (debug extension)

python-pyqt5.qtwebchannel/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's WebChannel module

python-pyqt5.qtwebchannel-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's Webchannel module (debug extension)

python-pyqt5.qtwebengine/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's WebEngine module

python-pyqt5.qtwebengine-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's WebEngine module (debug extensions)

python-pyqt5.qtwebkit/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's WebKit module

python-pyqt5.qtwebkit-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's WebKit module (debug extensions)

python-pyqt5.qtwebsockets/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's WebSockets module

python-pyqt5.qtwebsockets-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 2 bindings for Qt5's WebSockets module (debug extension)

--
python-pyside2.qtuitools/stable 5.11.2-3 amd64
  Python bindings for Qt5 UiTools module (Python 2)

python-pyside2.qtwebchannel/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebChannel module (Python 2)

python-pyside2.qtwebenginecore/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebEngineCore module (Python 2)

python-pyside2.qtwebenginewidgets/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebEngineWidgets module (Python 2)

python-pyside2.qtwebsockets/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebSockets module (Python 2)

--
python3-pyqt5.qtsvg-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's SVG module (debug extension)

python3-pyqt5.qtwebchannel/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's WebChannel module

python3-pyqt5.qtwebchannel-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's Webchannel module (debug extension)

python3-pyqt5.qtwebengine/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's WebEngine module

python3-pyqt5.qtwebengine-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's WebEngine module (debug extensions)

python3-pyqt5.qtwebkit/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's WebKit module

python3-pyqt5.qtwebkit-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's WebKit module (debug extensions)

python3-pyqt5.qtwebsockets/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's WebSockets module

python3-pyqt5.qtwebsockets-dbg/stable 5.11.3+dfsg-1+b3 amd64
  Python 3 bindings for Qt5's WebSockets module (debug extensions)

--
python3-pyside2.qtuitools/stable 5.11.2-3 amd64
  Python bindings for Qt5 UiTools module (Python 3)

python3-pyside2.qtwebchannel/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebChannel module (Python 3)

python3-pyside2.qtwebenginecore/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebEngineCore module (Python 3)

python3-pyside2.qtwebenginewidgets/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebEngineWidgets module (Python 3)

python3-pyside2.qtwebsockets/stable 5.11.2-3 amd64
  Python bindings for Qt5 WebSockets module (Python 3)

--
qutebrowser/stable 1.6.1-2 all
  Keyboard-driven, vim-like browser based on PyQt5

qutebrowser-qtwebengine/stable 1.6.1-2 all
  QtWebEngine backend dependency package for qutebrowser

qutebrowser-qtwebkit/stable 1.6.1-2 all
  QtWebKit backend dependency package for qutebrowser

# any hints?

# would love to build a scribus.1.5.7.64Bit.deb :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20210519/07adf625/attachment.htm>


More information about the scribus mailing list