<div dir="ltr"><div>Hello<br><br></div>I've successfully run the cmake command. But when run [make] , I'm receiving the following error :<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Linking CXX executable kipicmd<br>/usr/bin/ld: cannot open output file kipicmd: Is a directory<br>collect2: error: ld returned 1 exit status<br>extra/libkipi/tests/CMakeFiles/kipicmd.dir/build.make:289: recipe for target 'extra/libkipi/tests/kipicmd' failed<br>make[2]: *** [extra/libkipi/tests/kipicmd] Error 1<br>CMakeFiles/Makefile2:1126: recipe for target 'extra/libkipi/tests/CMakeFiles/kipicmd.dir/all' failed<br>make[1]: *** [extra/libkipi/tests/CMakeFiles/kipicmd.dir/all] Error 2<br>Makefile:126: recipe for target 'all' failed<br>make: *** [all] Error 2<br></blockquote><div><br></div><div> What steps do I need to take?<br><br></div><div>Regards<br></div><div>Swati<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 7:51 PM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You need devel packages not only binaries.<span class="HOEnZb"><font color="#888888"><div><br></div><div>Gilles Caulier</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-03-15 14:31 GMT+01:00 Swati Lodha <span dir="ltr"><<a href="mailto:swatilodha27@gmail.com" target="_blank">swatilodha27@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello<br><br></div> I use the following commands:<br>apt-file
search -i kf5xmlgui<br>apt-file
search -i kf5config<br>apt-file
search -i kf5service<br><br></div>All the dependencies listed in the error are already installed.<br><br></div>What steps should I take?<br><br></div>Regards<span><font color="#888888"><br></font></span></div><span><font color="#888888">Swati<br><div><div><div><br></div></div></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 5:05 AM, Simon Frei <span dir="ltr"><<a href="mailto:freisim93@gmail.com" target="_blank">freisim93@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
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".<br>
<br>
Cheers,<br>
Simon<div><div><br>
<br>
<div>On 14/03/16 22:45, Swati Lodha wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<div dir="ltr"><br>
<div class="gmail_quote">
<div dir="ltr">
<div>Hello<br>
<br>
</div>
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 :<br>
<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$
./bootstrap.linux <br>
Qt5 Install Path : /usr<br>
KF5 Install Path : /usr<br>
digiKam Install Path : /usr<br>
--
----------------------------------------------------------------------------------<br>
-- Starting CMake configuration for:
digikam-software-collection<br>
-- Local shared libkipi will be compiled.......... YES<br>
-- Local shared libksane will be compiled......... YES<br>
-- Local shared libmediawiki will be compiled..... YES<br>
-- Local shared libkvkontakte will be compiled.... YES<br>
-- Extract translations files..................... NO<br>
-- Translations will be compiled.................. NO<br>
-- Handbooks will be compiled..................... NO<br>
-- Tests code will be compiled.................... YES<br>
--
----------------------------------------------------------------------------------<br>
-- Starting CMake configuration for: libkipi<br>
CMake Warning at
/usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):<br>
Could not find a package configuration file provided by
"KF5XmlGui"<br>
(requested version 5.1.0) with any of the following
names:<br>
<br>
KF5XmlGuiConfig.cmake<br>
kf5xmlgui-config.cmake<br>
<br>
Add the installation prefix of "KF5XmlGui" to
CMAKE_PREFIX_PATH or set<br>
"KF5XmlGui_DIR" to a directory containing one of the
above files. If<br>
"KF5XmlGui" provides a separate development package or
SDK, be sure it has<br>
been installed.<br>
Call Stack (most recent call first):<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Could NOT find KF5XmlGui: found neither
KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake <br>
CMake Warning at
/usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):<br>
Could not find a package configuration file provided by
"KF5Service"<br>
(requested version 5.1.0) with any of the following
names:<br>
<br>
KF5ServiceConfig.cmake<br>
kf5service-config.cmake<br>
<br>
Add the installation prefix of "KF5Service" to
CMAKE_PREFIX_PATH or set<br>
"KF5Service_DIR" to a directory containing one of the
above files. If<br>
"KF5Service" provides a separate development package or
SDK, be sure it has<br>
been installed.<br>
Call Stack (most recent call first):<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Could NOT find KF5Service: found neither
KF5ServiceConfig.cmake nor kf5service-config.cmake <br>
CMake Error at
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138
(message):<br>
Could NOT find KF5 (missing: XmlGui Service) (found
suitable version<br>
"5.15.0", minimum required is "5.1.0")<br>
Call Stack (most recent call first):<br>
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374
(_FPHSA_FAILURE_MESSAGE)<br>
/usr/share/ECM/find-modules/FindKF5.cmake:110
(find_package_handle_standard_args)<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
See also
"/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".<br>
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cd
build/<br>
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=<br>
CMake Error: The source directory
"/home/swati/digikam-sc/build" does not appear to contain
CMakeLists.txt.<br>
Specify --help for usage, or press the help button on the
CMake GUI.<br>
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$
cmake . -DCMAKE_BUILD_TYPE=debugfull
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`<br>
CMake Error: The source directory
"/home/swati/digikam-sc/build" does not appear to contain
CMakeLists.txt.<br>
Specify --help for usage, or press the help button on the
CMake GUI.<br>
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc/build$
cd ..<br>
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cmake
. -DCMAKE_BUILD_TYPE=debugfull
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`<br>
--
----------------------------------------------------------------------------------<br>
-- Starting CMake configuration for:
digikam-software-collection<br>
-- Local shared libkipi will be compiled.......... YES<br>
-- Local shared libksane will be compiled......... YES<br>
-- Local shared libmediawiki will be compiled..... YES<br>
-- Local shared libkvkontakte will be compiled.... YES<br>
-- Extract translations files..................... NO<br>
-- Translations will be compiled.................. NO<br>
-- Handbooks will be compiled..................... NO<br>
-- Tests code will be compiled.................... YES<br>
--
----------------------------------------------------------------------------------<br>
-- Starting CMake configuration for: libkipi<br>
CMake Warning at
/usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):<br>
Could not find a package configuration file provided by
"KF5XmlGui"<br>
(requested version 5.1.0) with any of the following
names:<br>
<br>
KF5XmlGuiConfig.cmake<br>
kf5xmlgui-config.cmake<br>
<br>
Add the installation prefix of "KF5XmlGui" to
CMAKE_PREFIX_PATH or set<br>
"KF5XmlGui_DIR" to a directory containing one of the
above files. If<br>
"KF5XmlGui" provides a separate development package or
SDK, be sure it has<br>
been installed.<br>
Call Stack (most recent call first):<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Could NOT find KF5XmlGui: found neither
KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake <br>
CMake Warning at
/usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):<br>
Could not find a package configuration file provided by
"KF5Service"<br>
(requested version 5.1.0) with any of the following
names:<br>
<br>
KF5ServiceConfig.cmake<br>
kf5service-config.cmake<br>
<br>
Add the installation prefix of "KF5Service" to
CMAKE_PREFIX_PATH or set<br>
"KF5Service_DIR" to a directory containing one of the
above files. If<br>
"KF5Service" provides a separate development package or
SDK, be sure it has<br>
been installed.<br>
Call Stack (most recent call first):<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Could NOT find KF5Service: found neither
KF5ServiceConfig.cmake nor kf5service-config.cmake <br>
CMake Error at
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138
(message):<br>
Could NOT find KF5 (missing: XmlGui Service) (found
suitable version<br>
"5.15.0", minimum required is "5.1.0")<br>
Call Stack (most recent call first):<br>
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374
(_FPHSA_FAILURE_MESSAGE)<br>
/usr/share/ECM/find-modules/FindKF5.cmake:110
(find_package_handle_standard_args)<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
See also
"/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".<br>
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ cmake
.<br>
--
----------------------------------------------------------------------------------<br>
-- Starting CMake configuration for:
digikam-software-collection<br>
-- Local shared libkipi will be compiled.......... YES<br>
-- Local shared libksane will be compiled......... YES<br>
-- Local shared libmediawiki will be compiled..... YES<br>
-- Local shared libkvkontakte will be compiled.... YES<br>
-- Extract translations files..................... NO<br>
-- Translations will be compiled.................. NO<br>
-- Handbooks will be compiled..................... NO<br>
-- Tests code will be compiled.................... YES<br>
--
----------------------------------------------------------------------------------<br>
-- Starting CMake configuration for: libkipi<br>
CMake Warning at
/usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):<br>
Could not find a package configuration file provided by
"KF5XmlGui"<br>
(requested version 5.1.0) with any of the following
names:<br>
<br>
KF5XmlGuiConfig.cmake<br>
kf5xmlgui-config.cmake<br>
<br>
Add the installation prefix of "KF5XmlGui" to
CMAKE_PREFIX_PATH or set<br>
"KF5XmlGui_DIR" to a directory containing one of the
above files. If<br>
"KF5XmlGui" provides a separate development package or
SDK, be sure it has<br>
been installed.<br>
Call Stack (most recent call first):<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Could NOT find KF5XmlGui: found neither
KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake <br>
CMake Warning at
/usr/share/ECM/find-modules/FindKF5.cmake:74
(find_package):<br>
Could not find a package configuration file provided by
"KF5Service"<br>
(requested version 5.1.0) with any of the following
names:<br>
<br>
KF5ServiceConfig.cmake<br>
kf5service-config.cmake<br>
<br>
Add the installation prefix of "KF5Service" to
CMAKE_PREFIX_PATH or set<br>
"KF5Service_DIR" to a directory containing one of the
above files. If<br>
"KF5Service" provides a separate development package or
SDK, be sure it has<br>
been installed.<br>
Call Stack (most recent call first):<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Could NOT find KF5Service: found neither
KF5ServiceConfig.cmake nor kf5service-config.cmake <br>
CMake Error at
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138
(message):<br>
Could NOT find KF5 (missing: XmlGui Service) (found
suitable version<br>
"5.15.0", minimum required is "5.1.0")<br>
Call Stack (most recent call first):<br>
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374
(_FPHSA_FAILURE_MESSAGE)<br>
/usr/share/ECM/find-modules/FindKF5.cmake:110
(find_package_handle_standard_args)<br>
extra/libkipi/CMakeLists.txt:87 (find_package)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
See also
"/home/swati/digikam-sc/CMakeFiles/CMakeOutput.log".<br>
swati@swati-HP-Pavilion-15-Notebook-PC:~/digikam-sc$ <br>
<br>
</blockquote>
<div><br>
</div>
<div>The KF5Configure, KF5XmlGui and KF5Service are
installed. What steps do i need to do now ?<br>
<br>
</div>
<div>Regards,<br>
</div>
<div>Swati <br>
</div>
<br>
</div>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Digikam-devel mailing list
<a href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div>