Raspberry PI support...
Tonio Kroeger
tonio.kroeger1903 at gmail.com
Mon Oct 26 14:56:41 GMT 2020
Hi all,
I had another try with digikam on my raspberry pi. I started with a plain
new raspian os installation and I do not get beyond an error message
from "cmake
.":
CMake Error at /usr/lib/arm-linux-gnueabihf/cmake/Qt5/Qt5Config.cmake:28
(find_package):
Could not find a package configuration file provided by
"Qt5WebEngineWidgets" with any of the following names:
Qt5WebEngineWidgetsConfig.cmake
qt5webenginewidgets-config.cmake
Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the
above
files. If "Qt5WebEngineWidgets" provides a separate development package
or
SDK, be sure it has been installed.
Call Stack (most recent call first):
core/CMakeLists.txt:66 (find_package)
-- Configuring incomplete, errors occurred!
Probably this is not digikam specific?
My detailed steps are given below.
Maybe someone can give me a hint...
Thanks a lot
TK
*1. Plain new installation:*
@raspi8:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
*2. Installed the packages
from https://github.com/cgilles/digikam-install-deps/blob/master/preparehost-raspberryos.sh
<https://github.com/cgilles/digikam-install-deps/blob/master/preparehost-raspberryos.sh>*
sudo apt-get install -y \
wget `# For GMicQt.` \
tar `# AppImage legacy ?` \
bzip2 `# AppImage legacy ?` \
gettext `# i18n.` \
git `# source code is hosted on git server.` \
subversion `# translations are hosted on svn server.` \
libtool `# AppImage legacy ?` \
fuse `# AppImage legacy ?` \
automake `# AppImage legacy ?` \
cmake `# To compile source code.` \
gcc-8 `# To compile source code.` \
patch `# To compile source code.` \
libx11-xcb-dev `# X11 requirement for QtBase.` \
libxcb-keysyms1-dev `# X11 requirement for QtBase.` \
libxcb-util0-dev `# X11 requirement for QtBase.` \
xkb-data `# X11 requirement for QtBase.` \
xscreensaver `# X11 requirement for QtBase.` \
gperf `# To compile Qt.` \
zlib1g-dev `# To compile Qt.` \
ruby `# translations extractions scripts.` \
bison `# Panorama tool.` \
flex `# Panorama tool.` \
libexpat1-dev `# For Exiv2 and Adobe DSK` \
libfuse-dev `# AppImage legacy ?` \
libc6-dev `# To compile Qt.` \
libmariadb-dev `# To compile Qt.` \
libeigen3-dev `# Refocus tool.` \
libcppunit-dev `# AppImage legacy ?` \
libstdc++-8-dev `# For QtWebEngine` \
liblcms2-dev `# Color management support.` \
libudev-dev `# AppImage legacy ?` \
liblzma-dev `# To compile Qt.` \
libinotifytools0-dev `# To compile Qt.` \
libcups2-dev `# To compile Qt.` \
apt-get install -y \
wget `# For GMicQt.` \
tar `# AppImage legacy ?` \
bzip2 `# AppImage legacy ?` \
gettext `# i18n.` \
git `# source code is hosted on git
server.` \
subversion `# translations are hosted on svn
server.` \
libtool `# AppImage legacy ?` \
fuse `# AppImage legacy ?` \
automake `# AppImage legacy ?` \
cmake `# To compile source code.` \
gcc-8 `# To compile source code.` \
patch `# To compile source code.` \
libx11-xcb-dev `# X11 requirement for QtBase.` \
libxcb-keysyms1-dev `# X11 requirement for QtBase.` \
libxcb-util0-dev `# X11 requirement for QtBase.` \
xkb-data `# X11 requirement for QtBase.` \
xscreensaver `# X11 requirement for QtBase.` \
gperf `# To compile Qt.` \
zlib1g-dev `# To compile Qt.` \
ruby `# translations extractions scripts.` \
bison `# Panorama tool.` \
flex `# Panorama tool.` \
libexpat1-dev `# For Exiv2 and Adobe DSK` \
libfuse-dev `# AppImage legacy ?` \
libc6-dev `# To compile Qt.` \
libmariadb-dev `# To compile Qt.` \
libeigen3-dev `# Refocus tool.` \
libcppunit-dev `# AppImage legacy ?` \
libstdc++-8-dev `# For QtWebEngine` \
liblcms2-dev `# Color management support.` \
libudev-dev `# AppImage legacy ?` \
liblzma-dev `# To compile Qt.` \
libinotifytools0-dev `# To compile Qt.` \
libcups2-dev `# To compile Qt.` \
libopenal-dev `# For QtAv` \
libfontconfig1-dev `# To compile Qt.` \
libfreetype6-dev `# To compile Qt.` \
patchelf `# AppImage legacy ?` \
dpkg `# AppImage legacy ?` \
ninja `# For QtWebEngine` \
python `# For QtWebEngine` \
ruby-dev `# For QtWebEngine` \
libsqlite3-dev `# To compile Qt.` \
libavcodec-dev `# For QtAv` \
libavdevice-dev `# For QtAv` \
libavfilter-dev `# For QtAv` \
libavformat-dev `# For QtAv` \
libavresample-dev `# For QtAv` \
libavutil-dev `# For QtAv` \
libpostproc-dev `# For QtAv` \
libswresample-dev `# For QtAv` \
libboost-dev `# DK deps.` \
libgphoto2-dev `# DK deps.` \
libsane-dev `# DK deps.` \
libjasper-dev `# DK deps.` \
libexif-dev `# AppImage legacy ?` \
libxslt1-dev `# DK deps.` \
libdrm-dev `# To compile Qt.` \
libicu-dev `# To compile Qt.` \
libproxy-dev `# To compile Qt.` \
libical-dev `# DK deps.` \
libcap-dev `# To compile Qt.` \
libxml2-dev `# DK deps.` \
libnss3-dev `# To compile Qt.` \
libxkbcommon-dev `# To compile Qt.` \
libxi-dev `# For QtWebEngine` \
libxtst-dev `# For QtWebEngine` \
libxrandr-dev `# For QtWebEngine` \
libxcursor-dev `# For QtWebEngine` \
libxcomposite-dev `# For QtWebEngine` \
libxrender-dev `# For QtWebEngine` \
libglu1-mesa-dev `# For QtWebEngine` \
libegl1-mesa-dev `# For QtWebEngine` \
libltdl-dev `# For QtWebEngine` \
libglib2.0-dev `# For QtWebEngine` \
libusb-1.0-0-dev `# For Gphoto2 support` \
libjpeg-dev `# DK deps.` \
libpng-dev `# DK deps.` \
libtiff-dev `# DK deps.` \
liblqr-1-0-dev `# DK deps.` \
libfftw3-dev `# QMicQt.` \
libcurl4-nss-dev `# QMicQt.` \
libmagick++-dev `# DK deps.` \
libwayland-dev `# To Compile Qt.`apt-get install -y \
wget `# For GMicQt.` \
tar `# AppImage legacy ?` \
bzip2 `# AppImage legacy ?` \
gettext `# i18n.` \
git `# source code is hosted on git
server.` \
subversion `# translations are hosted on svn
server.` \
libtool `# AppImage legacy ?` \
fuse `# AppImage legacy ?` \
automake `# AppImage legacy ?` \
cmake `# To compile source code.` \
gcc-8 `# To compile source code.` \
patch `# To compile source code.` \
libx11-xcb-dev `# X11 requirement for QtBase.` \
libxcb-keysyms1-dev `# X11 requirement for QtBase.` \
libxcb-util0-dev `# X11 requirement for QtBase.` \
xkb-data `# X11 requirement for QtBase.` \
xscreensaver `# X11 requirement for QtBase.` \
gperf `# To compile Qt.` \
zlib1g-dev `# To compile Qt.` \
ruby `# translations extractions scripts.` \
bison `# Panorama tool.` \
flex `# Panorama tool.` \
libexpat1-dev `# For Exiv2 and Adobe DSK` \
libfuse-dev `# AppImage legacy ?` \
libc6-dev `# To compile Qt.` \
libmariadb-dev `# To compile Qt.` \
libeigen3-dev `# Refocus tool.` \
libcppunit-dev `# AppImage legacy ?` \
libstdc++-8-dev `# For QtWebEngine` \
liblcms2-dev `# Color management support.` \
libudev-dev `# AppImage legacy ?` \
liblzma-dev `# To compile Qt.` \
libinotifytools0-dev `# To compile Qt.` \
libcups2-dev `# To compile Qt.` \
libopenal-dev `# For QtAv` \
libfontconfig1-dev `# To compile Qt.` \
libfreetype6-dev `# To compile Qt.` \
patchelf `# AppImage legacy ?` \
dpkg `# AppImage legacy ?` \
ninja `# For QtWebEngine` \
python `# For QtWebEngine` \
ruby-dev `# For QtWebEngine` \
libsqlite3-dev `# To compile Qt.` \
libavcodec-dev `# For QtAv` \
libavdevice-dev `# For QtAv` \
libavfilter-dev `# For QtAv` \
libavformat-dev `# For QtAv` \
libavresample-dev `# For QtAv` \
libavutil-dev `# For QtAv` \
libpostproc-dev `# For QtAv` \
libswresample-dev `# For QtAv` \
libboost-dev `# DK deps.` \
libgphoto2-dev `# DK deps.` \
libsane-dev `# DK deps.` \
libjasper-dev `# DK deps.` \
libexif-dev `# AppImage legacy ?` \
libxslt1-dev `# DK deps.` \
libdrm-dev `# To compile Qt.` \
libicu-dev `# To compile Qt.` \
libproxy-dev `# To compile Qt.` \
libical-dev `# DK deps.` \
libcap-dev `# To compile Qt.` \
libxml2-dev `# DK deps.` \
libnss3-dev `# To compile Qt.` \
libxkbcommon-dev `# To compile Qt.` \
libxi-dev `# For QtWebEngine` \
libxtst-dev `# For QtWebEngine` \
libxrandr-dev `# For QtWebEngine` \
libxcursor-dev `# For QtWebEngine` \
libxcomposite-dev `# For QtWebEngine` \
libxrender-dev `# For QtWebEngine` \
libglu1-mesa-dev `# For QtWebEngine` \
libegl1-mesa-dev `# For QtWebEngine` \
libltdl-dev `# For QtWebEngine` \
libglib2.0-dev `# For QtWebEngine` \
libusb-1.0-0-dev `# For Gphoto2 support` \
libjpeg-dev `# DK deps.` \
libpng-dev `# DK deps.` \
libtiff-dev `# DK deps.` \
liblqr-1-0-dev `# DK deps.` \
libfftw3-dev `# QMicQt.` \
libcurl4-nss-dev `# QMicQt.` \
libmagick++-dev `# DK deps.` \
libwayland-dev `# To Compile Qt.` libopenal-dev `# For
QtAv` \
libfontconfig1-dev `# To compile Qt.` \
libfreetype6-dev `# To compile Qt.` \
patchelf `# AppImage legacy ?` \
dpkg `# AppImage legacy ?` \
ninja `# For QtWebEngine` \
python `# For QtWebEngine` \
ruby-dev `# For QtWebEngine` \
libsqlite3-dev `# To compile Qt.` \
libavcodec-dev `# For QtAv` \
libavdevice-dev `# For QtAv` \
libavfilter-dev `# For QtAv` \
libavformat-dev `# For QtAv` \
libavresample-dev `# For QtAv` \
libavutil-dev `# For QtAv` \
libpostproc-dev `# For QtAv` \
libswresample-dev `# For QtAv` \
libboost-dev `# DK deps.` \
libgphoto2-dev `# DK deps.` \
libsane-dev `# DK deps.` \
libjasper-dev `# DK deps.` \
libexif-dev `# AppImage legacy ?` \
libxslt1-dev `# DK deps.` \
libdrm-dev `# To compile Qt.` \
libicu-dev `# To compile Qt.` \
libproxy-dev `# To compile Qt.` \
libical-dev `# DK deps.` \
libcap-dev `# To compile Qt.` \
libxml2-dev `# DK deps.` \
libnss3-dev `# To compile Qt.` \
libxkbcommon-dev `# To compile Qt.` \
libxi-dev `# For QtWebEngine` \
libxtst-dev `# For QtWebEngine` \
libxrandr-dev `# For QtWebEngine` \
libxcursor-dev `# For QtWebEngine` \
libxcomposite-dev `# For QtWebEngine` \
libxrender-dev `# For QtWebEngine` \
libglu1-mesa-dev `# For QtWebEngine` \
libegl1-mesa-dev `# For QtWebEngine` \
libltdl-dev `# For QtWebEngine` \
libglib2.0-dev `# For QtWebEngine` \
libusb-1.0-0-dev `# For Gphoto2 support` \
libjpeg-dev `# DK deps.` \
libpng-dev `# DK deps.` \
libtiff-dev `# DK deps.` \
liblqr-1-0-dev `# DK deps.` \
libfftw3-dev `# QMicQt.` \
libcurl4-nss-dev `# QMicQt.` \
libmagick++-dev `# DK deps.` \
libwayland-dev `# To Compile Qt.`
*3. Downloaded and
extracted https://download.kde.org/stable/digikam/7.1.0/digikam-7.1.0.tar.xz
<https://download.kde.org/stable/digikam/7.1.0/digikam-7.1.0.tar.xz>*
*4. cd ~/digikam-7.1.0*
*5. started configuration as given in ~/digikam-7.1.0/README.md*
export VERBOSE=1
export QTDIR=/usr/lib/qt5 --> changed to "export
QTDIR=/usr/lib/arm-linux-gnueabihf/qt5"
export PATH=$QTDIR/bin:$PATH
cmake .
raspi8:~/digikam-7.1.0 $ cmake .
Re-run cmake no build system arguments
-- CMake version: cmake version 3.13.4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for digikam
--
CMake Error at CMakeLists.txt:65 (find_package):
Could not find a package configuration file provided by "ECM" (requested
version 1.7.0) with any of the following names:
ECMConfig.cmake
ecm-config.cmake
Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
to a directory containing one of the above files. If "ECM" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
*6. sudo apt install extra-cmake-modules*
After this I get the following result from cmake .:
-- Check dependencies for digikam version 7.1.0
--
CMake Error at /usr/lib/arm-linux-gnueabihf/cmake/Qt5/Qt5Config.cmake:28
(find_package):
Could not find a package configuration file provided by
"Qt5WebEngineWidgets" with any of the following names:
Qt5WebEngineWidgetsConfig.cmake
qt5webenginewidgets-config.cmake
Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the
above
files. If "Qt5WebEngineWidgets" provides a separate development package
or
SDK, be sure it has been installed.
Call Stack (most recent call first):
core/CMakeLists.txt:66 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jochen/digikam-7.1.0/CMakeFiles/CMakeOutput.log".
See also "/home/jochen/digikam-7.1.0/CMakeFiles/CMakeError.log".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20201026/7ccebb31/attachment-0001.htm>
More information about the Digikam-devel
mailing list