Error in building Digikam

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in building Digikam

Swati Lodha
Hello,

While building DigiKam from source, on running ./bootstrap.linux. I got the following error related to kf5 dependencies. The distribution I'm using currently is Kubuntu 15.10. The pasted log is :

swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ ./bootstrap.linux
Qt5     Install Path : /usr
KF5     Install Path : /usr
digiKam Install Path : /usr
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libksane will be compiled......... YES
-- Local shared libmediawiki will be compiled..... YES
-- Local shared libkvkontakte will be compiled.... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5XmlGui"
  (requested version 5.1.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

  Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
  "KF5XmlGui_DIR" to a directory containing one of the above files.  If
  "KF5XmlGui" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Service"
  (requested version 5.1.0) with any of the following names:

    KF5ServiceConfig.cmake
    kf5service-config.cmake

  Add the installation prefix of "KF5Service" to CMAKE_PREFIX_PATH or set
  "KF5Service_DIR" to a directory containing one of the above files.  If
  "KF5Service" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5Service: found neither KF5ServiceConfig.cmake nor kf5service-config.cmake
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find KF5 (missing: XmlGui Service) (found suitable version
  "5.15.0", minimum required is "5.1.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cd build/
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
CMake Error: The source directory "/home/swati/digikam-sc/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$ cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
CMake Error: The source directory "/home/swati/digikam-sc/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$ cd ..
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libksane will be compiled......... YES
-- Local shared libmediawiki will be compiled..... YES
-- Local shared libkvkontakte will be compiled.... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5XmlGui"
  (requested version 5.1.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

  Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
  "KF5XmlGui_DIR" to a directory containing one of the above files.  If
  "KF5XmlGui" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Service"
  (requested version 5.1.0) with any of the following names:

    KF5ServiceConfig.cmake
    kf5service-config.cmake

  Add the installation prefix of "KF5Service" to CMAKE_PREFIX_PATH or set
  "KF5Service_DIR" to a directory containing one of the above files.  If
  "KF5Service" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5Service: found neither KF5ServiceConfig.cmake nor kf5service-config.cmake
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find KF5 (missing: XmlGui Service) (found suitable version
  "5.15.0", minimum required is "5.1.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cmake .
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libksane will be compiled......... YES
-- Local shared libmediawiki will be compiled..... YES
-- Local shared libkvkontakte will be compiled.... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5XmlGui"
  (requested version 5.1.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

  Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
  "KF5XmlGui_DIR" to a directory containing one of the above files.  If
  "KF5XmlGui" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Service"
  (requested version 5.1.0) with any of the following names:

    KF5ServiceConfig.cmake
    kf5service-config.cmake

  Add the installation prefix of "KF5Service" to CMAKE_PREFIX_PATH or set
  "KF5Service_DIR" to a directory containing one of the above files.  If
  "KF5Service" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5Service: found neither KF5ServiceConfig.cmake nor kf5service-config.cmake
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find KF5 (missing: XmlGui Service) (found suitable version
  "5.15.0", minimum required is "5.1.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$


What steps do i need to do ?

Regards,
Swati


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error in building Digikam

Gilles Caulier-4
I miss KDE5 (KF5) frameworks components, as listed by cmake config script. Install devel package to solve the dependencies.


Gilles Caulier

2016-03-14 16:20 GMT+01:00 Swati Lodha <[hidden email]>:
Hello,

While building DigiKam from source, on running ./bootstrap.linux. I got the following error related to kf5 dependencies. The distribution I'm using currently is Kubuntu 15.10. The pasted log is :

swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ ./bootstrap.linux
Qt5     Install Path : /usr
KF5     Install Path : /usr
digiKam Install Path : /usr
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libksane will be compiled......... YES
-- Local shared libmediawiki will be compiled..... YES
-- Local shared libkvkontakte will be compiled.... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5XmlGui"
  (requested version 5.1.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

  Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
  "KF5XmlGui_DIR" to a directory containing one of the above files.  If
  "KF5XmlGui" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Service"
  (requested version 5.1.0) with any of the following names:

    KF5ServiceConfig.cmake
    kf5service-config.cmake

  Add the installation prefix of "KF5Service" to CMAKE_PREFIX_PATH or set
  "KF5Service_DIR" to a directory containing one of the above files.  If
  "KF5Service" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5Service: found neither KF5ServiceConfig.cmake nor kf5service-config.cmake
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find KF5 (missing: XmlGui Service) (found suitable version
  "5.15.0", minimum required is "5.1.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cd build/
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=
CMake Error: The source directory "/home/swati/digikam-sc/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$ cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
CMake Error: The source directory "/home/swati/digikam-sc/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$ cd ..
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libksane will be compiled......... YES
-- Local shared libmediawiki will be compiled..... YES
-- Local shared libkvkontakte will be compiled.... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5XmlGui"
  (requested version 5.1.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

  Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
  "KF5XmlGui_DIR" to a directory containing one of the above files.  If
  "KF5XmlGui" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Service"
  (requested version 5.1.0) with any of the following names:

    KF5ServiceConfig.cmake
    kf5service-config.cmake

  Add the installation prefix of "KF5Service" to CMAKE_PREFIX_PATH or set
  "KF5Service_DIR" to a directory containing one of the above files.  If
  "KF5Service" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5Service: found neither KF5ServiceConfig.cmake nor kf5service-config.cmake
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find KF5 (missing: XmlGui Service) (found suitable version
  "5.15.0", minimum required is "5.1.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cmake .
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libksane will be compiled......... YES
-- Local shared libmediawiki will be compiled..... YES
-- Local shared libkvkontakte will be compiled.... YES
-- Extract translations files..................... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5XmlGui"
  (requested version 5.1.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

  Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
  "KF5XmlGui_DIR" to a directory containing one of the above files.  If
  "KF5XmlGui" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a package configuration file provided by "KF5Service"
  (requested version 5.1.0) with any of the following names:

    KF5ServiceConfig.cmake
    kf5service-config.cmake

  Add the installation prefix of "KF5Service" to CMAKE_PREFIX_PATH or set
  "KF5Service_DIR" to a directory containing one of the above files.  If
  "KF5Service" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Could NOT find KF5Service: found neither KF5ServiceConfig.cmake nor kf5service-config.cmake
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find KF5 (missing: XmlGui Service) (found suitable version
  "5.15.0", minimum required is "5.1.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
  extra/libkipi/CMakeLists.txt:87 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$


What steps do i need to do ?

Regards,
Swati


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel