compiling Digikam and Libkipi - Ubuntu 15.10

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

compiling Digikam and Libkipi - Ubuntu 15.10

Pedro Neves
Hi all:

I'm trying to compile Digikam 5 beta from git and I got the following error:

CMake Error at cmake/modules/MacroLocalLibs.cmake:13 (find_package):
  Could not find a package configuration file provided by "KF5Kipi"
  (requested version 5.0.0) with any of the following names:

    KF5KipiConfig.cmake
    kf5kipi-config.cmake

  Add the installation prefix of "KF5Kipi" to CMAKE_PREFIX_PATH or set
  "KF5Kipi_DIR" to a directory containing one of the above files.  If
  "KF5Kipi" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:207 (DETECT_LIBKIPI)

It seems I have to compile libkipi
I've checked the git repository with: git clone git://anongit.kde.org/libkipi

And I'm trying to compile and install with:

cmake . -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`

I then get:

cmake . -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
Re-run cmake no build system arguments
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi

--
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.1.0)
 * Qt5Core
 * Qt5Widgets
 * Qt5Gui
 * Qt5 (required version >= 5.2.0)
 * Gettext
 * PythonInterp
 * KF5I18n
 * KF5Config
 * KF5XmlGui
 * KF5Service
 * KF5

-- Configuring done
-- Generating done
-- Build files have been written to: /home/XXXXX/Temp/libkipi

How to proceed now? Do I need to run make ou make install?

Any help is most welcomed.

All the best:

Pedro Neves



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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4
yes it's the right libkipi source code.

make ; sudo ; make install/fast will do the stuff...

Gilles Caulier

2015-10-22 23:14 GMT+02:00 Pedro Neves <[hidden email]>:
Hi all:

I'm trying to compile Digikam 5 beta from git and I got the following error:

CMake Error at cmake/modules/MacroLocalLibs.cmake:13 (find_package):
  Could not find a package configuration file provided by "KF5Kipi"
  (requested version 5.0.0) with any of the following names:

    KF5KipiConfig.cmake
    kf5kipi-config.cmake

  Add the installation prefix of "KF5Kipi" to CMAKE_PREFIX_PATH or set
  "KF5Kipi_DIR" to a directory containing one of the above files.  If
  "KF5Kipi" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:207 (DETECT_LIBKIPI)

It seems I have to compile libkipi
I've checked the git repository with: git clone git://anongit.kde.org/libkipi

And I'm trying to compile and install with:

cmake . -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`

I then get:

cmake . -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
Re-run cmake no build system arguments
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkipi

--
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.1.0)
 * Qt5Core
 * Qt5Widgets
 * Qt5Gui
 * Qt5 (required version >= 5.2.0)
 * Gettext
 * PythonInterp
 * KF5I18n
 * KF5Config
 * KF5XmlGui
 * KF5Service
 * KF5

-- Configuring done
-- Generating done
-- Build files have been written to: /home/XXXXX/Temp/libkipi

How to proceed now? Do I need to run make ou make install?

Any help is most welcomed.

All the best:

Pedro Neves



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



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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Pedro Neves
On 23-10-2015 05:23, Gilles Caulier wrote:
> yes it's the right libkipi source code.
>
> make ; sudo ; make install/fast will do the stuff...
>
Hi Gilles:

However, when I do make, I get this:

make
[  6%] Automatic moc for target KF5Kipi
Generating moc_configwidget.cpp
Generating moc_configwidget_p.cpp
Generating moc_imagecollectionselector.cpp
Generating moc_interface.cpp
Generating moc_plugin.cpp
Generating moc_pluginloader.cpp
Generating moc_uploadwidget.cpp
[  6%] Built target KF5Kipi_automoc
Scanning dependencies of target KF5Kipi
[ 12%] Building CXX object src/CMakeFiles/KF5Kipi.dir/interface.cpp.o
[ 18%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imagecollection.cpp.o
[ 25%] Building CXX object
src/CMakeFiles/KF5Kipi.dir/imagecollectionshared.cpp.o
[ 31%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imageinfoshared.cpp.o
[ 37%] Building CXX object src/CMakeFiles/KF5Kipi.dir/plugin.cpp.o
[ 43%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imageinfo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/KF5Kipi.dir/uploadwidget.cpp.o
[ 56%] Building CXX object
src/CMakeFiles/KF5Kipi.dir/imagecollectionselector.cpp.o
[ 62%] Building CXX object src/CMakeFiles/KF5Kipi.dir/configwidget.cpp.o
[ 68%] Building CXX object src/CMakeFiles/KF5Kipi.dir/configwidget_p.cpp.o
[ 75%] Building CXX object src/CMakeFiles/KF5Kipi.dir/pluginloader.cpp.o
[ 81%] Building CXX object src/CMakeFiles/KF5Kipi.dir/libkipi_debug.cpp.o
[ 87%] Building CXX object src/CMakeFiles/KF5Kipi.dir/KF5Kipi_automoc.cpp.o
Linking CXX shared library libKF5Kipi.so
[ 87%] Built target KF5Kipi
[ 93%] Automatic moc for target kipicmd
[ 93%] Built target kipicmd_automoc
Scanning dependencies of target kipicmd
make[2]: *** No rule to make target
'tests/CMakeFiles/kipicmd.dir/build'.  Stop.
CMakeFiles/Makefile2:208: recipe for target
'tests/CMakeFiles/kipicmd.dir/all' failed
make[1]: *** [tests/CMakeFiles/kipicmd.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

Do I need kipicmd? Can I disable its build?

Cheers:

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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4
no, you don't need it. it's a test program.

to disable test compilation, just use "-DBUILD_TESTING=OFF" cmake flag at configuration time.

Note : i think test do not compile because you miss Qt5::Test component on your computer.

Gilles Caulier

2015-10-23 9:35 GMT+02:00 Pedro Neves <[hidden email]>:
On 23-10-2015 05:23, Gilles Caulier wrote:
yes it's the right libkipi source code.

make ; sudo ; make install/fast will do the stuff...

Hi Gilles:

However, when I do make, I get this:

make
[  6%] Automatic moc for target KF5Kipi
Generating moc_configwidget.cpp
Generating moc_configwidget_p.cpp
Generating moc_imagecollectionselector.cpp
Generating moc_interface.cpp
Generating moc_plugin.cpp
Generating moc_pluginloader.cpp
Generating moc_uploadwidget.cpp
[  6%] Built target KF5Kipi_automoc
Scanning dependencies of target KF5Kipi
[ 12%] Building CXX object src/CMakeFiles/KF5Kipi.dir/interface.cpp.o
[ 18%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imagecollection.cpp.o
[ 25%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imagecollectionshared.cpp.o
[ 31%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imageinfoshared.cpp.o
[ 37%] Building CXX object src/CMakeFiles/KF5Kipi.dir/plugin.cpp.o
[ 43%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imageinfo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/KF5Kipi.dir/uploadwidget.cpp.o
[ 56%] Building CXX object src/CMakeFiles/KF5Kipi.dir/imagecollectionselector.cpp.o
[ 62%] Building CXX object src/CMakeFiles/KF5Kipi.dir/configwidget.cpp.o
[ 68%] Building CXX object src/CMakeFiles/KF5Kipi.dir/configwidget_p.cpp.o
[ 75%] Building CXX object src/CMakeFiles/KF5Kipi.dir/pluginloader.cpp.o
[ 81%] Building CXX object src/CMakeFiles/KF5Kipi.dir/libkipi_debug.cpp.o
[ 87%] Building CXX object src/CMakeFiles/KF5Kipi.dir/KF5Kipi_automoc.cpp.o
Linking CXX shared library libKF5Kipi.so
[ 87%] Built target KF5Kipi
[ 93%] Automatic moc for target kipicmd
[ 93%] Built target kipicmd_automoc
Scanning dependencies of target kipicmd
make[2]: *** No rule to make target 'tests/CMakeFiles/kipicmd.dir/build'.  Stop.
CMakeFiles/Makefile2:208: recipe for target 'tests/CMakeFiles/kipicmd.dir/all' failed
make[1]: *** [tests/CMakeFiles/kipicmd.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

Do I need kipicmd? Can I disable its build?

Cheers:

Pedro

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


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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Pedro Neves
Hi:

I think I'm getting there :-)

I'm only missing a few optional components (that I'd like to add):

Please install the libkface (version >= 5.0.0) development package.

Please install the libksane (version >= 5.0.0) development package.

Please install the libkfilemetadata (version >= 5.0.0) development package.

Please install the libakonadicontact (version >= 5.0.0) development package.


 From where can I get these components?

Cheers:

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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4
Links are given in digiKam REAME file

Gilles Caulier

2015-10-23 12:37 GMT+02:00 Pedro Neves <[hidden email]>:
Hi:

I think I'm getting there :-)

I'm only missing a few optional components (that I'd like to add):

Please install the libkface (version >= 5.0.0) development package.

Please install the libksane (version >= 5.0.0) development package.

Please install the libkfilemetadata (version >= 5.0.0) development package.

Please install the libakonadicontact (version >= 5.0.0) development package.


From where can I get these components?


Cheers:

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


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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Pedro Neves
On 23-10-2015 11:44, Gilles Caulier wrote:
> Links are given in digiKam REAME file
>
>
Hi Gilles:

Thanks for the info. However:


https://projects.kde.org/projects/extragear/libs/libkface - The page you
were trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/kde/kdegraphics/libs/libkface/repository 
- maybe we should update the link?

libksane. There was no link on the read me file. I found this:
https://projects.kde.org/projects/kde/kdegraphics/libs/libksane/repository,
but it seems quite old. Is this ok?

https://projects.kde.org/projects/kde/kdelibs/baloo - The page you were
trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/frameworks/baloo

Regarding libkfilemetadata and libakonadicontact, I've downloaded the
source code from kdepimlibs. Do I need to compile the entire kdepimlibs
or can I just compile the relevant parts?
Can I point cmake for digikam to the directories where
KF5AkonadiContactConfig.cmake is located? How can I do that?


Sorry for all the questions and thanks in advance for your help.

All the best:

Pedro

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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4


2015-10-23 15:14 GMT+02:00 Pedro Neves <[hidden email]>:
On 23-10-2015 11:44, Gilles Caulier wrote:
Links are given in digiKam REAME file


Hi Gilles:

Thanks for the info. However:


https://projects.kde.org/projects/extragear/libs/libkface - The page you were trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/kde/kdegraphics/libs/libkface/repository - maybe we should update the link?

done
 

libksane. There was no link on the read me file. I found this: https://projects.kde.org/projects/kde/kdegraphics/libs/libksane/repository, but it seems quite old. Is this ok?

no, this is the right one. added
 

https://projects.kde.org/projects/kde/kdelibs/baloo - The page you were trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/frameworks/baloo

Fixed.
 


Regarding libkfilemetadata and libakonadicontact, I've downloaded the source code from kdepimlibs. Do I need to compile the entire kdepimlibs or can I just compile the relevant parts?
Can I point cmake for digikam to the directories where KF5AkonadiContactConfig.cmake is located? How can I do that?


No only sub-components not all. I think these framworks sections need to be cut in small one. But this is not digiKam parts of course...

Gilles Caulier

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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4
A full list of all digiKam 5.0.0 dependencies are annoted in this file now :


Giles Caulier

2015-10-23 15:30 GMT+02:00 Gilles Caulier <[hidden email]>:


2015-10-23 15:14 GMT+02:00 Pedro Neves <[hidden email]>:
On 23-10-2015 11:44, Gilles Caulier wrote:
Links are given in digiKam REAME file


Hi Gilles:

Thanks for the info. However:


https://projects.kde.org/projects/extragear/libs/libkface - The page you were trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/kde/kdegraphics/libs/libkface/repository - maybe we should update the link?

done
 

libksane. There was no link on the read me file. I found this: https://projects.kde.org/projects/kde/kdegraphics/libs/libksane/repository, but it seems quite old. Is this ok?

no, this is the right one. added
 

https://projects.kde.org/projects/kde/kdelibs/baloo - The page you were trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/frameworks/baloo

Fixed.
 


Regarding libkfilemetadata and libakonadicontact, I've downloaded the source code from kdepimlibs. Do I need to compile the entire kdepimlibs or can I just compile the relevant parts?
Can I point cmake for digikam to the directories where KF5AkonadiContactConfig.cmake is located? How can I do that?


No only sub-components not all. I think these framworks sections need to be cut in small one. But this is not digiKam parts of course...

Gilles Caulier


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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4
In reply to this post by Gilles Caulier-4


2015-10-23 15:30 GMT+02:00 Gilles Caulier <[hidden email]>:


2015-10-23 15:14 GMT+02:00 Pedro Neves <[hidden email]>:
On 23-10-2015 11:44, Gilles Caulier wrote:
Links are given in digiKam REAME file


Hi Gilles:

Thanks for the info. However:


https://projects.kde.org/projects/extragear/libs/libkface - The page you were trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/kde/kdegraphics/libs/libkface/repository - maybe we should update the link?

done
 

libksane. There was no link on the read me file. I found this: https://projects.kde.org/projects/kde/kdegraphics/libs/libksane/repository, but it seems quite old. Is this ok?

no, this is the right one. added
 

https://projects.kde.org/projects/kde/kdelibs/baloo - The page you were trying to access doesn't exist or has been removed. I've found it at:

https://projects.kde.org/projects/frameworks/baloo

Fixed.
 


Regarding libkfilemetadata and libakonadicontact, I've downloaded the source code from kdepimlibs. Do I need to compile the entire kdepimlibs or can I just compile the relevant parts?
Can I point cmake for digikam to the directories where KF5AkonadiContactConfig.cmake is located? How can I do that?

no need. Just install sub-components on your system and cmake will detect it automatically. I do it here without problem.

Gilles Caulier

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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Pedro Neves
Gilles:

I've successfully compiled and installed Digikam 5 and Kipi-plugins from
git, after struggling to get all the dependencies.
There are a few glitches still, as I couldn't find:

- libmediawiki:
https://projects.kde.org/projects/extragear/libs/libmediawiki/repository: An
error occurred on the page you were trying to access.

- libkvkontakte:
https://projects.kde.org/projects/extragear/libs/libkvkontakte/repository: 
An error occurred on the page you were trying to access.


Also:

On 23-10-2015 14:33, Gilles Caulier wrote:
>
> no need. Just install sub-components on your system and cmake will
> detect it automatically. I do it here without problem.
>
>
I don't know how to build and install these sub-components
(libkfilemetadata and libakonadicontact).

Finally, when I tried to re-compile kipi-plugins with a few more
options, I got:

CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37
(target_link_libraries):
   The keyword signature for target_link_libraries has already been used
with
   the target "kipiplugin_imgur".  All uses of target_link_libraries with a
   target must be either all-keyword or all-plain.

   The uses of the keyword signature are here:

    * extra/kipi-plugins/imgur/CMakeLists.txt:28 (target_link_libraries)

Any hints?

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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4


2015-10-23 19:37 GMT+02:00 Pedro Neves <[hidden email]>:
Gilles:

I've successfully compiled and installed Digikam 5 and Kipi-plugins from git, after struggling to get all the dependencies.
There are a few glitches still, as I couldn't find:

- libmediawiki: https://projects.kde.org/projects/extragear/libs/libmediawiki/repository: An error occurred on the page you were trying to access.

- libkvkontakte: https://projects.kde.org/projects/extragear/libs/libkvkontakte/repository: An error occurred on the page you were trying to access.



Web interface sound broken (Redmine CMS). One top level of urls work fine.
 
Also:

On 23-10-2015 14:33, Gilles Caulier wrote:

no need. Just install sub-components on your system and cmake will detect it automatically. I do it here without problem.


I don't know how to build and install these sub-components (libkfilemetadata and libakonadicontact).




Both are optional and experimental. You can forget it for the moment.

Note : kfilemetadata => KDE files indexer support => Baloo => bugs in this KDE components : if nothing is really improved in this implementation from Baloo team, i will remove it. Too much problem.

 

Finally, when I tried to re-compile kipi-plugins with a few more options, I got:

CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37 (target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "kipiplugin_imgur".  All uses of target_link_libraries with a
  target must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * extra/kipi-plugins/imgur/CMakeLists.txt:28 (target_link_libraries)

Any hints?

Give me the full trace please

Gilles Caulier

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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Andrew Goodbody
I have the same problem so here is my log.

$ ./bootstrap.linux
Qt      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 libkface 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
-- Found KF5: success (found version "5.15.0") found components:  I18n
Config XmlGui Service

--
-- The following REQUIRED packages have been found:

  * ECM (required version >= 1.1.0)
  * Qt5Core
  * Qt5Widgets
  * Qt5Gui
  * Qt5 (required version >= 5.2.0)
  * Gettext
  * PythonInterp
  * KF5I18n
  * KF5Config
  * KF5XmlGui
  * KF5Service
  * KF5

--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 2.4.9.1 (required: 2.4.9)
-- OpenCV headers: /usr/include/opencv;/usr/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc

--
-- The following OPTIONAL packages have been found:

  * OpenCV

-- The following REQUIRED packages have been found:

  * Gettext
  * PythonInterp
  * KF5I18n
  * KF5Config
  * KF5XmlGui
  * KF5Service
  * KF5
  * ECM (required version >= 1.1.0)
  * Qt5Core
  * Qt5Widgets
  * Qt5Sql
  * Qt5Xml
  * Qt5Gui
  * Qt5 (required version >= 5.2.0)

-- -------------------------------------------
-- Starting CMake configuration for: libksane
-- SANE_FOUND:       TRUE
-- SANE_INCLUDE_DIR: /usr/include
-- SANE_LIBRARY:     /usr/lib/x86_64-linux-gnu/libsane.so
--
-- The following OPTIONAL packages have been found:

  * OpenCV
  * Sane

-- The following REQUIRED packages have been found:

  * KF5XmlGui
  * KF5Service
  * KF5
  * Qt5Sql
  * ECM (required version >= 1.1.0)
  * Qt5Core
  * Qt5Gui (required version >= 5.4.2)
  * Qt5Widgets
  * Qt5Xml (required version >= 5.3.0)
  * KF5Config (required version >= 5.1.0)
  * Gettext
  * PythonInterp
  * KF5I18n (required version >= 5.1.0)
  * KF5Wallet (required version >= 5.1.0)
  * KF5WidgetsAddons (required version >= 5.1.0)
  * KF5TextWidgets (required version >= 5.1.0)
  * Qt5Test
  * Qt5 (required version >= 5.2.0)

--
-- The following OPTIONAL packages have been found:

  * OpenCV
  * Sane

-- The following REQUIRED packages have been found:

  * KF5XmlGui
  * KF5Service
  * KF5
  * Qt5Sql
  * Qt5Gui (required version >= 5.4.2)
  * Qt5Widgets
  * Qt5Xml (required version >= 5.3.0)
  * KF5Config (required version >= 5.1.0)
  * Gettext
  * PythonInterp
  * KF5I18n (required version >= 5.1.0)
  * KF5Wallet (required version >= 5.1.0)
  * KF5WidgetsAddons (required version >= 5.1.0)
  * KF5TextWidgets (required version >= 5.1.0)
  * ECM (required version >= 0.0.10)
  * Qt5Core
  * Qt5Network
  * KF5CoreAddons (required version >= 5.5.0)
  * KF5DocTools (required version >= 5.5.0)
  * Qt5Test
  * Qt5 (required version >= 5.2.0)

--
-- The following OPTIONAL packages have been found:

  * OpenCV
  * Sane

-- The following REQUIRED packages have been found:

  * KF5
  * Qt5Sql
  * KF5Wallet (required version >= 5.1.0)
  * KF5TextWidgets (required version >= 5.1.0)
  * KF5DocTools (required version >= 5.5.0)
  * ECM (required version >= 1.3.0)
  * Qt5Core
  * Qt5Network
  * Qt5Gui (required version >= 5.4.2)
  * Qt5WebKit
  * Qt5Widgets
  * Qt5 (required version >= 5.2)
  * Qt5Xml (required version >= 5.3.0)
  * KF5Config (required version >= 5.15.0)
  * KF5Service (required version >= 5.15.0)
  * KF5WidgetsAddons (required version >= 5.15.0)
  * KF5Bookmarks (required version >= 5.15.0)
  * KF5KIO (required version >= 5.3.0)
  * Gettext
  * PythonInterp
  * KF5I18n (required version >= 5.3.0)
  * KF5WebKit (required version >= 5.3.0)
  * KF5CoreAddons (required version >= 5.3.0)
  * Qt5Test (required version >= 5.2)

--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Found Libical version 1.0
-- Found KF5: success (found version "4.82.0") found components:  Config
WindowSystem XmlGui I18n KIO Service ThreadWeaver Archive IconThemes
CalendarCore
-- libkipi : use local library from /home/ag/src/dk5/extra/libkipi/
-- libkipi found         : TRUE
-- libkipi library       : KF5Kipi
-- libkipi includes      :
/home/ag/src/dk5/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi
-- libkipi SO version  : 30
-- libmediawiki : use local library from
/home/ag/src/dk5/extra/libmediawiki/
-- libmediawiki found      : TRUE
-- libmediawiki library    : KF5MediaWiki
-- libmediawiki includes   :
/home/ag/src/dk5/extra/libmediawiki/;/home/ag/src/dk5/build/extra/libmediawiki
-- libkvkontakte : use local library from
/home/ag/src/dk5/extra/libkvkontakte/
-- libkvkontakte found      : TRUE
-- libkvkontakte library    : KF5Vkontakte
-- libkvkontakte includes   :
/home/ag/src/dk5/extra/libkvkontakte/;/home/ag/src/dk5/build/extra/libkvkontakte
--
--
----------------------------------------------------------------------------------
--  kipi-plugins 5.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  libqt found.............................. YES
--  libkde found............................. YES
--  libkipi found............................ YES
--  libmediawiki found....................... YES (optional)
--  libkvkontakte found...................... YES (optional)
--  libkcalcore found........................ YES (optional)
--  libphonon found.......................... YES (optional)
--  libqtkoauth found........................ YES (optional)
--  native Opengl support found.............. YES (optional)
--  Qt5 OpenGL module found.................. YES (optional)
--  libX11 found............................. YES (optional)
--
--  kipi-plugins will be compiled............ YES
--  ImageViewer will be compiled............. YES (optional)
--  Panorama will be compiled................ YES (optional)
--  VKontakte will be compiled............... YES (optional)
--  Mediawiki will be compiled............... YES (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  Calendar will be compiled................ YES (optional)
CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37
(target_link_libraries):
   The keyword signature for target_link_libraries has already been used
with
   the target "kipiplugin_imgur".  All uses of target_link_libraries with a
   target must be either all-keyword or all-plain.

   The uses of the keyword signature are here:

    * extra/kipi-plugins/imgur/CMakeLists.txt:28 (target_link_libraries)



--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Found KF5: success (found version "5.15.0") found components:  XmlGui
CoreAddons Config NotifyConfig Notifications KIO Service Completion
WindowSystem Solid IconThemes I18n
-- Libjpeg version: 62
-- PGF library version required : 6.12.24
-- PGF_CODEC_VERSION_ID = 061412
-- PGF_VERSION          = 6.14.12
-- PGF_INCLUDE_DIRS     = /usr/include/libpgf
-- PGF_LIBRARIES        = /usr/lib/x86_64-linux-gnu/libpgf.so
-- PGF_LDFLAGS          =
-- PGF_CFLAGS           =
-- Boost version: 1.58.0
-- Found lcms version 2.06, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 2.4.9.1 (required: 2.4.9)
-- OpenCV headers: /usr/include/opencv;/usr/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
-- libkipi : use local library from /home/ag/src/dk5/extra/libkipi/
-- libkipi found         : TRUE
-- libkipi library       : KF5Kipi
-- libkipi includes      :
/home/ag/src/dk5/build/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi
-- libkipi SO version  : 30
-- libkface : use local library from /home/ag/src/dk5/extra/libkface/
-- libkface found        : TRUE
-- libkface library      : KF5KFace
-- libkface includes     :
/home/ag/src/dk5/build/extra/libkface/src;/home/ag/src/dk5/build/extra/libkface
-- libksane : use local library from /home/ag/src/dk5/extra/libksane/
-- libksane found      : TRUE
-- libksane library    : KF5Sane
-- libksane includes   :
/home/ag/src/dk5/extra/libksane/src;/home/ag/src/dk5/build/extra/libksane
-- Found KF5: success (found version "5.15.0") found components:
ItemModels Bookmarks
-- Found MySQL server executable at: /usr/sbin/mysqld
-- Found MySQL install_db executable at: /usr/bin/mysql_install_db
-- Found gphoto2: -lgphoto2_port;-lgphoto2 -lgphoto2_port -lm
-- Could NOT find LibUSB1 (missing:  LibUSB1_LIBRARIES)
-- LibUSB1_FOUND        = FALSE
-- LibUSB1_INCLUDE_DIRS = LibUSB1_TOP_INCLUDE_DIR-NOTFOUND/libusb-1.0
-- LibUSB1_LIBRARIES    = LibUSB1_LIBRARY-NOTFOUND
-- liblensfun: Found version 0.2.8.0 (required: 0.2.6.0)
--
--
----------------------------------------------------------------------------------
--  digiKam 5.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  KInotify Support will be compiled........ NO  (optional)
--  MySQL Server found....................... YES
--  MySQL install_db tool found.............. YES
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  liblcms found............................ YES
--  libboostgraph found...................... YES
--  libpgf found............................. YES
--  libexiv2 found........................... YES
--  libopencv found.......................... YES
--  libexpat found........................... YES
--  native threads support found............. YES
--  libkipi found............................ YES (optional)
--  libkface found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libksane found........................... YES (optional)
--  libkfilemetadata found................... YES (optional)
--  libakonadicontact found.................. NO  (optional)
--  digiKam will be compiled without KDE address book support.
--  Please install the libakonadicontact (version >= 5.0.0) development
package.
--
--  libjasper found.......................... YES (optional)
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
--
--  doxygen found............................ YES (optional)
--  digiKam can be compiled.................. YES
--
----------------------------------------------------------------------------------
--
-- LibRaw will be compiled with OpenMP support
-- LibRaw will be compiled with RedCine codec
-- Found Pthreads: /usr/lib/x86_64-linux-gnu/libpthread.so
-- Libjpeg >= version 8 depency not resolved. LibRaw cannot be compiled
with RawSpeed codec
-- Configuring incomplete, errors occurred!


On 24/10/15 10:22, Gilles Caulier wrote:

>
>
> 2015-10-23 19:37 GMT+02:00 Pedro Neves <[hidden email]
> <mailto:[hidden email]>>:
>
>     Gilles:
>
>     I've successfully compiled and installed Digikam 5 and Kipi-plugins
>     from git, after struggling to get all the dependencies.
>     There are a few glitches still, as I couldn't find:
>
>     - libmediawiki:
>     https://projects.kde.org/projects/extragear/libs/libmediawiki/repository:
>     An error occurred on the page you were trying to access.
>
>     - libkvkontakte:
>     https://projects.kde.org/projects/extragear/libs/libkvkontakte/repository:
>     An error occurred on the page you were trying to access.
>
>
>
> Web interface sound broken (Redmine CMS). One top level of urls work fine.
>
>     Also:
>
>     On 23-10-2015 14:33, Gilles Caulier wrote:
>
>
>         no need. Just install sub-components on your system and cmake
>         will detect it automatically. I do it here without problem.
>
>
>     I don't know how to build and install these sub-components
>     (libkfilemetadata and libakonadicontact).
>
>
> https://projects.kde.org/projects/frameworks/kfilemetadata
>
>
> https://projects.kde.org/projects/kde/kdepimlibs/repository/revisions/master/show/akonadi-contact
>
> Both are optional and experimental. You can forget it for the moment.
>
> Note : kfilemetadata => KDE files indexer support => Baloo => bugs in
> this KDE components : if nothing is really improved in this
> implementation from Baloo team, i will remove it. Too much problem.
>
>
>     Finally, when I tried to re-compile kipi-plugins with a few more
>     options, I got:
>
>     CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37
>     (target_link_libraries):
>        The keyword signature for target_link_libraries has already been
>     used with
>        the target "kipiplugin_imgur".  All uses of target_link_libraries
>     with a
>        target must be either all-keyword or all-plain.
>
>        The uses of the keyword signature are here:
>
>         * extra/kipi-plugins/imgur/CMakeLists.txt:28 (target_link_libraries)
>
>     Any hints?
>
>
> Give me the full trace please
>
> Gilles Caulier
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Gilles Caulier-4
I think that found the problem. the code is below :

target_link_libraries(kipiplugin_imgur                                                                                                                                                                                                                                                    
    PRIVATE                                                                                                                                                                                                                                                                               
        KF5kipiplugins                                                                                                                                                                                                                                                                    
        KF5::Kipi                                                                                                                                                                                                                                                                         
        KF5::KIOCore                                                                                                                                                                                                                                                                      
        KF5::WindowSystem                                                                                                                                                                                                                                                                 
)                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                          
if(QTKOAUTH_FOUND)                                                                                                                                                                                                                                                                        
    target_link_libraries(kipiplugin_imgur ${QTKOAUTH_LIBRARIES})                                                                                                                                                                                                  
^^^^^ problem here.
                        
endif() 

Sound like you have QtKOauth installed. Cmake want to link kipiplugin_imgur with it but there is no PUBLIC or PRIVATE rules relevant as with kipi, kiocore, windowsystem etc.

fix :


Gilles Caulier



2015-10-24 12:01 GMT+02:00 Andrew Goodbody <[hidden email]>:
I have the same problem so here is my log.

$ ./bootstrap.linux
Qt      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 libkface 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
-- Found KF5: success (found version "5.15.0") found components:  I18n Config XmlGui Service

--
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.1.0)
 * Qt5Core
 * Qt5Widgets
 * Qt5Gui
 * Qt5 (required version >= 5.2.0)
 * Gettext
 * PythonInterp
 * KF5I18n
 * KF5Config
 * KF5XmlGui
 * KF5Service
 * KF5

--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 2.4.9.1 (required: 2.4.9)
-- OpenCV headers: /usr/include/opencv;/usr/include
-- OpenCV libs   : opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc

--
-- The following OPTIONAL packages have been found:

 * OpenCV

-- The following REQUIRED packages have been found:

 * Gettext
 * PythonInterp
 * KF5I18n
 * KF5Config
 * KF5XmlGui
 * KF5Service
 * KF5
 * ECM (required version >= 1.1.0)
 * Qt5Core
 * Qt5Widgets
 * Qt5Sql
 * Qt5Xml
 * Qt5Gui
 * Qt5 (required version >= 5.2.0)

-- -------------------------------------------
-- Starting CMake configuration for: libksane
-- SANE_FOUND:       TRUE
-- SANE_INCLUDE_DIR: /usr/include
-- SANE_LIBRARY:     /usr/lib/x86_64-linux-gnu/libsane.so
--
-- The following OPTIONAL packages have been found:

 * OpenCV
 * Sane

-- The following REQUIRED packages have been found:

 * KF5XmlGui
 * KF5Service
 * KF5
 * Qt5Sql
 * ECM (required version >= 1.1.0)
 * Qt5Core
 * Qt5Gui (required version >= 5.4.2)
 * Qt5Widgets
 * Qt5Xml (required version >= 5.3.0)
 * KF5Config (required version >= 5.1.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.1.0)
 * KF5Wallet (required version >= 5.1.0)
 * KF5WidgetsAddons (required version >= 5.1.0)
 * KF5TextWidgets (required version >= 5.1.0)
 * Qt5Test
 * Qt5 (required version >= 5.2.0)

--
-- The following OPTIONAL packages have been found:

 * OpenCV
 * Sane

-- The following REQUIRED packages have been found:

 * KF5XmlGui
 * KF5Service
 * KF5
 * Qt5Sql
 * Qt5Gui (required version >= 5.4.2)
 * Qt5Widgets
 * Qt5Xml (required version >= 5.3.0)
 * KF5Config (required version >= 5.1.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.1.0)
 * KF5Wallet (required version >= 5.1.0)
 * KF5WidgetsAddons (required version >= 5.1.0)
 * KF5TextWidgets (required version >= 5.1.0)
 * ECM (required version >= 0.0.10)
 * Qt5Core
 * Qt5Network
 * KF5CoreAddons (required version >= 5.5.0)
 * KF5DocTools (required version >= 5.5.0)
 * Qt5Test
 * Qt5 (required version >= 5.2.0)

--
-- The following OPTIONAL packages have been found:

 * OpenCV
 * Sane

-- The following REQUIRED packages have been found:

 * KF5
 * Qt5Sql
 * KF5Wallet (required version >= 5.1.0)
 * KF5TextWidgets (required version >= 5.1.0)
 * KF5DocTools (required version >= 5.5.0)
 * ECM (required version >= 1.3.0)
 * Qt5Core
 * Qt5Network
 * Qt5Gui (required version >= 5.4.2)
 * Qt5WebKit
 * Qt5Widgets
 * Qt5 (required version >= 5.2)
 * Qt5Xml (required version >= 5.3.0)
 * KF5Config (required version >= 5.15.0)
 * KF5Service (required version >= 5.15.0)
 * KF5WidgetsAddons (required version >= 5.15.0)
 * KF5Bookmarks (required version >= 5.15.0)
 * KF5KIO (required version >= 5.3.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.3.0)
 * KF5WebKit (required version >= 5.3.0)
 * KF5CoreAddons (required version >= 5.3.0)
 * Qt5Test (required version >= 5.2)

--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Found Libical version 1.0
-- Found KF5: success (found version "4.82.0") found components:  Config WindowSystem XmlGui I18n KIO Service ThreadWeaver Archive IconThemes CalendarCore
-- libkipi : use local library from /home/ag/src/dk5/extra/libkipi/
-- libkipi found         : TRUE
-- libkipi library       : KF5Kipi
-- libkipi includes      : /home/ag/src/dk5/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi
-- libkipi SO version  : 30
-- libmediawiki : use local library from /home/ag/src/dk5/extra/libmediawiki/
-- libmediawiki found      : TRUE
-- libmediawiki library    : KF5MediaWiki
-- libmediawiki includes   : /home/ag/src/dk5/extra/libmediawiki/;/home/ag/src/dk5/build/extra/libmediawiki
-- libkvkontakte : use local library from /home/ag/src/dk5/extra/libkvkontakte/
-- libkvkontakte found      : TRUE
-- libkvkontakte library    : KF5Vkontakte
-- libkvkontakte includes   : /home/ag/src/dk5/extra/libkvkontakte/;/home/ag/src/dk5/build/extra/libkvkontakte
--
--
----------------------------------------------------------------------------------
--  kipi-plugins 5.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  libqt found.............................. YES
--  libkde found............................. YES
--  libkipi found............................ YES
--  libmediawiki found....................... YES (optional)
--  libkvkontakte found...................... YES (optional)
--  libkcalcore found........................ YES (optional)
--  libphonon found.......................... YES (optional)
--  libqtkoauth found........................ YES (optional)
--  native Opengl support found.............. YES (optional)
--  Qt5 OpenGL module found.................. YES (optional)
--  libX11 found............................. YES (optional)
--
--  kipi-plugins will be compiled............ YES
--  ImageViewer will be compiled............. YES (optional)
--  Panorama will be compiled................ YES (optional)
--  VKontakte will be compiled............... YES (optional)
--  Mediawiki will be compiled............... YES (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  Calendar will be compiled................ YES (optional)
CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37 (target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "kipiplugin_imgur".  All uses of target_link_libraries with a
  target must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * extra/kipi-plugins/imgur/CMakeLists.txt:28 (target_link_libraries)



--
----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Found KF5: success (found version "5.15.0") found components:  XmlGui CoreAddons Config NotifyConfig Notifications KIO Service Completion WindowSystem Solid IconThemes I18n
-- Libjpeg version: 62
-- PGF library version required : 6.12.24
-- PGF_CODEC_VERSION_ID = 061412
-- PGF_VERSION          = 6.14.12
-- PGF_INCLUDE_DIRS     = /usr/include/libpgf
-- PGF_LIBRARIES        = /usr/lib/x86_64-linux-gnu/libpgf.so
-- PGF_LDFLAGS          =
-- PGF_CFLAGS           =
-- Boost version: 1.58.0
-- Found lcms version 2.06, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 2.4.9.1 (required: 2.4.9)
-- OpenCV headers: /usr/include/opencv;/usr/include
-- OpenCV libs   : opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
-- libkipi : use local library from /home/ag/src/dk5/extra/libkipi/
-- libkipi found         : TRUE
-- libkipi library       : KF5Kipi
-- libkipi includes      : /home/ag/src/dk5/build/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi
-- libkipi SO version  : 30
-- libkface : use local library from /home/ag/src/dk5/extra/libkface/
-- libkface found        : TRUE
-- libkface library      : KF5KFace
-- libkface includes     : /home/ag/src/dk5/build/extra/libkface/src;/home/ag/src/dk5/build/extra/libkface
-- libksane : use local library from /home/ag/src/dk5/extra/libksane/
-- libksane found      : TRUE
-- libksane library    : KF5Sane
-- libksane includes   : /home/ag/src/dk5/extra/libksane/src;/home/ag/src/dk5/build/extra/libksane
-- Found KF5: success (found version "5.15.0") found components: ItemModels Bookmarks
-- Found MySQL server executable at: /usr/sbin/mysqld
-- Found MySQL install_db executable at: /usr/bin/mysql_install_db
-- Found gphoto2: -lgphoto2_port;-lgphoto2 -lgphoto2_port -lm
-- Could NOT find LibUSB1 (missing:  LibUSB1_LIBRARIES)
-- LibUSB1_FOUND        = FALSE
-- LibUSB1_INCLUDE_DIRS = LibUSB1_TOP_INCLUDE_DIR-NOTFOUND/libusb-1.0
-- LibUSB1_LIBRARIES    = LibUSB1_LIBRARY-NOTFOUND
-- liblensfun: Found version 0.2.8.0 (required: 0.2.6.0)
--
--
----------------------------------------------------------------------------------
--  digiKam 5.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  KInotify Support will be compiled........ NO  (optional)
--  MySQL Server found....................... YES
--  MySQL install_db tool found.............. YES
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  liblcms found............................ YES
--  libboostgraph found...................... YES
--  libpgf found............................. YES
--  libexiv2 found........................... YES
--  libopencv found.......................... YES
--  libexpat found........................... YES
--  native threads support found............. YES
--  libkipi found............................ YES (optional)
--  libkface found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libksane found........................... YES (optional)
--  libkfilemetadata found................... YES (optional)
--  libakonadicontact found.................. NO  (optional)
--  digiKam will be compiled without KDE address book support.
--  Please install the libakonadicontact (version >= 5.0.0) development package.
--
--  libjasper found.......................... YES (optional)
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
--
--  doxygen found............................ YES (optional)
--  digiKam can be compiled.................. YES
--
----------------------------------------------------------------------------------
--
-- LibRaw will be compiled with OpenMP support
-- LibRaw will be compiled with RedCine codec
-- Found Pthreads: /usr/lib/x86_64-linux-gnu/libpthread.so
-- Libjpeg >= version 8 depency not resolved. LibRaw cannot be compiled with RawSpeed codec
-- Configuring incomplete, errors occurred!


On 24/10/15 10:22, Gilles Caulier wrote:


2015-10-23 19:37 GMT+02:00 Pedro Neves <[hidden email]
<mailto:[hidden email]>>:


    Gilles:

    I've successfully compiled and installed Digikam 5 and Kipi-plugins
    from git, after struggling to get all the dependencies.
    There are a few glitches still, as I couldn't find:

    - libmediawiki:
    https://projects.kde.org/projects/extragear/libs/libmediawiki/repository:
    An error occurred on the page you were trying to access.

    - libkvkontakte:
    https://projects.kde.org/projects/extragear/libs/libkvkontakte/repository:
    An error occurred on the page you were trying to access.



Web interface sound broken (Redmine CMS). One top level of urls work fine.

    Also:

    On 23-10-2015 14:33, Gilles Caulier wrote:


        no need. Just install sub-components on your system and cmake
        will detect it automatically. I do it here without problem.


    I don't know how to build and install these sub-components
    (libkfilemetadata and libakonadicontact).


https://projects.kde.org/projects/frameworks/kfilemetadata


https://projects.kde.org/projects/kde/kdepimlibs/repository/revisions/master/show/akonadi-contact

Both are optional and experimental. You can forget it for the moment.

Note : kfilemetadata => KDE files indexer support => Baloo => bugs in
this KDE components : if nothing is really improved in this
implementation from Baloo team, i will remove it. Too much problem.


    Finally, when I tried to re-compile kipi-plugins with a few more
    options, I got:

    CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37
    (target_link_libraries):
       The keyword signature for target_link_libraries has already been
    used with
       the target "kipiplugin_imgur".  All uses of target_link_libraries
    with a
       target must be either all-keyword or all-plain.

       The uses of the keyword signature are here:

        * extra/kipi-plugins/imgur/CMakeLists.txt:28 (target_link_libraries)

    Any hints?


Give me the full trace please

Gilles Caulier


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

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


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

Re: compiling Digikam and Libkipi - Ubuntu 15.10

Andrew Goodbody
Thanks Gilles, that worked.

Andrew

On 24/10/15 15:55, Gilles Caulier wrote:

> I think that found the problem. the code is below :
>
> target_link_libraries(kipiplugin_imgur
>      PRIVATE
>          KF5kipiplugins
>          KF5::Kipi
>          KF5::KIOCore
>          KF5::WindowSystem
> )
> if(QTKOAUTH_FOUND)
>      target_link_libraries(kipiplugin_imgur ${QTKOAUTH_LIBRARIES})
> ^^^^^ problem here.
> endif()
>
> Sound like you have QtKOauth installed. Cmake want to
> link kipiplugin_imgur with it but there is no PUBLIC or PRIVATE rules
> relevant as with kipi, kiocore, windowsystem etc.
>
> fix :
>
> http://commits.kde.org/kipi-plugins/d1d462beab64a28759442fc293423c1a10924fa6
>
> Gilles Caulier
>
>
>
> 2015-10-24 12:01 GMT+02:00 Andrew Goodbody <[hidden email]
> <mailto:[hidden email]>>:
>
>     I have the same problem so here is my log.
>
>     $ ./bootstrap.linux
>     Qt      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 libkface 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
>     -- Found KF5: success (found version "5.15.0") found components:
>     I18n Config XmlGui Service
>
>     --
>     -- The following REQUIRED packages have been found:
>
>       * ECM (required version >= 1.1.0)
>       * Qt5Core
>       * Qt5Widgets
>       * Qt5Gui
>       * Qt5 (required version >= 5.2.0)
>       * Gettext
>       * PythonInterp
>       * KF5I18n
>       * KF5Config
>       * KF5XmlGui
>       * KF5Service
>       * KF5
>
>     --
>     ----------------------------------------------------------------------------------
>     -- Starting CMake configuration for: libkface
>     -- First try at finding OpenCV...
>     -- Great, found OpenCV on the first try.
>     -- OpenCV Root directory is: /usr/share/OpenCV
>     -- OpenCV: Found version 2.4.9.1 (required: 2.4.9)
>     -- OpenCV headers: /usr/include/opencv;/usr/include
>     -- OpenCV libs   :
>     opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
>
>     --
>     -- The following OPTIONAL packages have been found:
>
>       * OpenCV
>
>     -- The following REQUIRED packages have been found:
>
>       * Gettext
>       * PythonInterp
>       * KF5I18n
>       * KF5Config
>       * KF5XmlGui
>       * KF5Service
>       * KF5
>       * ECM (required version >= 1.1.0)
>       * Qt5Core
>       * Qt5Widgets
>       * Qt5Sql
>       * Qt5Xml
>       * Qt5Gui
>       * Qt5 (required version >= 5.2.0)
>
>     -- -------------------------------------------
>     -- Starting CMake configuration for: libksane
>     -- SANE_FOUND:       TRUE
>     -- SANE_INCLUDE_DIR: /usr/include
>     -- SANE_LIBRARY:     /usr/lib/x86_64-linux-gnu/libsane.so
>     --
>     -- The following OPTIONAL packages have been found:
>
>       * OpenCV
>       * Sane
>
>     -- The following REQUIRED packages have been found:
>
>       * KF5XmlGui
>       * KF5Service
>       * KF5
>       * Qt5Sql
>       * ECM (required version >= 1.1.0)
>       * Qt5Core
>       * Qt5Gui (required version >= 5.4.2)
>       * Qt5Widgets
>       * Qt5Xml (required version >= 5.3.0)
>       * KF5Config (required version >= 5.1.0)
>       * Gettext
>       * PythonInterp
>       * KF5I18n (required version >= 5.1.0)
>       * KF5Wallet (required version >= 5.1.0)
>       * KF5WidgetsAddons (required version >= 5.1.0)
>       * KF5TextWidgets (required version >= 5.1.0)
>       * Qt5Test
>       * Qt5 (required version >= 5.2.0)
>
>     --
>     -- The following OPTIONAL packages have been found:
>
>       * OpenCV
>       * Sane
>
>     -- The following REQUIRED packages have been found:
>
>       * KF5XmlGui
>       * KF5Service
>       * KF5
>       * Qt5Sql
>       * Qt5Gui (required version >= 5.4.2)
>       * Qt5Widgets
>       * Qt5Xml (required version >= 5.3.0)
>       * KF5Config (required version >= 5.1.0)
>       * Gettext
>       * PythonInterp
>       * KF5I18n (required version >= 5.1.0)
>       * KF5Wallet (required version >= 5.1.0)
>       * KF5WidgetsAddons (required version >= 5.1.0)
>       * KF5TextWidgets (required version >= 5.1.0)
>       * ECM (required version >= 0.0.10)
>       * Qt5Core
>       * Qt5Network
>       * KF5CoreAddons (required version >= 5.5.0)
>       * KF5DocTools (required version >= 5.5.0)
>       * Qt5Test
>       * Qt5 (required version >= 5.2.0)
>
>     --
>     -- The following OPTIONAL packages have been found:
>
>       * OpenCV
>       * Sane
>
>     -- The following REQUIRED packages have been found:
>
>       * KF5
>       * Qt5Sql
>       * KF5Wallet (required version >= 5.1.0)
>       * KF5TextWidgets (required version >= 5.1.0)
>       * KF5DocTools (required version >= 5.5.0)
>       * ECM (required version >= 1.3.0)
>       * Qt5Core
>       * Qt5Network
>       * Qt5Gui (required version >= 5.4.2)
>       * Qt5WebKit
>       * Qt5Widgets
>       * Qt5 (required version >= 5.2)
>       * Qt5Xml (required version >= 5.3.0)
>       * KF5Config (required version >= 5.15.0)
>       * KF5Service (required version >= 5.15.0)
>       * KF5WidgetsAddons (required version >= 5.15.0)
>       * KF5Bookmarks (required version >= 5.15.0)
>       * KF5KIO (required version >= 5.3.0)
>       * Gettext
>       * PythonInterp
>       * KF5I18n (required version >= 5.3.0)
>       * KF5WebKit (required version >= 5.3.0)
>       * KF5CoreAddons (required version >= 5.3.0)
>       * Qt5Test (required version >= 5.2)
>
>     --
>     ----------------------------------------------------------------------------------
>     -- Starting CMake configuration for: kipi-plugins
>     -- Found Libical version 1.0
>     -- Found KF5: success (found version "4.82.0") found components:
>     Config WindowSystem XmlGui I18n KIO Service ThreadWeaver Archive
>     IconThemes CalendarCore
>     -- libkipi : use local library from /home/ag/src/dk5/extra/libkipi/
>     -- libkipi found         : TRUE
>     -- libkipi library       : KF5Kipi
>     -- libkipi includes      :
>     /home/ag/src/dk5/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi
>     -- libkipi SO version  : 30
>     -- libmediawiki : use local library from
>     /home/ag/src/dk5/extra/libmediawiki/
>     -- libmediawiki found      : TRUE
>     -- libmediawiki library    : KF5MediaWiki
>     -- libmediawiki includes   :
>     /home/ag/src/dk5/extra/libmediawiki/;/home/ag/src/dk5/build/extra/libmediawiki
>     -- libkvkontakte : use local library from
>     /home/ag/src/dk5/extra/libkvkontakte/
>     -- libkvkontakte found      : TRUE
>     -- libkvkontakte library    : KF5Vkontakte
>     -- libkvkontakte includes   :
>     /home/ag/src/dk5/extra/libkvkontakte/;/home/ag/src/dk5/build/extra/libkvkontakte
>     --
>     --
>     ----------------------------------------------------------------------------------
>     --  kipi-plugins 5.0.0-beta1 dependencies results
>       <http://www.digikam.org>
>     --
>     --  libqt found.............................. YES
>     --  libkde found............................. YES
>     --  libkipi found............................ YES
>     --  libmediawiki found....................... YES (optional)
>     --  libkvkontakte found...................... YES (optional)
>     --  libkcalcore found........................ YES (optional)
>     --  libphonon found.......................... YES (optional)
>     --  libqtkoauth found........................ YES (optional)
>     --  native Opengl support found.............. YES (optional)
>     --  Qt5 OpenGL module found.................. YES (optional)
>     --  libX11 found............................. YES (optional)
>     --
>     --  kipi-plugins will be compiled............ YES
>     --  ImageViewer will be compiled............. YES (optional)
>     --  Panorama will be compiled................ YES (optional)
>     --  VKontakte will be compiled............... YES (optional)
>     --  Mediawiki will be compiled............... YES (optional)
>     --  AdvancedSlideshow will be compiled....... YES (optional)
>     --  Calendar will be compiled................ YES (optional)
>     CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37
>     (target_link_libraries):
>        The keyword signature for target_link_libraries has already been
>     used with
>        the target "kipiplugin_imgur".  All uses of target_link_libraries
>     with a
>        target must be either all-keyword or all-plain.
>
>        The uses of the keyword signature are here:
>
>         * extra/kipi-plugins/imgur/CMakeLists.txt:28 (target_link_libraries)
>
>
>
>     --
>     ----------------------------------------------------------------------------------
>     -- Starting CMake configuration for: digikam
>     -- Found KF5: success (found version "5.15.0") found components:
>     XmlGui CoreAddons Config NotifyConfig Notifications KIO Service
>     Completion WindowSystem Solid IconThemes I18n
>     -- Libjpeg version: 62
>     -- PGF library version required : 6.12.24
>     -- PGF_CODEC_VERSION_ID = 061412
>     -- PGF_VERSION          = 6.14.12
>     -- PGF_INCLUDE_DIRS     = /usr/include/libpgf
>     -- PGF_LIBRARIES        = /usr/lib/x86_64-linux-gnu/libpgf.so
>     -- PGF_LDFLAGS          =
>     -- PGF_CFLAGS           =
>     -- Boost version: 1.58.0
>     -- Found lcms version 2.06, /usr/lib/x86_64-linux-gnu/liblcms2.so
>     -- First try at finding OpenCV...
>     -- Great, found OpenCV on the first try.
>     -- OpenCV Root directory is: /usr/share/OpenCV
>     -- OpenCV: Found version 2.4.9.1 (required: 2.4.9)
>     -- OpenCV headers: /usr/include/opencv;/usr/include
>     -- OpenCV libs   :
>     opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
>     -- libkipi : use local library from /home/ag/src/dk5/extra/libkipi/
>     -- libkipi found         : TRUE
>     -- libkipi library       : KF5Kipi
>     -- libkipi includes      :
>     /home/ag/src/dk5/build/extra/libkipi/src;/home/ag/src/dk5/build/extra/libkipi
>     -- libkipi SO version  : 30
>     -- libkface : use local library from /home/ag/src/dk5/extra/libkface/
>     -- libkface found        : TRUE
>     -- libkface library      : KF5KFace
>     -- libkface includes     :
>     /home/ag/src/dk5/build/extra/libkface/src;/home/ag/src/dk5/build/extra/libkface
>     -- libksane : use local library from /home/ag/src/dk5/extra/libksane/
>     -- libksane found      : TRUE
>     -- libksane library    : KF5Sane
>     -- libksane includes   :
>     /home/ag/src/dk5/extra/libksane/src;/home/ag/src/dk5/build/extra/libksane
>     -- Found KF5: success (found version "5.15.0") found components:
>     ItemModels Bookmarks
>     -- Found MySQL server executable at: /usr/sbin/mysqld
>     -- Found MySQL install_db executable at: /usr/bin/mysql_install_db
>     -- Found gphoto2: -lgphoto2_port;-lgphoto2 -lgphoto2_port -lm
>     -- Could NOT find LibUSB1 (missing:  LibUSB1_LIBRARIES)
>     -- LibUSB1_FOUND        = FALSE
>     -- LibUSB1_INCLUDE_DIRS = LibUSB1_TOP_INCLUDE_DIR-NOTFOUND/libusb-1.0
>     -- LibUSB1_LIBRARIES    = LibUSB1_LIBRARY-NOTFOUND
>     -- liblensfun: Found version 0.2.8.0 (required: 0.2.6.0)
>     --
>     --
>     ----------------------------------------------------------------------------------
>     --  digiKam 5.0.0-beta1 dependencies results   <http://www.digikam.org>
>     --
>     --  MySQL Database Support will be compiled.. YES (optional)
>     --  KInotify Support will be compiled........ NO  (optional)
>     --  MySQL Server found....................... YES
>     --  MySQL install_db tool found.............. YES
>     --  libqt found.............................. YES
>     --  libkde found............................. YES
>     --  libjpeg found............................ YES
>     --  libtiff found............................ YES
>     --  libpng found............................. YES
>     --  liblcms found............................ YES
>     --  libboostgraph found...................... YES
>     --  libpgf found............................. YES
>     --  libexiv2 found........................... YES
>     --  libopencv found.......................... YES
>     --  libexpat found........................... YES
>     --  native threads support found............. YES
>     --  libkipi found............................ YES (optional)
>     --  libkface found........................... YES (optional)
>     --  libmarble found.......................... YES (optional)
>     --  libksane found........................... YES (optional)
>     --  libkfilemetadata found................... YES (optional)
>     --  libakonadicontact found.................. NO  (optional)
>     --  digiKam will be compiled without KDE address book support.
>     --  Please install the libakonadicontact (version >= 5.0.0)
>     development package.
>     --
>     --  libjasper found.......................... YES (optional)
>     --  liblensfun found......................... YES (optional)
>     --  liblqr-1 found........................... YES (optional)
>     --  libeigen3 found.......................... YES (optional)
>     --  libgphoto2 found......................... NO  (optional)
>     --  digiKam will be compiled without GPhoto2 camera drivers support.
>     --  Please install the libgphoto2 (version >= 2.4.0) development
>     package.
>     --
>     --  doxygen found............................ YES (optional)
>     --  digiKam can be compiled.................. YES
>     --
>     ----------------------------------------------------------------------------------
>     --
>     -- LibRaw will be compiled with OpenMP support
>     -- LibRaw will be compiled with RedCine codec
>     -- Found Pthreads: /usr/lib/x86_64-linux-gnu/libpthread.so
>     -- Libjpeg >= version 8 depency not resolved. LibRaw cannot be
>     compiled with RawSpeed codec
>     -- Configuring incomplete, errors occurred!
>
>
>     On 24/10/15 10:22, Gilles Caulier wrote:
>
>
>
>         2015-10-23 19:37 GMT+02:00 Pedro Neves <[hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>>:
>
>
>              Gilles:
>
>              I've successfully compiled and installed Digikam 5 and
>         Kipi-plugins
>              from git, after struggling to get all the dependencies.
>              There are a few glitches still, as I couldn't find:
>
>              - libmediawiki:
>         https://projects.kde.org/projects/extragear/libs/libmediawiki/repository:
>              An error occurred on the page you were trying to access.
>
>              - libkvkontakte:
>         https://projects.kde.org/projects/extragear/libs/libkvkontakte/repository:
>              An error occurred on the page you were trying to access.
>
>
>
>         Web interface sound broken (Redmine CMS). One top level of urls
>         work fine.
>
>              Also:
>
>              On 23-10-2015 14:33, Gilles Caulier wrote:
>
>
>                  no need. Just install sub-components on your system and
>         cmake
>                  will detect it automatically. I do it here without problem.
>
>
>              I don't know how to build and install these sub-components
>              (libkfilemetadata and libakonadicontact).
>
>
>         https://projects.kde.org/projects/frameworks/kfilemetadata
>
>
>         https://projects.kde.org/projects/kde/kdepimlibs/repository/revisions/master/show/akonadi-contact
>
>         Both are optional and experimental. You can forget it for the
>         moment.
>
>         Note : kfilemetadata => KDE files indexer support => Baloo =>
>         bugs in
>         this KDE components : if nothing is really improved in this
>         implementation from Baloo team, i will remove it. Too much problem.
>
>
>              Finally, when I tried to re-compile kipi-plugins with a few
>         more
>              options, I got:
>
>              CMake Error at extra/kipi-plugins/imgur/CMakeLists.txt:37
>              (target_link_libraries):
>                 The keyword signature for target_link_libraries has
>         already been
>              used with
>                 the target "kipiplugin_imgur".  All uses of
>         target_link_libraries
>              with a
>                 target must be either all-keyword or all-plain.
>
>                 The uses of the keyword signature are here:
>
>                  * extra/kipi-plugins/imgur/CMakeLists.txt:28
>         (target_link_libraries)
>
>              Any hints?
>
>
>         Give me the full trace please
>
>         Gilles Caulier
>
>
>         _______________________________________________
>         Digikam-users mailing list
>         [hidden email] <mailto:[hidden email]>
>         https://mail.kde.org/mailman/listinfo/digikam-users
>
>     _______________________________________________
>     Digikam-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users