[Digikam-devel] Error in building DigiKam

Swati Lodha swatilodha27 at gmail.com
Tue Mar 15 16:29:11 GMT 2016


Hello

I've successfully run the cmake command. But when run [make] , I'm
receiving the following error :

Linking CXX executable kipicmd
> /usr/bin/ld: cannot open output file kipicmd: Is a directory
> collect2: error: ld returned 1 exit status
> extra/libkipi/tests/CMakeFiles/kipicmd.dir/build.make:289: recipe for
> target 'extra/libkipi/tests/kipicmd' failed
> make[2]: *** [extra/libkipi/tests/kipicmd] Error 1
> CMakeFiles/Makefile2:1126: recipe for target
> 'extra/libkipi/tests/CMakeFiles/kipicmd.dir/all' failed
> make[1]: *** [extra/libkipi/tests/CMakeFiles/kipicmd.dir/all] Error 2
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
>

 What steps do I need to take?

Regards
Swati

On Tue, Mar 15, 2016 at 7:51 PM, Gilles Caulier <caulier.gilles at gmail.com>
wrote:

> You need devel packages not only binaries.
>
> Gilles Caulier
>
> 2016-03-15 14:31 GMT+01:00 Swati Lodha <swatilodha27 at gmail.com>:
>
>> Hello
>>
>>  I use the following commands:
>> apt-file search -i kf5xmlgui
>> apt-file search -i kf5config
>> apt-file search -i kf5service
>>
>> All the dependencies listed in the error are already installed.
>>
>> What steps should I take?
>>
>> Regards
>> Swati
>>
>>
>> On Tue, Mar 15, 2016 at 5:05 AM, Simon Frei <freisim93 at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> These are missing dependencies. Install the package apt-file, run
>>> "apt-file update" and you can search for the package that contains the
>>> missing file. For the first one, you would run e.g. "apt-file search -i
>>> kf5xmlgui".
>>>
>>> Cheers,
>>> Simon
>>>
>>>
>>> On 14/03/16 22:45, Swati Lodha wrote:
>>>
>>>
>>> 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
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Digikam-devel mailing listDigikam-devel at kde.orghttps://mail.kde.org/mailman/listinfo/digikam-devel
>>>
>>>
>>>
>>> _______________________________________________
>>> Digikam-devel mailing list
>>> Digikam-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>>
>>>
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> Digikam-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>>
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20160315/a43203ee/attachment.html>


More information about the Digikam-devel mailing list