[Digikam-devel] Error in building DigiKam

Swati Lodha swatilodha27 at gmail.com
Mon Mar 14 21:45:49 GMT 2016


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 at 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 at swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cd build/
> swati at 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 at 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 at swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$ cd ..
> swati at 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 at 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 at swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$
>
>
The KF5Configure, KF5XmlGui and KF5Service are installed. What steps do i
need to do now ?

Regards,
Swati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20160315/32572cc4/attachment.html>


More information about the Digikam-devel mailing list