kubuntu wily - digikam refuses to start

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

kubuntu wily - digikam refuses to start

Luca Ferrari
Hi all,
so far I'm starting to hate kubuntu...I'm running 15.10, but the
official digikam package refuses to start:

% digikam
digikam: symbol lookup error: /usr/lib/libkface.so.3: undefined
symbol: _ZNK2cv14FaceRecognizer4saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

Having KF5, is there a chance I can recompile a digikam version to
avoid such binary linkage problem?

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

Re: kubuntu wily - digikam refuses to start

Gilles Caulier-4
This is a binary compatibility issue with libkface. It's typically a packages problem. Try to update libkface...

Gilles Caulier

2015-10-27 5:38 GMT-04:00 Luca Ferrari <[hidden email]>:
Hi all,
so far I'm starting to hate kubuntu...I'm running 15.10, but the
official digikam package refuses to start:

% digikam
digikam: symbol lookup error: /usr/lib/libkface.so.3: undefined
symbol: _ZNK2cv14FaceRecognizer4saveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

Having KF5, is there a chance I can recompile a digikam version to
avoid such binary linkage problem?

Thanks,
Luca
_______________________________________________
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: kubuntu wily - digikam refuses to start

Luca Ferrari
On Tue, Oct 27, 2015 at 10:41 AM, Gilles Caulier
<[hidden email]> wrote:
> This is a binary compatibility issue with libkface. It's typically a
> packages problem. Try to update libkface...

That's another problem: I've no upgrades available.
I've tried to remove digikam and libkface and reinstall them, but the
same error occurs.

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

Re: kubuntu wily - digikam refuses to start

Mark Fraser

On 27 Oct 2015 10:29, "Luca Ferrari" <[hidden email]> wrote:
>
> On Tue, Oct 27, 2015 at 10:41 AM, Gilles Caulier
> <[hidden email]> wrote:
> > This is a binary compatibility issue with libkface. It's typically a
> > packages problem. Try to update libkface...
>
> That's another problem: I've no upgrades available.
> I've tried to remove digikam and libkface and reinstall them, but the
> same error occurs.
>
> Luca

Try installing apt-show-versions and then doing
apt-show-versions | grep newer and
apt-show-versions | grep available

Any packages that show up are either from PPAs that are no longer used or packages that aren't in the repositories any more.

If you do apt-cache policy <package_name> on any packages that are shown as being newer, you can install the right one by using apt-get install <package_name>=<version>.


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

Re: kubuntu wily - digikam refuses to start

Luca Ferrari
On Tue, Oct 27, 2015 at 11:53 AM, Mark Fraser <[hidden email]> wrote:
> Try installing apt-show-versions and then doing
> apt-show-versions | grep newer and
> apt-show-versions | grep available
>
> Any packages that show up are either from PPAs that are no longer used or
> packages that aren't in the repositories any more.

If I do that I get package downgrade, so I suppose I'm not applying it
correctly.
Anyway, libkface is not available as newer package.
Is there a way to compile from scratch digikam on my system?

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

Re: kubuntu wily - digikam refuses to start

Mark Fraser


On 28 Oct 2015 10:38, "Luca Ferrari" <[hidden email]> wrote:
>
> On Tue, Oct 27, 2015 at 11:53 AM, Mark Fraser <[hidden email]> wrote:
> > Try installing apt-show-versions and then doing
> > apt-show-versions | grep newer and
> > apt-show-versions | grep available
> >
> > Any packages that show up are either from PPAs that are no longer used or
> > packages that aren't in the repositories any more.
>
> If I do that I get package downgrade, so I suppose I'm not applying it
> correctly.
> Anyway, libkface is not available as newer package.
> Is there a way to compile from scratch digikam on my system?
>
> Thanks,
> Luca

It will say that it is a package downgrade, but it is what you want.


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

Re: kubuntu wily - digikam refuses to start

Luca Ferrari
On Wed, Oct 28, 2015 at 11:40 AM, Mark Fraser <[hidden email]> wrote:
> It will say that it is a package downgrade, but it is what you want.
>

I've done it for every package listed as newer, but still don't get
digikam working.
Maybe I'm missing something here: what am I supposed to do now?

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

Re: kubuntu wily - digikam refuses to start

Luca Ferrari
On Thu, Oct 29, 2015 at 9:22 AM, Luca Ferrari <[hidden email]> wrote:
> I've done it for every package listed as newer, but still don't get
> digikam working.
> Maybe I'm missing something here: what am I supposed to do now?

I'm battling against this problem, not found a solution yet.
Anyone has other suggestions on how to be able to write a quite recent
version of digikam on kubuntu 15.10?
I've tried to compile it from scratch, but it does not pass the
boostrap configuration (as reported in another thread).

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

Re: kubuntu wily - digikam refuses to start

Gilles Caulier-4
Please give the full config trace here

And please read the README file before, especially about dependencies...

Gilles Caulier

2015-10-30 11:25 GMT+01:00 Luca Ferrari <[hidden email]>:
On Thu, Oct 29, 2015 at 9:22 AM, Luca Ferrari <[hidden email]> wrote:
> I've done it for every package listed as newer, but still don't get
> digikam working.
> Maybe I'm missing something here: what am I supposed to do now?

I'm battling against this problem, not found a solution yet.
Anyone has other suggestions on how to be able to write a quite recent
version of digikam on kubuntu 15.10?
I've tried to compile it from scratch, but it does not pass the
boostrap configuration (as reported in another thread).

Thanks,
Luca
_______________________________________________
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: kubuntu wily - digikam refuses to start

Luca Ferrari
On Fri, Oct 30, 2015 at 11:31 AM, Gilles Caulier
<[hidden email]> wrote:
> Please give the full config trace here
>

Here it is:

% sh bootstrap.linux
     ~/Downloads/digikam-4.14.0
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam Software Collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libkexiv2 will be compiled........ YES
-- Local shared libkdcraw will be compiled........ YES
-- Local shared libksane will be compiled......... YES
-- Local shared libkface will be compiled......... YES
-- Local shared libkgeomap 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..................... YES
-- Tests code will be compiled.................... YES
CMake Error at extra/CMakeLists.txt:11 (add_subdirectory):
  add_subdirectory given source "libkexiv2" which is not an existing
  directory.


CMake Error at extra/CMakeLists.txt:15 (add_subdirectory):
  add_subdirectory given source "libkdcraw" which is not an existing
  directory.


CMake Error at extra/CMakeLists.txt:19 (add_subdirectory):
  add_subdirectory given source "libkipi" which is not an existing directory.


-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
CMake Warning at cmake/modules/FindKipi.cmake:48 (MESSAGE):
  KIPI_LOCAL_DIR specified as "extra/libkipi" but libkipi could not be found
  there.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:67 (find_package)


-- Check Kipi library using pkg-config...
-- Kipi library version: 2.2.0
-- libkipi: Found version 2.2.0 (required: 2.0.0)
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
CMake Warning at
/usr/share/kde4/apps/cmake/modules/FindKdcraw.cmake:44 (message):
  KDCRAW_LOCAL_DIR specified as "extra/libkdcraw" but libkdcraw could not be
  found there.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:75 (find_package)


-- Check Kdcraw library using pkg-config...
-- Found libkdcraw release 2.4.2
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
-- checking for one of the modules 'libgpod-1.0'
-- libgpod dir:
-- libgpod lib:
-- libgpod def:
-- libgpod ver:
-- Check for Ksane library in local sub-folder...
CMake Warning at cmake/modules/FindKSane.cmake:44 (message):
  KSANE_LOCAL_DIR specified as "extra/libksane" but libksane could not be
  found there.
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package)
  extra/kipi-plugins/CMakeLists.txt:110 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Check Ksane library using pkg-config...
-- checking for one of the modules 'libksane'
CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindKGeoMap.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KGeoMap", but
  CMake did not find one.

  Could not find a package configuration file provided by "KGeoMap" with any
  of the following names:

    KGeoMapConfig.cmake
    kgeomap-config.cmake

  Add the installation prefix of "KGeoMap" to CMAKE_PREFIX_PATH or set
  "KGeoMap_DIR" to a directory containing one of the above files.  If
  "KGeoMap" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:112 (MACRO_OPTIONAL_FIND_PACKAGE)


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindMediawiki.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Mediawiki", but CMake did not find one.

  Could not find a package configuration file provided by "Mediawiki" with
  any of the following names:

    MediawikiConfig.cmake
    mediawiki-config.cmake

  Add the installation prefix of "Mediawiki" to CMAKE_PREFIX_PATH or set
  "Mediawiki_DIR" to a directory containing one of the above files.  If
  "Mediawiki" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:113 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Check Vkontakte library in local sub-folder...
-- Found Vkontakte library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkvkontakte
-- Could NOT find required package HUpnpCore: <http://herqq.org>
-- Could NOT find required package HUpnpAv: <http://herqq.org>
-- Could NOT find ImageMagick (missing:
ImageMagick_MagickCore_LIBRARY) (found version "6.8.9-9")
CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindQtGStreamer.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "QtGStreamer", but CMake did not find one.

  Could not find a package configuration file provided by "QtGStreamer" with
  any of the following names:

    QtGStreamerConfig.cmake
    qtgstreamer-config.cmake

  Add the installation prefix of "QtGStreamer" to CMAKE_PREFIX_PATH or set
  "QtGStreamer_DIR" to a directory containing one of the above files.  If
  "QtGStreamer" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:118 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Could NOT find QtKOAuth (missing:  QTKOAUTH_LIBRARIES QTKOAUTH_INCLUDE_DIR)
CMake Warning at extra/kipi-plugins/CMakeLists.txt:134 (message):
  libkgeomap: Version information not found, your version is probably too
  old.


-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/local/share/OpenCV
-- OpenCV: Found version 2.4.11 (required: 2.4.9)
-- OpenCV headers: /usr/local/include/opencv;/usr/local/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
--
-- ----------------------------------------------------------------------------------
--  kipi-plugins 4.14.0 dependencies results   <http://www.digikam.org>
--
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  libkipi found............................ YES
--  libkexiv2 found.......................... YES
--  libkdcraw found.......................... YES
--  libxml2 found............................ YES (optional)
--  libxslt found............................ NO  (optional)
--  Kipi-plugins will be compiled without libxstl support.
--  Please install the libxslt (version >= 1.1.0) development package.
--
--  libexpat found........................... YES (optional)
--  libopencv found.......................... YES (optional)
--  libqjson found........................... YES (optional)
--  libkdepimlibs found...................... YES (optional)
--  libqca found............................. YES (optional)
--  libkgeomap found......................... NO  (optional)
--  Kipi-plugins will be compiled without libkgeomap support.
--  Please install the libkgeomap (version >= 3.0.0) development package.
--
--  libmediawiki found....................... NO  (optional)
--  Kipi-plugins will be compiled without libmediawiki support.
--  Please install the libmediawiki (version >= 1.0.0) development package.
--
--  libkvkontakte found...................... YES (optional)
--  libimagemagick found..................... NO  (optional)
--  Kipi-plugins will be compiled without libimagemagick support.
--  Please install the libimagemagick (version >= 5.5.4) development package.
--
--  libqtgstreamer found..................... NO  (optional)
--  Kipi-plugins will be compiled without libqtgstreamer support.
--  Please install the libqtgstreamer (version >= 0.9.0) development package.
--
--  libgpod found............................ NO  (optional)
--  Kipi-plugins will be compiled without libgpod support.
--  Please install the libgpod (version >= 0.7.0) development package.
--
--  libgdk found............................. YES (optional)
--  libqtkoauth found........................ NO  (optional)
--  Kipi-plugins will be compiled without libqtkoauth support.
--  Please install the libqtkoauth (version >= 0.97) development package.
--
--  libksane found........................... NO  (optional)
--  Kipi-plugins will be compiled without libksane support.
--  Please install the libksane (version >= 0.3.0) development package.
--
--  libhupnp found........................... NO  (optional)
--  Internal version used instead
--  Please install the libhupnp (version >= 2.0.0) development package.
--
--  libqtsoap found.......................... NO  (optional)
--  Kipi-plugins will be compiled without libqtsoap support.
--  Please install the libqtsoap (version >= 2.7.0) development package.
--
--  native threads support found............. YES (optional)
--  native Opengl support found.............. YES (optional)
--  Qt4 OpenGL module found.................. YES (optional)
--  libX11 found............................. YES (optional)
--
--  kipi-plugins will be compiled............ YES
--  Shwup will be compiled................... YES (optional)
--  YandexFotki will be compiled............. YES (optional)
--  HtmlExport will be compiled.............. NO  (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  ImageViewer will be compiled............. YES (optional)
--  AcquireImages will be compiled........... NO  (optional)
--  DNGConverter will be compiled............ YES (optional)
--  DLNAExport will be compiled.............. NO  (optional)
--  RemoveRedEyes will be compiled........... YES (optional)
--  Debian Screenshots will be compiled...... YES (optional)
--  Facebook will be compiled................ YES (optional)
--  Imgur will be compiled................... YES (optional)
--  GoogleServices will be compiled.......... YES (optional)
--  Dropbox will be compiled................. YES (optional)
--  VKontakte will be compiled............... YES (optional)
--  IpodExport will be compiled.............. NO  (optional)
--  Calendar will be compiled................ YES (optional)
--  GPSSync will be compiled................. NO  (optional)
--  Mediawiki will be compiled............... NO  (optional)
--  Panorama will be compiled................ YES (optional)
--  VideoSlideshow will be compiled.......... NO  (optional)
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- 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           =
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
CMake Warning at
/usr/share/kde4/apps/cmake/modules/FindKdcraw.cmake:44 (message):
  KDCRAW_LOCAL_DIR specified as "extra/libkdcraw" but libkdcraw could not be
  found there.
Call Stack (most recent call first):
  core/CMakeLists.txt:111 (find_package)


-- Check Kdcraw library using pkg-config...
-- Found libkdcraw release 2.4.2
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
CMake Warning at cmake/modules/FindKipi.cmake:48 (MESSAGE):
  KIPI_LOCAL_DIR specified as "extra/libkipi" but libkipi could not be found
  there.
Call Stack (most recent call first):
  core/CMakeLists.txt:116 (find_package)


-- Check Kipi library using pkg-config...
-- Kipi library version: 2.2.0
-- libkipi: Found version 2.2.0 (required: 2.0.0)
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkface
CMake Warning at core/CMakeLists.txt:118 (find_package):
  By not providing "FindKGeoMap.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KGeoMap", but
  CMake did not find one.

  Could not find a package configuration file provided by "KGeoMap" with any
  of the following names:

    KGeoMapConfig.cmake
    kgeomap-config.cmake

  Add the installation prefix of "KGeoMap" to CMAKE_PREFIX_PATH or set
  "KGeoMap_DIR" to a directory containing one of the above files.  If
  "KGeoMap" provides a separate development package or SDK, be sure it has
  been installed.


-- Could NOT find Jasper (missing:  JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Could NOT find Eigen3 (missing:  EIGEN3_INCLUDE_DIR
EIGEN3_VERSION_OK) (Required is at least version "2.91.0")
-- Boost version: 1.58.0
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/local/share/OpenCV
-- OpenCV: Found version 2.4.11 (required: 2.4.9)
-- OpenCV headers: /usr/local/include/opencv;/usr/local/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
CMake Warning at core/CMakeLists.txt:179 (message):
  libkgeomap: Version information not found, your version is probably too
  old.


-- Check for LCMS2 availability...
-- Found lcms version 2.06, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found LCMS2: /usr/lib/x86_64-linux-gnu/liblcms2.so /usr/include
-- Libjpeg version: 84
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- checking for module 'lqr-1'
--   package 'lqr-1' not found
-- Could NOT find Lqr-1 (missing:  LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES)
-- Found gphoto2: -lgphoto2_port;-lgphoto2 -lgphoto2_port -lm
-- Could NOT find LIBUSB (missing:  LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- checking for module 'lensfun'
--   package 'lensfun' not found
-- Could NOT find LensFun (missing:  LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES)
CMake Warning at core/CMakeLists.txt:340 (message):
  liblensfun: Version information not found, your version is probably too
  old.


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  Could not find a package configuration file provided by "KFileMetaData"
  with any of the following names:

    KFileMetaDataConfig.cmake
    kfilemetadata-config.cmake

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


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindBaloo.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Baloo", but
  CMake did not find one.

  Could not find a package configuration file provided by "Baloo" with any of
  the following names:

    BalooConfig.cmake
    baloo-config.cmake

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


--
-- ----------------------------------------------------------------------------------
--  digiKam 4.14.0 dependencies results   <http://www.digikam.org>
--
--  Qt4 SQL module found..................... YES
--  MySQL Database Support will be compiled.. NO  (optional)
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  liblcms found............................ YES
--  libboostgraph found...................... YES
--  libkexiv2 found.......................... YES
--  libkdcraw found.......................... YES
--  libpgf found............................. YES
--  libopencv found.......................... YES
--  libkipi found............................ YES (optional)
--  libkface found........................... YES (optional)
--  libkgeomap found......................... NO  (optional)
--  digiKam will be compiled without geolocation maps support.
--  Please install the libkgeomap (version >= 3.0.0) development package.
--
--  libkdepimlibs found...................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  liblensfun found......................... NO  (optional)
--  digiKam will be compiled without Lens Auto Correction tool support.
--  Please install the liblensfun (version >= 0.2.6) development package.
--
--  liblqr-1 found........................... NO  (optional)
--  digiKam will be compiled without Contents Aware Resizer tool support.
--  Please install the liblqr-1 (version >= 0.4.1) development package.
--
--  libeigen3 found.......................... NO  (optional)
--  digiKam will be compiled without Refocus tool support.
--  Please install the libeigen3 (version >= 3.0.0) development package.
--
--  libgphoto2 found......................... NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
--
--  libbaloo found........................... NO  (optional)
--  digiKam will be compiled without KDE files indexing support.
--  Please install the libbaloo (version >= 4.12.0) development package.
--
--  libsqlite2 found......................... YES (optional)
--  doxygen found............................ NO  (optional)
--  digiKam will be compiled without API documentation building support.
--  Please install the doxygen (version >= 1.8.0) development package.
--
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
--
-- Adjusting compilation flags for GCC version (5.2.1 )
-- Configuring incomplete, errors occurred!





8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
Here is the CMakeError.log

Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec738768555/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec738768555.dir/build.make
CMakeFiles/cmTryCompileExec738768555.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_WIN’ undeclared (first use in this function)
   return ((int*)(&Q_WS_WIN))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec738768555.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec738768555/fast' failed
make: *** [cmTryCompileExec738768555/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_WIN
  return ((int*)(&Q_WS_WIN))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1877555967/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1877555967.dir/build.make
CMakeFiles/cmTryCompileExec1877555967.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_QWS’ undeclared (first use in this function)
   return ((int*)(&Q_WS_QWS))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec1877555967.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec1877555967/fast' failed
make: *** [cmTryCompileExec1877555967/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_QWS
  return ((int*)(&Q_WS_QWS))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1136871890/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1136871890.dir/build.make
CMakeFiles/cmTryCompileExec1136871890.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_MAC’ undeclared (first use in this function)
   return ((int*)(&Q_WS_MAC))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec1136871890.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec1136871890/fast' failed
make: *** [cmTryCompileExec1136871890/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_MAC
  return ((int*)(&Q_WS_MAC))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec4207418867/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec4207418867.dir/build.make
CMakeFiles/cmTryCompileExec4207418867.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec4207418867
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec4207418867.dir/link.txt --verbose=1
/usr/bin/cc
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o  -o
cmTryCompileExec4207418867 -rdynamic
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o: In
function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec4207418867.dir/build.make:88: recipe for
target 'cmTryCompileExec4207418867' failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec4207418867/fast' failed
make[1]: *** [cmTryCompileExec4207418867] Error 1
make: *** [cmTryCompileExec4207418867/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads
failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1313441002/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1313441002.dir/build.make
CMakeFiles/cmTryCompileExec1313441002.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o   -c
/usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1313441002
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1313441002.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o  -o
cmTryCompileExec1313441002 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec1313441002.dir/build.make:88: recipe for
target 'cmTryCompileExec1313441002' failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec1313441002/fast' failed
make[1]: *** [cmTryCompileExec1313441002] Error 1
make: *** [cmTryCompileExec1313441002/fast] Error 2


Determining if the system is big endian passed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1948092521/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1948092521.dir/build.make
CMakeFiles/cmTryCompileExec1948092521.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o
/usr/bin/cc   -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common    -o
CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTryCompileExec1948092521
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1948092521.dir/link.txt --verbose=1
/usr/bin/cc   -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common
CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o  -o
cmTryCompileExec1948092521 -rdynamic
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'

TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS
LITTLE ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053,
0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320,
0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_little[argc];
  require += info_big[argc];
  (void)argv;
  return require;
}
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: kubuntu wily - digikam refuses to start

Gilles Caulier-4
In boostrap.linux, turn to OFF libkexiv2, libkipi, libkdcraw, libkgeomap, libmediawiki, libksane, and libvkontake.

All these libs are dropped from the tarball and now are published with last KDE release.

If you want to compile yourself these libs instead to install precompiled packages from your distro, checkout separated tarballs from KDE repository :


compile and install each one, and after start bootstrap.linux (why modification list before)

Note 1 : With 5.0.0, necessary checks are done in cmake script to see if local libs exist, to accept cmake flag to compile local libs.

Note 2: why these cmake flags always exist in bootstrap.linux if local libs are not packaged ? because developers use a dedicated repository to checkout all relevant code to compile all in one time ! Look README for details, if you is interrested.

Note 3 : why these libraries have been removed from the tarball : even if for developpers and users, it's more easy to compile digiKam quickly, since a very long time, KDE community insist to remove these libs from the tarball : 

    1/ because as they are released separately now.  
    2/ because, it's not opensource compatible (and from this point you can hear me crying !)
    3/ because official Debian packagers refuse to include this kind tarball rules. The reason : the libs tarballed are not stable EVEN if WE manage this code (who can be sure that code if stable and suitable than developers). 

To resume : Since a very long time i was fight against to remove these local libs from the tarballs. But to be honest, i'm tired with the inflamed mails or messages in IRC coming from the community about his topic. After all, i work in open source since more than 15 years now, and I'm always goal the simplicity when it's possible for end users : i know very well all current problems. Nothing is perfect but we can always do better. This will be the case with 5.0.0 final release.

Gilles Caulier


2015-10-30 12:48 GMT+01:00 Luca Ferrari <[hidden email]>:
On Fri, Oct 30, 2015 at 11:31 AM, Gilles Caulier
<[hidden email]> wrote:
> Please give the full config trace here
>

Here it is:

% sh bootstrap.linux
     ~/Downloads/digikam-4.14.0
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam Software Collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libkexiv2 will be compiled........ YES
-- Local shared libkdcraw will be compiled........ YES
-- Local shared libksane will be compiled......... YES
-- Local shared libkface will be compiled......... YES
-- Local shared libkgeomap 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..................... YES
-- Tests code will be compiled.................... YES
CMake Error at extra/CMakeLists.txt:11 (add_subdirectory):
  add_subdirectory given source "libkexiv2" which is not an existing
  directory.


CMake Error at extra/CMakeLists.txt:15 (add_subdirectory):
  add_subdirectory given source "libkdcraw" which is not an existing
  directory.


CMake Error at extra/CMakeLists.txt:19 (add_subdirectory):
  add_subdirectory given source "libkipi" which is not an existing directory.


-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
CMake Warning at cmake/modules/FindKipi.cmake:48 (MESSAGE):
  KIPI_LOCAL_DIR specified as "extra/libkipi" but libkipi could not be found
  there.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:67 (find_package)


-- Check Kipi library using pkg-config...
-- Kipi library version: 2.2.0
-- libkipi: Found version 2.2.0 (required: 2.0.0)
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
CMake Warning at
/usr/share/kde4/apps/cmake/modules/FindKdcraw.cmake:44 (message):
  KDCRAW_LOCAL_DIR specified as "extra/libkdcraw" but libkdcraw could not be
  found there.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:75 (find_package)


-- Check Kdcraw library using pkg-config...
-- Found libkdcraw release 2.4.2
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
-- checking for one of the modules 'libgpod-1.0'
-- libgpod dir:
-- libgpod lib:
-- libgpod def:
-- libgpod ver:
-- Check for Ksane library in local sub-folder...
CMake Warning at cmake/modules/FindKSane.cmake:44 (message):
  KSANE_LOCAL_DIR specified as "extra/libksane" but libksane could not be
  found there.
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package)
  extra/kipi-plugins/CMakeLists.txt:110 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Check Ksane library using pkg-config...
-- checking for one of the modules 'libksane'
CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindKGeoMap.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KGeoMap", but
  CMake did not find one.

  Could not find a package configuration file provided by "KGeoMap" with any
  of the following names:

    KGeoMapConfig.cmake
    kgeomap-config.cmake

  Add the installation prefix of "KGeoMap" to CMAKE_PREFIX_PATH or set
  "KGeoMap_DIR" to a directory containing one of the above files.  If
  "KGeoMap" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:112 (MACRO_OPTIONAL_FIND_PACKAGE)


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindMediawiki.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Mediawiki", but CMake did not find one.

  Could not find a package configuration file provided by "Mediawiki" with
  any of the following names:

    MediawikiConfig.cmake
    mediawiki-config.cmake

  Add the installation prefix of "Mediawiki" to CMAKE_PREFIX_PATH or set
  "Mediawiki_DIR" to a directory containing one of the above files.  If
  "Mediawiki" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:113 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Check Vkontakte library in local sub-folder...
-- Found Vkontakte library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkvkontakte
-- Could NOT find required package HUpnpCore: <http://herqq.org>
-- Could NOT find required package HUpnpAv: <http://herqq.org>
-- Could NOT find ImageMagick (missing:
ImageMagick_MagickCore_LIBRARY) (found version "6.8.9-9")
CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindQtGStreamer.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "QtGStreamer", but CMake did not find one.

  Could not find a package configuration file provided by "QtGStreamer" with
  any of the following names:

    QtGStreamerConfig.cmake
    qtgstreamer-config.cmake

  Add the installation prefix of "QtGStreamer" to CMAKE_PREFIX_PATH or set
  "QtGStreamer_DIR" to a directory containing one of the above files.  If
  "QtGStreamer" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:118 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Could NOT find QtKOAuth (missing:  QTKOAUTH_LIBRARIES QTKOAUTH_INCLUDE_DIR)
CMake Warning at extra/kipi-plugins/CMakeLists.txt:134 (message):
  libkgeomap: Version information not found, your version is probably too
  old.


-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/local/share/OpenCV
-- OpenCV: Found version 2.4.11 (required: 2.4.9)
-- OpenCV headers: /usr/local/include/opencv;/usr/local/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
--
-- ----------------------------------------------------------------------------------
--  kipi-plugins 4.14.0 dependencies results   <http://www.digikam.org>
--
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  libkipi found............................ YES
--  libkexiv2 found.......................... YES
--  libkdcraw found.......................... YES
--  libxml2 found............................ YES (optional)
--  libxslt found............................ NO  (optional)
--  Kipi-plugins will be compiled without libxstl support.
--  Please install the libxslt (version >= 1.1.0) development package.
--
--  libexpat found........................... YES (optional)
--  libopencv found.......................... YES (optional)
--  libqjson found........................... YES (optional)
--  libkdepimlibs found...................... YES (optional)
--  libqca found............................. YES (optional)
--  libkgeomap found......................... NO  (optional)
--  Kipi-plugins will be compiled without libkgeomap support.
--  Please install the libkgeomap (version >= 3.0.0) development package.
--
--  libmediawiki found....................... NO  (optional)
--  Kipi-plugins will be compiled without libmediawiki support.
--  Please install the libmediawiki (version >= 1.0.0) development package.
--
--  libkvkontakte found...................... YES (optional)
--  libimagemagick found..................... NO  (optional)
--  Kipi-plugins will be compiled without libimagemagick support.
--  Please install the libimagemagick (version >= 5.5.4) development package.
--
--  libqtgstreamer found..................... NO  (optional)
--  Kipi-plugins will be compiled without libqtgstreamer support.
--  Please install the libqtgstreamer (version >= 0.9.0) development package.
--
--  libgpod found............................ NO  (optional)
--  Kipi-plugins will be compiled without libgpod support.
--  Please install the libgpod (version >= 0.7.0) development package.
--
--  libgdk found............................. YES (optional)
--  libqtkoauth found........................ NO  (optional)
--  Kipi-plugins will be compiled without libqtkoauth support.
--  Please install the libqtkoauth (version >= 0.97) development package.
--
--  libksane found........................... NO  (optional)
--  Kipi-plugins will be compiled without libksane support.
--  Please install the libksane (version >= 0.3.0) development package.
--
--  libhupnp found........................... NO  (optional)
--  Internal version used instead
--  Please install the libhupnp (version >= 2.0.0) development package.
--
--  libqtsoap found.......................... NO  (optional)
--  Kipi-plugins will be compiled without libqtsoap support.
--  Please install the libqtsoap (version >= 2.7.0) development package.
--
--  native threads support found............. YES (optional)
--  native Opengl support found.............. YES (optional)
--  Qt4 OpenGL module found.................. YES (optional)
--  libX11 found............................. YES (optional)
--
--  kipi-plugins will be compiled............ YES
--  Shwup will be compiled................... YES (optional)
--  YandexFotki will be compiled............. YES (optional)
--  HtmlExport will be compiled.............. NO  (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  ImageViewer will be compiled............. YES (optional)
--  AcquireImages will be compiled........... NO  (optional)
--  DNGConverter will be compiled............ YES (optional)
--  DLNAExport will be compiled.............. NO  (optional)
--  RemoveRedEyes will be compiled........... YES (optional)
--  Debian Screenshots will be compiled...... YES (optional)
--  Facebook will be compiled................ YES (optional)
--  Imgur will be compiled................... YES (optional)
--  GoogleServices will be compiled.......... YES (optional)
--  Dropbox will be compiled................. YES (optional)
--  VKontakte will be compiled............... YES (optional)
--  IpodExport will be compiled.............. NO  (optional)
--  Calendar will be compiled................ YES (optional)
--  GPSSync will be compiled................. NO  (optional)
--  Mediawiki will be compiled............... NO  (optional)
--  Panorama will be compiled................ YES (optional)
--  VideoSlideshow will be compiled.......... NO  (optional)
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- 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           =
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
CMake Warning at
/usr/share/kde4/apps/cmake/modules/FindKdcraw.cmake:44 (message):
  KDCRAW_LOCAL_DIR specified as "extra/libkdcraw" but libkdcraw could not be
  found there.
Call Stack (most recent call first):
  core/CMakeLists.txt:111 (find_package)


-- Check Kdcraw library using pkg-config...
-- Found libkdcraw release 2.4.2
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
CMake Warning at cmake/modules/FindKipi.cmake:48 (MESSAGE):
  KIPI_LOCAL_DIR specified as "extra/libkipi" but libkipi could not be found
  there.
Call Stack (most recent call first):
  core/CMakeLists.txt:116 (find_package)


-- Check Kipi library using pkg-config...
-- Kipi library version: 2.2.0
-- libkipi: Found version 2.2.0 (required: 2.0.0)
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkface
CMake Warning at core/CMakeLists.txt:118 (find_package):
  By not providing "FindKGeoMap.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KGeoMap", but
  CMake did not find one.

  Could not find a package configuration file provided by "KGeoMap" with any
  of the following names:

    KGeoMapConfig.cmake
    kgeomap-config.cmake

  Add the installation prefix of "KGeoMap" to CMAKE_PREFIX_PATH or set
  "KGeoMap_DIR" to a directory containing one of the above files.  If
  "KGeoMap" provides a separate development package or SDK, be sure it has
  been installed.


-- Could NOT find Jasper (missing:  JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Could NOT find Eigen3 (missing:  EIGEN3_INCLUDE_DIR
EIGEN3_VERSION_OK) (Required is at least version "2.91.0")
-- Boost version: 1.58.0
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/local/share/OpenCV
-- OpenCV: Found version 2.4.11 (required: 2.4.9)
-- OpenCV headers: /usr/local/include/opencv;/usr/local/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
CMake Warning at core/CMakeLists.txt:179 (message):
  libkgeomap: Version information not found, your version is probably too
  old.


-- Check for LCMS2 availability...
-- Found lcms version 2.06, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found LCMS2: /usr/lib/x86_64-linux-gnu/liblcms2.so /usr/include
-- Libjpeg version: 84
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- checking for module 'lqr-1'
--   package 'lqr-1' not found
-- Could NOT find Lqr-1 (missing:  LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES)
-- Found gphoto2: -lgphoto2_port;-lgphoto2 -lgphoto2_port -lm
-- Could NOT find LIBUSB (missing:  LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- checking for module 'lensfun'
--   package 'lensfun' not found
-- Could NOT find LensFun (missing:  LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES)
CMake Warning at core/CMakeLists.txt:340 (message):
  liblensfun: Version information not found, your version is probably too
  old.


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  Could not find a package configuration file provided by "KFileMetaData"
  with any of the following names:

    KFileMetaDataConfig.cmake
    kfilemetadata-config.cmake

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


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindBaloo.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Baloo", but
  CMake did not find one.

  Could not find a package configuration file provided by "Baloo" with any of
  the following names:

    BalooConfig.cmake
    baloo-config.cmake

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


--
-- ----------------------------------------------------------------------------------
--  digiKam 4.14.0 dependencies results   <http://www.digikam.org>
--
--  Qt4 SQL module found..................... YES
--  MySQL Database Support will be compiled.. NO  (optional)
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  liblcms found............................ YES
--  libboostgraph found...................... YES
--  libkexiv2 found.......................... YES
--  libkdcraw found.......................... YES
--  libpgf found............................. YES
--  libopencv found.......................... YES
--  libkipi found............................ YES (optional)
--  libkface found........................... YES (optional)
--  libkgeomap found......................... NO  (optional)
--  digiKam will be compiled without geolocation maps support.
--  Please install the libkgeomap (version >= 3.0.0) development package.
--
--  libkdepimlibs found...................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  liblensfun found......................... NO  (optional)
--  digiKam will be compiled without Lens Auto Correction tool support.
--  Please install the liblensfun (version >= 0.2.6) development package.
--
--  liblqr-1 found........................... NO  (optional)
--  digiKam will be compiled without Contents Aware Resizer tool support.
--  Please install the liblqr-1 (version >= 0.4.1) development package.
--
--  libeigen3 found.......................... NO  (optional)
--  digiKam will be compiled without Refocus tool support.
--  Please install the libeigen3 (version >= 3.0.0) development package.
--
--  libgphoto2 found......................... NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
--
--  libbaloo found........................... NO  (optional)
--  digiKam will be compiled without KDE files indexing support.
--  Please install the libbaloo (version >= 4.12.0) development package.
--
--  libsqlite2 found......................... YES (optional)
--  doxygen found............................ NO  (optional)
--  digiKam will be compiled without API documentation building support.
--  Please install the doxygen (version >= 1.8.0) development package.
--
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
--
-- Adjusting compilation flags for GCC version (5.2.1 )
-- Configuring incomplete, errors occurred!





8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
Here is the CMakeError.log

Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec738768555/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec738768555.dir/build.make
CMakeFiles/cmTryCompileExec738768555.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_WIN’ undeclared (first use in this function)
   return ((int*)(&Q_WS_WIN))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec738768555.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec738768555/fast' failed
make: *** [cmTryCompileExec738768555/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_WIN
  return ((int*)(&Q_WS_WIN))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1877555967/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1877555967.dir/build.make
CMakeFiles/cmTryCompileExec1877555967.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_QWS’ undeclared (first use in this function)
   return ((int*)(&Q_WS_QWS))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec1877555967.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec1877555967/fast' failed
make: *** [cmTryCompileExec1877555967/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_QWS
  return ((int*)(&Q_WS_QWS))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1136871890/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1136871890.dir/build.make
CMakeFiles/cmTryCompileExec1136871890.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_MAC’ undeclared (first use in this function)
   return ((int*)(&Q_WS_MAC))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec1136871890.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec1136871890/fast' failed
make: *** [cmTryCompileExec1136871890/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_MAC
  return ((int*)(&Q_WS_MAC))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec4207418867/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec4207418867.dir/build.make
CMakeFiles/cmTryCompileExec4207418867.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec4207418867
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec4207418867.dir/link.txt --verbose=1
/usr/bin/cc
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o  -o
cmTryCompileExec4207418867 -rdynamic
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o: In
function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec4207418867.dir/build.make:88: recipe for
target 'cmTryCompileExec4207418867' failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec4207418867/fast' failed
make[1]: *** [cmTryCompileExec4207418867] Error 1
make: *** [cmTryCompileExec4207418867/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads
failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1313441002/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1313441002.dir/build.make
CMakeFiles/cmTryCompileExec1313441002.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o   -c
/usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1313441002
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1313441002.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o  -o
cmTryCompileExec1313441002 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec1313441002.dir/build.make:88: recipe for
target 'cmTryCompileExec1313441002' failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec1313441002/fast' failed
make[1]: *** [cmTryCompileExec1313441002] Error 1
make: *** [cmTryCompileExec1313441002/fast] Error 2


Determining if the system is big endian passed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1948092521/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1948092521.dir/build.make
CMakeFiles/cmTryCompileExec1948092521.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o
/usr/bin/cc   -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common    -o
CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTryCompileExec1948092521
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1948092521.dir/link.txt --verbose=1
/usr/bin/cc   -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common
CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o  -o
cmTryCompileExec1948092521 -rdynamic
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'

TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS
LITTLE ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053,
0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320,
0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_little[argc];
  require += info_big[argc];
  (void)argv;
  return require;
}
_______________________________________________
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: kubuntu wily - digikam refuses to start

Philip Johnsson

Hopefully I will get time to make packages of digital 4.14 for Ubuntu 15.10 (wily) this weekend and upload to my ppa for users that want them and that will solve upgrading problems some might have from vivid to wily as my ppa doesn't support wily yet but some of my vivid packages are newer than official wily packages that can lead to conflicts if not uninstalling my vivid packages or purging my ppa before upgrading to wily.

Just have been busy with other stuff until now.

/Philip

On Oct 30, 2015 13:15, "Gilles Caulier" <[hidden email]> wrote:
In boostrap.linux, turn to OFF libkexiv2, libkipi, libkdcraw, libkgeomap, libmediawiki, libksane, and libvkontake.

All these libs are dropped from the tarball and now are published with last KDE release.

If you want to compile yourself these libs instead to install precompiled packages from your distro, checkout separated tarballs from KDE repository :


compile and install each one, and after start bootstrap.linux (why modification list before)

Note 1 : With 5.0.0, necessary checks are done in cmake script to see if local libs exist, to accept cmake flag to compile local libs.

Note 2: why these cmake flags always exist in bootstrap.linux if local libs are not packaged ? because developers use a dedicated repository to checkout all relevant code to compile all in one time ! Look README for details, if you is interrested.

Note 3 : why these libraries have been removed from the tarball : even if for developpers and users, it's more easy to compile digiKam quickly, since a very long time, KDE community insist to remove these libs from the tarball : 

    1/ because as they are released separately now.  
    2/ because, it's not opensource compatible (and from this point you can hear me crying !)
    3/ because official Debian packagers refuse to include this kind tarball rules. The reason : the libs tarballed are not stable EVEN if WE manage this code (who can be sure that code if stable and suitable than developers). 

To resume : Since a very long time i was fight against to remove these local libs from the tarballs. But to be honest, i'm tired with the inflamed mails or messages in IRC coming from the community about his topic. After all, i work in open source since more than 15 years now, and I'm always goal the simplicity when it's possible for end users : i know very well all current problems. Nothing is perfect but we can always do better. This will be the case with 5.0.0 final release.

Gilles Caulier


2015-10-30 12:48 GMT+01:00 Luca Ferrari <[hidden email]>:
On Fri, Oct 30, 2015 at 11:31 AM, Gilles Caulier
<[hidden email]> wrote:
> Please give the full config trace here
>

Here it is:

% sh bootstrap.linux
     ~/Downloads/digikam-4.14.0
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam Software Collection
-- Local shared libkipi will be compiled.......... YES
-- Local shared libkexiv2 will be compiled........ YES
-- Local shared libkdcraw will be compiled........ YES
-- Local shared libksane will be compiled......... YES
-- Local shared libkface will be compiled......... YES
-- Local shared libkgeomap 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..................... YES
-- Tests code will be compiled.................... YES
CMake Error at extra/CMakeLists.txt:11 (add_subdirectory):
  add_subdirectory given source "libkexiv2" which is not an existing
  directory.


CMake Error at extra/CMakeLists.txt:15 (add_subdirectory):
  add_subdirectory given source "libkdcraw" which is not an existing
  directory.


CMake Error at extra/CMakeLists.txt:19 (add_subdirectory):
  add_subdirectory given source "libkipi" which is not an existing directory.


-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
CMake Warning at cmake/modules/FindKipi.cmake:48 (MESSAGE):
  KIPI_LOCAL_DIR specified as "extra/libkipi" but libkipi could not be found
  there.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:67 (find_package)


-- Check Kipi library using pkg-config...
-- Kipi library version: 2.2.0
-- libkipi: Found version 2.2.0 (required: 2.0.0)
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
CMake Warning at
/usr/share/kde4/apps/cmake/modules/FindKdcraw.cmake:44 (message):
  KDCRAW_LOCAL_DIR specified as "extra/libkdcraw" but libkdcraw could not be
  found there.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:75 (find_package)


-- Check Kdcraw library using pkg-config...
-- Found libkdcraw release 2.4.2
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
-- checking for one of the modules 'libgpod-1.0'
-- libgpod dir:
-- libgpod lib:
-- libgpod def:
-- libgpod ver:
-- Check for Ksane library in local sub-folder...
CMake Warning at cmake/modules/FindKSane.cmake:44 (message):
  KSANE_LOCAL_DIR specified as "extra/libksane" but libksane could not be
  found there.
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package)
  extra/kipi-plugins/CMakeLists.txt:110 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Check Ksane library using pkg-config...
-- checking for one of the modules 'libksane'
CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindKGeoMap.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KGeoMap", but
  CMake did not find one.

  Could not find a package configuration file provided by "KGeoMap" with any
  of the following names:

    KGeoMapConfig.cmake
    kgeomap-config.cmake

  Add the installation prefix of "KGeoMap" to CMAKE_PREFIX_PATH or set
  "KGeoMap_DIR" to a directory containing one of the above files.  If
  "KGeoMap" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:112 (MACRO_OPTIONAL_FIND_PACKAGE)


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindMediawiki.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Mediawiki", but CMake did not find one.

  Could not find a package configuration file provided by "Mediawiki" with
  any of the following names:

    MediawikiConfig.cmake
    mediawiki-config.cmake

  Add the installation prefix of "Mediawiki" to CMAKE_PREFIX_PATH or set
  "Mediawiki_DIR" to a directory containing one of the above files.  If
  "Mediawiki" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:113 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Check Vkontakte library in local sub-folder...
-- Found Vkontakte library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkvkontakte
-- Could NOT find required package HUpnpCore: <http://herqq.org>
-- Could NOT find required package HUpnpAv: <http://herqq.org>
-- Could NOT find ImageMagick (missing:
ImageMagick_MagickCore_LIBRARY) (found version "6.8.9-9")
CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindQtGStreamer.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "QtGStreamer", but CMake did not find one.

  Could not find a package configuration file provided by "QtGStreamer" with
  any of the following names:

    QtGStreamerConfig.cmake
    qtgstreamer-config.cmake

  Add the installation prefix of "QtGStreamer" to CMAKE_PREFIX_PATH or set
  "QtGStreamer_DIR" to a directory containing one of the above files.  If
  "QtGStreamer" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:118 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Could NOT find QtKOAuth (missing:  QTKOAUTH_LIBRARIES QTKOAUTH_INCLUDE_DIR)
CMake Warning at extra/kipi-plugins/CMakeLists.txt:134 (message):
  libkgeomap: Version information not found, your version is probably too
  old.


-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/local/share/OpenCV
-- OpenCV: Found version 2.4.11 (required: 2.4.9)
-- OpenCV headers: /usr/local/include/opencv;/usr/local/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
--
-- ----------------------------------------------------------------------------------
--  kipi-plugins 4.14.0 dependencies results   <http://www.digikam.org>
--
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  libkipi found............................ YES
--  libkexiv2 found.......................... YES
--  libkdcraw found.......................... YES
--  libxml2 found............................ YES (optional)
--  libxslt found............................ NO  (optional)
--  Kipi-plugins will be compiled without libxstl support.
--  Please install the libxslt (version >= 1.1.0) development package.
--
--  libexpat found........................... YES (optional)
--  libopencv found.......................... YES (optional)
--  libqjson found........................... YES (optional)
--  libkdepimlibs found...................... YES (optional)
--  libqca found............................. YES (optional)
--  libkgeomap found......................... NO  (optional)
--  Kipi-plugins will be compiled without libkgeomap support.
--  Please install the libkgeomap (version >= 3.0.0) development package.
--
--  libmediawiki found....................... NO  (optional)
--  Kipi-plugins will be compiled without libmediawiki support.
--  Please install the libmediawiki (version >= 1.0.0) development package.
--
--  libkvkontakte found...................... YES (optional)
--  libimagemagick found..................... NO  (optional)
--  Kipi-plugins will be compiled without libimagemagick support.
--  Please install the libimagemagick (version >= 5.5.4) development package.
--
--  libqtgstreamer found..................... NO  (optional)
--  Kipi-plugins will be compiled without libqtgstreamer support.
--  Please install the libqtgstreamer (version >= 0.9.0) development package.
--
--  libgpod found............................ NO  (optional)
--  Kipi-plugins will be compiled without libgpod support.
--  Please install the libgpod (version >= 0.7.0) development package.
--
--  libgdk found............................. YES (optional)
--  libqtkoauth found........................ NO  (optional)
--  Kipi-plugins will be compiled without libqtkoauth support.
--  Please install the libqtkoauth (version >= 0.97) development package.
--
--  libksane found........................... NO  (optional)
--  Kipi-plugins will be compiled without libksane support.
--  Please install the libksane (version >= 0.3.0) development package.
--
--  libhupnp found........................... NO  (optional)
--  Internal version used instead
--  Please install the libhupnp (version >= 2.0.0) development package.
--
--  libqtsoap found.......................... NO  (optional)
--  Kipi-plugins will be compiled without libqtsoap support.
--  Please install the libqtsoap (version >= 2.7.0) development package.
--
--  native threads support found............. YES (optional)
--  native Opengl support found.............. YES (optional)
--  Qt4 OpenGL module found.................. YES (optional)
--  libX11 found............................. YES (optional)
--
--  kipi-plugins will be compiled............ YES
--  Shwup will be compiled................... YES (optional)
--  YandexFotki will be compiled............. YES (optional)
--  HtmlExport will be compiled.............. NO  (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  ImageViewer will be compiled............. YES (optional)
--  AcquireImages will be compiled........... NO  (optional)
--  DNGConverter will be compiled............ YES (optional)
--  DLNAExport will be compiled.............. NO  (optional)
--  RemoveRedEyes will be compiled........... YES (optional)
--  Debian Screenshots will be compiled...... YES (optional)
--  Facebook will be compiled................ YES (optional)
--  Imgur will be compiled................... YES (optional)
--  GoogleServices will be compiled.......... YES (optional)
--  Dropbox will be compiled................. YES (optional)
--  VKontakte will be compiled............... YES (optional)
--  IpodExport will be compiled.............. NO  (optional)
--  Calendar will be compiled................ YES (optional)
--  GPSSync will be compiled................. NO  (optional)
--  Mediawiki will be compiled............... NO  (optional)
--  Panorama will be compiled................ YES (optional)
--  VideoSlideshow will be compiled.......... NO  (optional)
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digiKam
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- 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           =
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkexiv2
-- Check for Kdcraw library in local sub-folder...
CMake Warning at
/usr/share/kde4/apps/cmake/modules/FindKdcraw.cmake:44 (message):
  KDCRAW_LOCAL_DIR specified as "extra/libkdcraw" but libkdcraw could not be
  found there.
Call Stack (most recent call first):
  core/CMakeLists.txt:111 (find_package)


-- Check Kdcraw library using pkg-config...
-- Found libkdcraw release 2.4.2
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- Kipi library version required : 2.0.0
-- Check Kipi library in local sub-folder...
CMake Warning at cmake/modules/FindKipi.cmake:48 (MESSAGE):
  KIPI_LOCAL_DIR specified as "extra/libkipi" but libkipi could not be found
  there.
Call Stack (most recent call first):
  core/CMakeLists.txt:116 (find_package)


-- Check Kipi library using pkg-config...
-- Kipi library version: 2.2.0
-- libkipi: Found version 2.2.0 (required: 2.0.0)
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder:
/home/luca/Downloads/digikam-4.14.0/extra/libkface
CMake Warning at core/CMakeLists.txt:118 (find_package):
  By not providing "FindKGeoMap.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "KGeoMap", but
  CMake did not find one.

  Could not find a package configuration file provided by "KGeoMap" with any
  of the following names:

    KGeoMapConfig.cmake
    kgeomap-config.cmake

  Add the installation prefix of "KGeoMap" to CMAKE_PREFIX_PATH or set
  "KGeoMap_DIR" to a directory containing one of the above files.  If
  "KGeoMap" provides a separate development package or SDK, be sure it has
  been installed.


-- Could NOT find Jasper (missing:  JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Could NOT find Eigen3 (missing:  EIGEN3_INCLUDE_DIR
EIGEN3_VERSION_OK) (Required is at least version "2.91.0")
-- Boost version: 1.58.0
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /usr/local/share/OpenCV
-- OpenCV: Found version 2.4.11 (required: 2.4.9)
-- OpenCV headers: /usr/local/include/opencv;/usr/local/include
-- OpenCV libs   :
opencv_core;opencv_highgui;opencv_objdetect;opencv_contrib;opencv_legacy;opencv_imgproc
-- libkdcraw: Found version 2.4.2 (required: 2.2.0)
CMake Warning at core/CMakeLists.txt:179 (message):
  libkgeomap: Version information not found, your version is probably too
  old.


-- Check for LCMS2 availability...
-- Found lcms version 2.06, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found LCMS2: /usr/lib/x86_64-linux-gnu/liblcms2.so /usr/include
-- Libjpeg version: 84
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- checking for module 'lqr-1'
--   package 'lqr-1' not found
-- Could NOT find Lqr-1 (missing:  LQR-1_INCLUDE_DIRS LQR-1_LIBRARIES)
-- Found gphoto2: -lgphoto2_port;-lgphoto2 -lgphoto2_port -lm
-- Could NOT find LIBUSB (missing:  LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- checking for module 'lensfun'
--   package 'lensfun' not found
-- Could NOT find LensFun (missing:  LENSFUN_INCLUDE_DIRS LENSFUN_LIBRARIES)
CMake Warning at core/CMakeLists.txt:340 (message):
  liblensfun: Version information not found, your version is probably too
  old.


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  Could not find a package configuration file provided by "KFileMetaData"
  with any of the following names:

    KFileMetaDataConfig.cmake
    kfilemetadata-config.cmake

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


CMake Warning at
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32
(find_package):
  By not providing "FindBaloo.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Baloo", but
  CMake did not find one.

  Could not find a package configuration file provided by "Baloo" with any of
  the following names:

    BalooConfig.cmake
    baloo-config.cmake

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


--
-- ----------------------------------------------------------------------------------
--  digiKam 4.14.0 dependencies results   <http://www.digikam.org>
--
--  Qt4 SQL module found..................... YES
--  MySQL Database Support will be compiled.. NO  (optional)
--  libqt found.............................. YES
--  libkde found............................. YES
--  libjpeg found............................ YES
--  libtiff found............................ YES
--  libpng found............................. YES
--  liblcms found............................ YES
--  libboostgraph found...................... YES
--  libkexiv2 found.......................... YES
--  libkdcraw found.......................... YES
--  libpgf found............................. YES
--  libopencv found.......................... YES
--  libkipi found............................ YES (optional)
--  libkface found........................... YES (optional)
--  libkgeomap found......................... NO  (optional)
--  digiKam will be compiled without geolocation maps support.
--  Please install the libkgeomap (version >= 3.0.0) development package.
--
--  libkdepimlibs found...................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  liblensfun found......................... NO  (optional)
--  digiKam will be compiled without Lens Auto Correction tool support.
--  Please install the liblensfun (version >= 0.2.6) development package.
--
--  liblqr-1 found........................... NO  (optional)
--  digiKam will be compiled without Contents Aware Resizer tool support.
--  Please install the liblqr-1 (version >= 0.4.1) development package.
--
--  libeigen3 found.......................... NO  (optional)
--  digiKam will be compiled without Refocus tool support.
--  Please install the libeigen3 (version >= 3.0.0) development package.
--
--  libgphoto2 found......................... NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
--
--  libbaloo found........................... NO  (optional)
--  digiKam will be compiled without KDE files indexing support.
--  Please install the libbaloo (version >= 4.12.0) development package.
--
--  libsqlite2 found......................... YES (optional)
--  doxygen found............................ NO  (optional)
--  digiKam will be compiled without API documentation building support.
--  Please install the doxygen (version >= 1.8.0) development package.
--
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
--
-- Adjusting compilation flags for GCC version (5.2.1 )
-- Configuring incomplete, errors occurred!





8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--
Here is the CMakeError.log

Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec738768555/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec738768555.dir/build.make
CMakeFiles/cmTryCompileExec738768555.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_WIN’ undeclared (first use in this function)
   return ((int*)(&Q_WS_WIN))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec738768555.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec738768555.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec738768555/fast' failed
make: *** [cmTryCompileExec738768555/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_WIN
  return ((int*)(&Q_WS_WIN))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1877555967/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1877555967.dir/build.make
CMakeFiles/cmTryCompileExec1877555967.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_QWS’ undeclared (first use in this function)
   return ((int*)(&Q_WS_QWS))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec1877555967.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1877555967.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec1877555967/fast' failed
make: *** [cmTryCompileExec1877555967/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_QWS
  return ((int*)(&Q_WS_QWS))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1136871890/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1136871890.dir/build.make
CMakeFiles/cmTryCompileExec1136871890.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/usr/include/qt4    -o
CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
In function ‘main’:
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
error: ‘Q_WS_MAC’ undeclared (first use in this function)
   return ((int*)(&Q_WS_MAC))[argc];
                   ^
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19:
note: each undeclared identifier is reported only once for each
function it appears in
CMakeFiles/cmTryCompileExec1136871890.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec1136871890.dir/CheckSymbolExists.c.o]
Error 1
Makefile:117: recipe for target 'cmTryCompileExec1136871890/fast' failed
make: *** [cmTryCompileExec1136871890/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_MAC
  return ((int*)(&Q_WS_MAC))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec4207418867/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec4207418867.dir/build.make
CMakeFiles/cmTryCompileExec4207418867.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec4207418867
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec4207418867.dir/link.txt --verbose=1
/usr/bin/cc
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o  -o
cmTryCompileExec4207418867 -rdynamic
CMakeFiles/cmTryCompileExec4207418867.dir/CheckSymbolExists.c.o: In
function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec4207418867.dir/build.make:88: recipe for
target 'cmTryCompileExec4207418867' failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec4207418867/fast' failed
make[1]: *** [cmTryCompileExec4207418867] Error 1
make: *** [cmTryCompileExec4207418867/fast] Error 2

File /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads
failed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1313441002/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1313441002.dir/build.make
CMakeFiles/cmTryCompileExec1313441002.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o   -c
/usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1313441002
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1313441002.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create
CMakeFiles/cmTryCompileExec1313441002.dir/CheckFunctionExists.c.o  -o
cmTryCompileExec1313441002 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec1313441002.dir/build.make:88: recipe for
target 'cmTryCompileExec1313441002' failed
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec1313441002/fast' failed
make[1]: *** [cmTryCompileExec1313441002] Error 1
make: *** [cmTryCompileExec1313441002/fast] Error 2


Determining if the system is big endian passed with the following output:
Change Dir: /home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1948092521/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1948092521.dir/build.make
CMakeFiles/cmTryCompileExec1948092521.dir/build
make[1]: Entering directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o
/usr/bin/cc   -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common    -o
CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o   -c
/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTryCompileExec1948092521
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1948092521.dir/link.txt --verbose=1
/usr/bin/cc   -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common
CMakeFiles/cmTryCompileExec1948092521.dir/TestEndianess.c.o  -o
cmTryCompileExec1948092521 -rdynamic
make[1]: Leaving directory
'/home/luca/Downloads/digikam-4.14.0/build/CMakeFiles/CMakeTmp'

TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS
LITTLE ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053,
0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320,
0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_little[argc];
  require += info_big[argc];
  (void)argv;
  return require;
}
_______________________________________________
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: kubuntu wily - digikam refuses to start

Luca Ferrari
In reply to this post by Gilles Caulier-4
On Fri, Oct 30, 2015 at 1:14 PM, Gilles Caulier
<[hidden email]> wrote:
> In boostrap.linux, turn to OFF libkexiv2, libkipi, libkdcraw, libkgeomap,
> libmediawiki, libksane, and libvkontake.
>
> All these libs are dropped from the tarball and now are published with last
> KDE release.


Thanks, at least I can start compilation of digikam 4.14, but it gives
up at 30%:

[ 31%] Building CXX object
extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o
In file included from
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/../../../../extra/kipi-plugins/vkontakte/plugin_vkontakte.h:37:0,
                 from
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/plugin_vkontakte.moc:9,
                 from
/home/luca/Downloads/digikam-4.14.0/extra/kipi-plugins/vkontakte/plugin_vkontakte.cpp:24:
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/../../../../extra/kipi-plugins/vkontakte/vkwindow.h:34:37:
fatal error: libkvkontakte/albuminfo.h: No such file or directory
compilation terminated.
extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/build.make:77:
recipe for target
'extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o'
failed
make[2]: *** [extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o]
Error 1
CMakeFiles/Makefile2:4924: recipe for target
'extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all'
failed
make[1]: *** [extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all]
Error 2
Makefile:126: recipe for target 'all' failed

I've checked and libvkontakte is installed (via apt). Maybe this is
not the right version?
I've placed to OFF the following in the boostrap.linux file:

% grep OFF ../bootstrap.linux
      -DDIGIKAMSC_CHECKOUT_PO=OFF \
      -DDIGIKAMSC_COMPILE_PO=OFF \
      -DDIGIKAMSC_COMPILE_LIBKIPI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKEXIV2=OFF \
      -DDIGIKAMSC_COMPILE_LIBKDCRAW=OFF \
      -DDIGIKAMSC_COMPILE_LIBKSANE=OFF \
      -DDIGIKAMSC_COMPILE_LIBKGEOMAP=OFF \
      -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF \
      -DENABLE_OPENCV3=OFF \
      -DENABLE_MYSQLSUPPORT=OFF \
      -DENABLE_INTERNALMYSQL=OFF \


Any other suggestion?

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

Re: kubuntu wily - digikam refuses to start

Gilles Caulier-4
go to build sub dir and remove cmake cache file. restart configuration and compilation

Gilles Caulier

2015-11-02 9:11 GMT+01:00 Luca Ferrari <[hidden email]>:
On Fri, Oct 30, 2015 at 1:14 PM, Gilles Caulier
<[hidden email]> wrote:
> In boostrap.linux, turn to OFF libkexiv2, libkipi, libkdcraw, libkgeomap,
> libmediawiki, libksane, and libvkontake.
>
> All these libs are dropped from the tarball and now are published with last
> KDE release.


Thanks, at least I can start compilation of digikam 4.14, but it gives
up at 30%:

[ 31%] Building CXX object
extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o
In file included from
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/../../../../extra/kipi-plugins/vkontakte/plugin_vkontakte.h:37:0,
                 from
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/plugin_vkontakte.moc:9,
                 from
/home/luca/Downloads/digikam-4.14.0/extra/kipi-plugins/vkontakte/plugin_vkontakte.cpp:24:
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/../../../../extra/kipi-plugins/vkontakte/vkwindow.h:34:37:
fatal error: libkvkontakte/albuminfo.h: No such file or directory
compilation terminated.
extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/build.make:77:
recipe for target
'extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o'
failed
make[2]: *** [extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o]
Error 1
CMakeFiles/Makefile2:4924: recipe for target
'extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all'
failed
make[1]: *** [extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all]
Error 2
Makefile:126: recipe for target 'all' failed

I've checked and libvkontakte is installed (via apt). Maybe this is
not the right version?
I've placed to OFF the following in the boostrap.linux file:

% grep OFF ../bootstrap.linux
      -DDIGIKAMSC_CHECKOUT_PO=OFF \
      -DDIGIKAMSC_COMPILE_PO=OFF \
      -DDIGIKAMSC_COMPILE_LIBKIPI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKEXIV2=OFF \
      -DDIGIKAMSC_COMPILE_LIBKDCRAW=OFF \
      -DDIGIKAMSC_COMPILE_LIBKSANE=OFF \
      -DDIGIKAMSC_COMPILE_LIBKGEOMAP=OFF \
      -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF \
      -DENABLE_OPENCV3=OFF \
      -DENABLE_MYSQLSUPPORT=OFF \
      -DENABLE_INTERNALMYSQL=OFF \


Any other suggestion?

Luca
_______________________________________________
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: kubuntu wily - digikam refuses to start

Luca Ferrari
On Mon, Nov 2, 2015 at 9:18 AM, Gilles Caulier <[hidden email]> wrote:
> go to build sub dir and remove cmake cache file. restart configuration and
> compilation

No way, I've tried both removing CMakeCache.txt and restarting from a
clean tarball but what I got is still a compilation problem around 32%
and vkontakte:

[ 32%] Building CXX object
extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o
In file included from
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/../../../../extra/kipi-plugins/vkontakte/plugin_vkontakte.h:37:0,
                 from
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/plugin_vkontakte.moc:9,
                 from
/home/luca/Downloads/digikam-4.14.0/extra/kipi-plugins/vkontakte/plugin_vkontakte.cpp:24:
/home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/../../../../extra/kipi-plugins/vkontakte/vkwindow.h:34:37:
fatal error: libkvkontakte/albuminfo.h: No such file or directory
compilation terminated.
extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/build.make:77:
recipe for target
'extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o'
failed
make[2]: *** [extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o]
Error 1
CMakeFiles/Makefile2:4924: recipe for target
'extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all'
failed
make[1]: *** [extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all]
Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2


Am I missing something?

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

Re: kubuntu wily - digikam refuses to start

Remco Viëtor
On Monday 02 November 2015 12:56:45 Luca Ferrari wrote:
> On Mon, Nov 2, 2015 at 9:18 AM, Gilles Caulier <[hidden email]>
wrote:
> > go to build sub dir and remove cmake cache file. restart configuration
and
> > compilation
>
> No way, I've tried both removing CMakeCache.txt and restarting from a
> clean tarball but what I got is still a compilation problem around 32%
> and vkontakte:
>
> [ 32%] Building CXX object
> extra/kipi-
plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o
> In file included from
> /home/luca/Downloads/digikam-4.14.0/build/extra/kipi-
plugins/vkontakte/../../../../extra/kipi-
plugins/vkontakte/plugin_vkontakte.h:37:0,
>                  from
> /home/luca/Downloads/digikam-4.14.0/build/extra/kipi-
plugins/vkontakte/plugin_vkontakte.moc:9,
>                  from
> /home/luca/Downloads/digikam-4.14.0/extra/kipi-
plugins/vkontakte/plugin_vkontakte.cpp:24:
> /home/luca/Downloads/digikam-4.14.0/build/extra/kipi-
plugins/vkontakte/../../../../extra/kipi-
plugins/vkontakte/vkwindow.h:34:37:
> fatal error: libkvkontakte/albuminfo.h: No such file or directory
> compilation terminated.
> extra/kipi-
plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/build.make:77:
> recipe for target
> 'extra/kipi-
plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o'
> failed
> make[2]: *** [extra/kipi-
plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o]
> Error 1
> CMakeFiles/Makefile2:4924: recipe for target
> 'extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all'
> failed
> make[1]: *** [extra/kipi-
plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/all]
> Error 2
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> Am I missing something?
>
Yes, it looks like you are missing a file:
-- fatal error: libkvkontakte/albuminfo.h: No such file or directory
-- compilation terminated.
(about halfway down the list of errors)
This file is part of the development package/source package for
libvkontakte.

What I find surprising is that it's even trying to compile
plugin_vkontakte.cpp, as you had it marked as OFF (and thus CMake shouldn't
expect to find anything related to vkontakte...) (and in your previous
message, the error was exactly the same)

Remco

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

Re: kubuntu wily - digikam refuses to start

Luca Ferrari
In reply to this post by Luca Ferrari
> [ 32%] Building CXX object
> extra/kipi-plugins/vkontakte/CMakeFiles/kipiplugin_vkontakte.dir/plugin_vkontakte.cpp.o
> In file included from
> /home/luca/Downloads/digikam-4.14.0/build/extra/kipi-plugins/vkontakte/../../../../extra/kipi-plugins/vkontakte/plugin_vkontakte.h:37:0,
>                  from

Just in case it matters I've tried compiling 4.12 with the same
problem, and even bootstrap.local (which to my understanding has the
OFF values for vkontakte and others).
What puzzles me is that it seems it is tring to compile vkontakte
while it should be already compiled and installed:

% dpkg-query --list '*kontakte*'
+++-=======================-================-================-====================================================
ii  libkvkontakte1          1.0~digikam4.12. amd64
vkontakte.ru library


Now, it is strange that it appears to be related somehow to digikam
4.12, and hence my trial to compile 4.12.

Any suggestion is welcome.

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

Re: kubuntu wily - digikam refuses to start

Luca Ferrari
In reply to this post by Remco Viëtor
On Mon, Nov 2, 2015 at 4:56 PM, Remco Viëtor <[hidden email]> wrote:
> What I find surprising is that it's even trying to compile
> plugin_vkontakte.cpp, as you had it marked as OFF (and thus CMake shouldn't
> expect to find anything related to vkontakte...) (and in your previous
> message, the error was exactly the same)
>

Yes, my exact feeling. Am I missing something in order to disable
vkontakte compilation?
I've double checked the bootsrap.linux file and I found that running
it produces:

-- Local shared libkvkontakte will be compiled.... NO
-- libkvkontakte: Found version 4.12.0 (required: 4.12.0)
--  libkvkontakte found...................... YES (optional)


and the OFF values are:

% grep OFF bootstrap.linux
      -DDIGIKAMSC_CHECKOUT_PO=OFF \
      -DDIGIKAMSC_COMPILE_PO=OFF \
      -DDIGIKAMSC_COMPILE_LIBKIPI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKEXIV2=OFF \
      -DDIGIKAMSC_COMPILE_LIBKDCRAW=OFF \
      -DDIGIKAMSC_COMPILE_LIBKFACE=OFF \
      -DDIGIKAMSC_COMPILE_LIBKGEOMAP=OFF \
      -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF \
      -DENABLE_OPENCV3=OFF \
      -DENABLE_MYSQLSUPPORT=OFF \
      -DENABLE_INTERNALMYSQL=OFF \

Each time I start building and configuring again I remove the build
subdirectory, so I 'm pretty sure cmake cache files are not a problem.
Any other idea?

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

Re: kubuntu wily - digikam refuses to start

Gilles Caulier-4
the flag to not compile libvkontakte is about local version of library, not system based library.

In other words, as i said previously, it's only for developer, as it's written, in README.

The script will try to find in all cases the lib from the system.

You don't want vkontakte tool compiled : uninstall libvkontakte from your system.

Gilles Caulier

2015-11-03 10:19 GMT+01:00 Luca Ferrari <[hidden email]>:
On Mon, Nov 2, 2015 at 4:56 PM, Remco Viëtor <[hidden email]> wrote:
> What I find surprising is that it's even trying to compile
> plugin_vkontakte.cpp, as you had it marked as OFF (and thus CMake shouldn't
> expect to find anything related to vkontakte...) (and in your previous
> message, the error was exactly the same)
>

Yes, my exact feeling. Am I missing something in order to disable
vkontakte compilation?
I've double checked the bootsrap.linux file and I found that running
it produces:

-- Local shared libkvkontakte will be compiled.... NO
-- libkvkontakte: Found version 4.12.0 (required: 4.12.0)
--  libkvkontakte found...................... YES (optional)


and the OFF values are:

% grep OFF bootstrap.linux
      -DDIGIKAMSC_CHECKOUT_PO=OFF \
      -DDIGIKAMSC_COMPILE_PO=OFF \
      -DDIGIKAMSC_COMPILE_LIBKIPI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKEXIV2=OFF \
      -DDIGIKAMSC_COMPILE_LIBKDCRAW=OFF \
      -DDIGIKAMSC_COMPILE_LIBKFACE=OFF \
      -DDIGIKAMSC_COMPILE_LIBKGEOMAP=OFF \
      -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=OFF \
      -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF \
      -DENABLE_OPENCV3=OFF \
      -DENABLE_MYSQLSUPPORT=OFF \
      -DENABLE_INTERNALMYSQL=OFF \

Each time I start building and configuring again I remove the build
subdirectory, so I 'm pretty sure cmake cache files are not a problem.
Any other idea?

Thanks,
Luca
_______________________________________________
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: kubuntu wily - digikam refuses to start

Remco Viëtor
In reply to this post by Luca Ferrari
On Tuesday 03 November 2015 10:19:02 Luca Ferrari wrote:
> On Mon, Nov 2, 2015 at 4:56 PM, Remco Viëtor <[hidden email]>
wrote:
> > What I find surprising is that it's even trying to compile
> > plugin_vkontakte.cpp, as you had it marked as OFF (and thus CMake
shouldn't
> > expect to find anything related to vkontakte...) (and in your previous
> > message, the error was exactly the same)
> >
>
> Yes, my exact feeling. Am I missing something in order to disable
> vkontakte compilation?


Taking into account Gilles' answer, your options seem to be:
- remove libvkontakte before compiling Digikam (you should be able to
reinstall it after compilation and installation of Digikam are done)
- install the libvkontakte devel package (with the include files needed),
but disable vkontakte in Digikam/Kipi preferences.

Not ideal, as you might have other programs that need libvkontakte (those
would fail while you have libvkontakte removed)...

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