Skip to content

Instantly share code, notes, and snippets.

@pbhj
Created August 4, 2019 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbhj/c788b8872b0c60312942b360d8af23a3 to your computer and use it in GitHub Desktop.
Save pbhj/c788b8872b0c60312942b360d8af23a3 to your computer and use it in GitHub Desktop.
installing digikam 6.1.0 on Kubuntu 18.04.2 (Bionic)
wget http://www.mirrorservice.org/sites/download.kde.org/stable/digikam/6.2.0/digikam-6.2.0.tar.xz
tar xvf ./digikam-6.2.0.tar.xz
cd digikam-6.2.0
# following README.md
export VERBOSE=1
export QTDIR=/usr/lib/qt5
export PATH=$QTDIR/bin:$PATH
# packages for compile and deb management
# without ECM one gets error `Could not find a package configuration file provided by "ECM"`
sudo apt install devscripts checkinstall extra-cmake-modules
# release for releases, see README.md for other options such as debugful
# /usr/share chosen as location of many other apps
cmake . -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr/share
#This gives errors as below:
[output]
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find Qt5XmlPatterns (missing: Qt5XmlPatterns_DIR)
CMake Warning at core/CMakeLists.txt:125 (find_package):
Found package configuration file:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component "XmlPatterns" config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt5XmlPatterns/Qt5XmlPatternsConfig.cmake"
-- Could NOT find Qt5WebKitWidgets (missing: Qt5WebKitWidgets_DIR)
CMake Warning at core/CMakeLists.txt:141 (find_package):
Found package configuration file:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component "WebKitWidgets" config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfig.cmake"
-- Could NOT find Qt5Qml (missing: Qt5Qml_DIR)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:39 (message):
Failed to find Qt5 component "Qml" config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Qml/Qt5QmlConfig.cmake"
Call Stack (most recent call first):
core/CMakeLists.txt:163 (find_package)
-- Could NOT find Qt5WebView (missing: Qt5WebView_DIR)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:39 (message):
Failed to find Qt5 component "WebView" config file at
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebView/Qt5WebViewConfig.cmake"
Call Stack (most recent call first):
core/CMakeLists.txt:163 (find_package)
-- Could NOT find KF5XmlGui (missing: KF5XmlGui_DIR)
-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
-- Could NOT find KF5CoreAddons (missing: KF5CoreAddons_DIR)
-- Could NOT find KF5CoreAddons: found neither KF5CoreAddonsConfig.cmake nor kf5coreaddons-config.cmake
-- Could NOT find KF5Config (missing: KF5Config_DIR)
-- Could NOT find KF5Config: found neither KF5ConfigConfig.cmake nor kf5config-config.cmake
-- Could NOT find KF5Service (missing: KF5Service_DIR)
-- Could NOT find KF5Service: found neither KF5ServiceConfig.cmake nor kf5service-config.cmake
-- Could NOT find KF5WindowSystem (missing: KF5WindowSystem_DIR)
-- Could NOT find KF5WindowSystem: found neither KF5WindowSystemConfig.cmake nor kf5windowsystem-config.cmake
-- Could NOT find KF5Solid (missing: KF5Solid_DIR)
-- Could NOT find KF5Solid: found neither KF5SolidConfig.cmake nor kf5solid-config.cmake
-- Could NOT find KF5I18n (missing: KF5I18n_DIR)
-- Could NOT find KF5I18n: found neither KF5I18nConfig.cmake nor kf5i18n-config.cmake
-- Could NOT find KF5 (missing: XmlGui CoreAddons Config Service WindowSystem Solid I18n) (Required is at least version "5.1.0")
-- Could NOT find KF5KIO: found neither KF5KIOConfig.cmake nor kf5kio-config.cmake
-- Could NOT find KF5IconThemes: found neither KF5IconThemesConfig.cmake nor kf5iconthemes-config.cmake
-- Could NOT find KF5FileMetaData: found neither KF5FileMetaDataConfig.cmake nor kf5filemetadata-config.cmake
-- Could NOT find KF5ThreadWeaver: found neither KF5ThreadWeaverConfig.cmake nor kf5threadweaver-config.cmake
-- Could NOT find KF5NotifyConfig: found neither KF5NotifyConfigConfig.cmake nor kf5notifyconfig-config.cmake
-- Could NOT find KF5Notifications: found neither KF5NotificationsConfig.cmake nor kf5notifications-config.cmake
-- Could NOT find KF5AkonadiContact: found neither KF5AkonadiContactConfig.cmake nor kf5akonadicontact-config.cmake
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Could NOT find KF5CalendarCore: found neither KF5CalendarCoreConfig.cmake nor kf5calendarcore-config.cmake
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindJPEG.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
core/cmake/modules/MacroJPEG.cmake:42 (find_package)
core/CMakeLists.txt:239 (DETECT_JPEG)
-- Configuring incomplete, errors occurred!
See also "/home/pandfi/b/code+downloads/source/digikam-6.2.0/CMakeFiles/CMakeOutput.log".
[/output]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment