How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

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

How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Matthieu
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?
- is there a specific location to specify to load the local libs?
- did I miss something when building libexiv2?

Thanks for your help

Mat



Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Gilles Caulier-4


2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

Remove the "build" sub directory as well. This will clean the cmake cache.
  
- is there a specific location to specify to load the local libs?

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.
 
- did I miss something when building libexiv2?

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

Best

Gilles Caulier 

Thanks for your help

Mat




Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

AndriusWild
Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.
Thanks,
Andrey

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:


2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

Remove the "build" sub directory as well. This will clean the cmake cache.
  
- is there a specific location to specify to load the local libs?

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.
 
- did I miss something when building libexiv2?

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

Best

Gilles Caulier 

Thanks for your help

Mat




--
Best regards,
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

AndriusWild
Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:
Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.
Thanks,
Andrey

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:


2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

Remove the "build" sub directory as well. This will clean the cmake cache.
  
- is there a specific location to specify to load the local libs?

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.
 
- did I miss something when building libexiv2?

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

Best

Gilles Caulier 

Thanks for your help

Mat




--
Best regards,
--
Best regards,
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Gilles Caulier-4
Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

My Exiv2 options to compile the AppImage bundle :


Gilles Caulier

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:
Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:
Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.
Thanks,
Andrey

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:


2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

Remove the "build" sub directory as well. This will clean the cmake cache.
  
- is there a specific location to specify to load the local libs?

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.
 
- did I miss something when building libexiv2?

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

Best

Gilles Caulier 

Thanks for your help

Mat




--
Best regards,
--
Best regards,

Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Matthieu
Hi there,

thanks for all your answers.
I installed the lib in /usr/local because I was thinking it was the best choice.
I added the video option in configuration because I was thinking it was usefull.

Following your answers, I've removed my previous installation with
sudo make uninstall

recompile the libexiv with the following options:
./configure --prefix=/usr --without-ssh --disable-static

build id
make

and install it
sudo make install

I've also removed all the packages from my distribution related to this lib:
sudo apt-get remove libexiv2*

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

then I tried to rebuild it:
cd /opt/digikam/git && rm -rf build && ./bootstrap.linux
Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

Any idea?

Kind regards

Mat

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :
Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

My Exiv2 options to compile the AppImage bundle :


Gilles Caulier

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:
Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:
Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.
Thanks,
Andrey

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:


2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

Remove the "build" sub directory as well. This will clean the cmake cache.
  
- is there a specific location to specify to load the local libs?

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.
 
- did I miss something when building libexiv2?

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

Best

Gilles Caulier 

Thanks for your help

Mat




--
Best regards,
--
Best regards,

Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Gilles Caulier-4
The order to process is wrong...

1/ uninstall system package
2/ install exiv2 manually
3/ reconfigure digiKam
4/ recompile digiKam

In other words, re-install Exiv2 again manually. 

Gilles Caulier

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

thanks for all your answers.
I installed the lib in /usr/local because I was thinking it was the best choice.
I added the video option in configuration because I was thinking it was usefull.

Following your answers, I've removed my previous installation with
sudo make uninstall

recompile the libexiv with the following options:
./configure --prefix=/usr --without-ssh --disable-static

build id
make

and install it
sudo make install

I've also removed all the packages from my distribution related to this lib:
sudo apt-get remove libexiv2*

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

then I tried to rebuild it:
cd /opt/digikam/git && rm -rf build && ./bootstrap.linux
Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

Any idea?

Kind regards

Mat

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :
Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

My Exiv2 options to compile the AppImage bundle :


Gilles Caulier

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:
Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:
Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.
Thanks,
Andrey

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:


2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

Remove the "build" sub directory as well. This will clean the cmake cache.
  
- is there a specific location to specify to load the local libs?

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.
 
- did I miss something when building libexiv2?

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

Best

Gilles Caulier 

Thanks for your help

Mat




--
Best regards,
--
Best regards,


Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Matthieu
Thanks Gilles for helping me.
Unfortunatelly, no more success:

# go in the exiv2 lib source files
cd exiv2-trunk
# ensure that everything has been removed from the system lib
sudo apt-get install libexiv2-14
sudo apt-get remove --purge libexiv2*
# remove my previous install, not sure if it can usefull...
sudo make uninstall
sudo make install
# check if I don't have any remaining lib
sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0
# try recompile
cd /opt/digikam/git
sudo rm -rf Build
./bootlstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)

ls -la /usr/lib/x86_64-linux-gnu/libexiv2*
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2*': Aucun fichier ou dossier de ce type

Any idea?


Le jeu. 6 sept. 2018 à 16:02, Gilles Caulier <[hidden email]> a écrit :
The order to process is wrong...

1/ uninstall system package
2/ install exiv2 manually
3/ reconfigure digiKam
4/ recompile digiKam

In other words, re-install Exiv2 again manually. 

Gilles Caulier

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

thanks for all your answers.
I installed the lib in /usr/local because I was thinking it was the best choice.
I added the video option in configuration because I was thinking it was usefull.

Following your answers, I've removed my previous installation with
sudo make uninstall

recompile the libexiv with the following options:
./configure --prefix=/usr --without-ssh --disable-static

build id
make

and install it
sudo make install

I've also removed all the packages from my distribution related to this lib:
sudo apt-get remove libexiv2*

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

then I tried to rebuild it:
cd /opt/digikam/git && rm -rf build && ./bootstrap.linux
Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

Any idea?

Kind regards

Mat

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :
Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

My Exiv2 options to compile the AppImage bundle :


Gilles Caulier

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:
Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:
Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.
Thanks,
Andrey

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:


2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?
Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*
-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*
/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

Remove the "build" sub directory as well. This will clean the cmake cache.
  
- is there a specific location to specify to load the local libs?

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.
 
- did I miss something when building libexiv2?

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

Best

Gilles Caulier 

Thanks for your help

Mat




--
Best regards,
--
Best regards,


Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Gilles Caulier-4
ls -la /usr/lib/x86_64-linux-gnu/libexiv2*

What's this kind of path ?

Here all is installed in /usr/lib64/. It's simple and clean. It's also the case under CentOS 6 to build the AppImage bundle.

Give me the full traces of Exiv2 configuration + compilation + install. start from an Exiv2 install from scratch (remove all local source code to compile, checkout code again, configure, compile, and install) 

Note : On my home computer, I don't use automake/autoconf to configure Exiv2. I use cmake of course, as i write myself the auto* to cmake port of Exiv2.

For the next Exiv2 0.27, auto* support will be dropped in favor of cmake.

Gilles Caulier
Reply | Threaded
Open this post in threaded view
|

RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

AndriusWild
In reply to this post by Matthieu

Have you solved this by chance?

I thought you could download exiv2 and libexiv 0.26 debs from Debian Experimental as a workaround.

Or try to compile to a .deb in a VM and then install them on the actual machine.

 

From: Digikam-devel [mailto:[hidden email]] On Behalf Of Matthieu
Sent: September 6, 2018 3:35 PM
To: [hidden email]
Subject: Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Thanks Gilles for helping me.

Unfortunatelly, no more success:

 

# go in the exiv2 lib source files

cd exiv2-trunk

# ensure that everything has been removed from the system lib

sudo apt-get install libexiv2-14

sudo apt-get remove --purge libexiv2*

# remove my previous install, not sure if it can usefull...

sudo make uninstall

sudo make install

# check if I don't have any remaining lib

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

# try recompile

cd /opt/digikam/git

sudo rm -rf Build

./bootlstrap.linux

 

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2*
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2*': Aucun fichier ou dossier de ce type

 

Any idea?

 

 

Le jeu. 6 sept. 2018 à 16:02, Gilles Caulier <[hidden email]> a écrit :

The order to process is wrong...

 

1/ uninstall system package

2/ install exiv2 manually

3/ reconfigure digiKam

4/ recompile digiKam

 

In other words, re-install Exiv2 again manually. 

 

Gilles Caulier

 

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

thanks for all your answers.

I installed the lib in /usr/local because I was thinking it was the best choice.

I added the video option in configuration because I was thinking it was usefull.

 

Following your answers, I've removed my previous installation with

sudo make uninstall

 

recompile the libexiv with the following options:

./configure --prefix=/usr --without-ssh --disable-static

 

build id

make

 

and install it

sudo make install

 

I've also removed all the packages from my distribution related to this lib:

sudo apt-get remove libexiv2*

 

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

 

then I tried to rebuild it:

cd /opt/digikam/git && rm -rf build && ./bootstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

 

Any idea?

 

Kind regards

 

Mat

 

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :

Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

 

My Exiv2 options to compile the AppImage bundle :

 

 

Gilles Caulier

 

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:

Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

 

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:

Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

 

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

 

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.

Thanks,

Andrey

 

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:

 

 

2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?

Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so

/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*

-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

 

Remove the "build" sub directory as well. This will clean the cmake cache.

  

- is there a specific location to specify to load the local libs?

 

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

 

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

 

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.

 

- did I miss something when building libexiv2?

 

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

 

Best

 

Gilles Caulier 

 

Thanks for your help

 

Mat



 

--

Best regards,

--

Best regards,

 

 

Reply | Threaded
Open this post in threaded view
|

RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

AndriusWild

Or you could download digikam 5.9 rpm from either SUSE or Fedora repositories and try installing them in Ubuntu using alien command.

 

 

From: Andrey Goreev [mailto:[hidden email]]
Sent: September 11, 2018 11:05 AM
To: 'digiKam developers room - digiKam - Manage your photographs as a professional with the power of open source' <[hidden email]>
Subject: RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Have you solved this by chance?

I thought you could download exiv2 and libexiv 0.26 debs from Debian Experimental as a workaround.

Or try to compile to a .deb in a VM and then install them on the actual machine.

 

From: Digikam-devel [[hidden email]] On Behalf Of Matthieu
Sent: September 6, 2018 3:35 PM
To: [hidden email]
Subject: Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Thanks Gilles for helping me.

Unfortunatelly, no more success:

 

# go in the exiv2 lib source files

cd exiv2-trunk

# ensure that everything has been removed from the system lib

sudo apt-get install libexiv2-14

sudo apt-get remove --purge libexiv2*

# remove my previous install, not sure if it can usefull...

sudo make uninstall

sudo make install

# check if I don't have any remaining lib

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

# try recompile

cd /opt/digikam/git

sudo rm -rf Build

./bootlstrap.linux

 

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2*
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2*': Aucun fichier ou dossier de ce type

 

Any idea?

 

 

Le jeu. 6 sept. 2018 à 16:02, Gilles Caulier <[hidden email]> a écrit :

The order to process is wrong...

 

1/ uninstall system package

2/ install exiv2 manually

3/ reconfigure digiKam

4/ recompile digiKam

 

In other words, re-install Exiv2 again manually. 

 

Gilles Caulier

 

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

thanks for all your answers.

I installed the lib in /usr/local because I was thinking it was the best choice.

I added the video option in configuration because I was thinking it was usefull.

 

Following your answers, I've removed my previous installation with

sudo make uninstall

 

recompile the libexiv with the following options:

./configure --prefix=/usr --without-ssh --disable-static

 

build id

make

 

and install it

sudo make install

 

I've also removed all the packages from my distribution related to this lib:

sudo apt-get remove libexiv2*

 

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

 

then I tried to rebuild it:

cd /opt/digikam/git && rm -rf build && ./bootstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

 

Any idea?

 

Kind regards

 

Mat

 

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :

Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

 

My Exiv2 options to compile the AppImage bundle :

 

 

Gilles Caulier

 

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:

Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

 

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:

Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

 

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

 

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.

Thanks,

Andrey

 

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:

 

 

2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?

Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so

/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*

-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

 

Remove the "build" sub directory as well. This will clean the cmake cache.

  

- is there a specific location to specify to load the local libs?

 

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

 

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

 

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.

 

- did I miss something when building libexiv2?

 

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

 

Best

 

Gilles Caulier 

 

Thanks for your help

 

Mat

 

 

--

Best regards,

--

Best regards,

 

 

Reply | Threaded
Open this post in threaded view
|

RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.

Antoni Bella Pérez
In reply to this post by AndriusWild

  Hi, 

  Is possible that you have old version of libexlib2 installed?

sudo updatedb
locate libexiv2*
  Toni
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Matthieu
In reply to this post by AndriusWild
Hi there,

Sorry for this late answer, I''ve been busy.
No, I didn't solve it. So I've tried with the 0.27 from their git repository instead.

Here's the output:

# from my previous build folder
sudo make uninstall
...
sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2json
/usr/local/lib/libexiv2.a
/usr/local/lib/pkgconfig/exiv2.lsm
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb



git clone https://github.com/Exiv2/exiv2.git && cd exiv2

cmake .

-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Found Intl: /usr/include 
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so 
-- ICONV_INCLUDE_DIR :
-- ICONV_LIBRARIES : /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for munmap
-- Looking for munmap - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for process.h
-- Looking for process.h - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Install prefix:    /usr/local
-- ------------------------------------------------------------------
-- CMake Generator:   Unix Makefiles
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
--  --- Compiler flags ---
-- General:            -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
-- Extra:             
-- Debug:             -g3 -gstrict-dwarf -O0
-- Release:           -O3 -DNDEBUG
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
--  --- Linker flags ---
-- General:          
-- Debug:            
-- Release:          
-- RelWithDebInfo:   
-- MinSizeRel:       
--
-- Compiler Options
-- Warnings as errors:                 NO
-- Use extra compiler warning flags:   NO
--
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
-- ------------------------------------------------------------------
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Building video support:             NO
-- Building webready support:          NO
-- Building exiv2 command:             YES
-- Building samples:                   YES
-- Building PO files:                  NO
-- Building unit tests:                NO
-- Building doc:                       NO
-- Building with coverage flags:       NO
-- Using ccache:                       NO
-- ------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/foo/Download/softs/exiv2


make -j

Scanning dependencies of target exiv2lib_int
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XML_Node.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils-FileInfo.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Serialize.cpp.o
[  1%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils.cpp.o
[  2%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPCore_Impl.cpp.o
[  3%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Parse.cpp.o
[  4%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPUtils.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPMeta.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPIterator.cpp.o
[  6%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-GetSet.cpp.o
[  7%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta.cpp.o
[  7%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/nikonmn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/rw2image_int.cpp.o
[  8%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/samsungmn_int.cpp.o
[  9%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/panasonicmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/olympusmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/orfimage_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/casiomn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sigmamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/minoltamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/cr2header_int.cpp.o
[ 16%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/fujimn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/crwimage_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffvisitor_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pentaxmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/makernote_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffcomposite_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pngchunk_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffimage_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tags_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sonymn_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/helper_functions.cpp.o
[ 22%] Linking CXX static library ../lib/libxmp.a
[ 25%] Built target xmp
[ 25%] Built target exiv2lib_int
Scanning dependencies of target exiv2lib
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/convert.cpp.o
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/bmpimage.cpp.o
[ 27%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/bigtiffimage.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/basicio.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/image.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/rw2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/crwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/gifimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/types.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/preview.cpp.o
[ 36%] Building CXX object src/CMakeFiles/exiv2lib.dir/orfimage.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/futils.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/matroskavideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/utilsvideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/cr2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/quicktimevideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/rafimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/http.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/exif.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/error.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/easyaccess.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/mrwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/metadatum.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/iptc.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/value.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/ini.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/tgaimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/pgfimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/properties.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/psdimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/datasets.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/jpgimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/version.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/epsimage.cpp.o
[ 48%] Building CXX object src/CMakeFiles/exiv2lib.dir/tiffimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/pngimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/riffvideo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/tags.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmpsidecar.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/webpimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/jp2image.cpp.o
[ 51%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmp.cpp.o
[ 51%] Linking CXX shared library ../lib/libexiv2.so
[ 51%] Built target exiv2lib
Scanning dependencies of target write-test
Scanning dependencies of target iptctest
Scanning dependencies of target largeiptc-test
Scanning dependencies of target convert-test
Scanning dependencies of target werror-test
Scanning dependencies of target remotetest
Scanning dependencies of target tiff-test
Scanning dependencies of target iptcprint
Scanning dependencies of target mmap-test
Scanning dependencies of target easyaccess-test
Scanning dependencies of target xmpprint
Scanning dependencies of target exifdata-test
Scanning dependencies of target xmpparse
Scanning dependencies of target ini-test
Scanning dependencies of target exifvalue
Scanning dependencies of target xmpparser-test
Scanning dependencies of target key-test
Scanning dependencies of target iotest
Scanning dependencies of target write2-test
Scanning dependencies of target conntest
Scanning dependencies of target prevtest
Scanning dependencies of target mrwthumb
Scanning dependencies of target exifdata
Scanning dependencies of target metacopy
Scanning dependencies of target addmoddel
Scanning dependencies of target stringto-test
Scanning dependencies of target geotag
Scanning dependencies of target pathtest
Scanning dependencies of target taglist
Scanning dependencies of target xmpsample
Scanning dependencies of target exifprint
Scanning dependencies of target getopt-test
Scanning dependencies of target exiv2
Scanning dependencies of target exifcomment
Scanning dependencies of target xmpdump
Scanning dependencies of target exiv2json
Scanning dependencies of target iptceasy
[ 52%] Building CXX object samples/CMakeFiles/ini-test.dir/ini-test.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/iptctest.dir/iptctest.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/convert-test.dir/convert-test.cpp.o
[ 54%] Building CXX object samples/CMakeFiles/prevtest.dir/prevtest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write2-test.dir/write2-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/geotag.dir/geotag.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write-test.dir/write-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/largeiptc-test.dir/largeiptc-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpdump.dir/xmpdump.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifvalue.dir/exifvalue.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/mrwthumb.dir/mrwthumb.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/werror-test.dir/werror-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/key-test.dir/key-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/utils.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/conntest.dir/conntest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/taglist.dir/taglist.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpsample.dir/xmpsample.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/addmoddel.dir/addmoddel.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/getopt-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifprint.dir/exifprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifdata-test.dir/exifdata-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/iptcprint.dir/iptcprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/remotetest.dir/remotetest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpparse.dir/xmpparse.cpp.o
[ 64%] Building CXX object samples/CMakeFiles/xmpprint.dir/xmpprint.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/exifdata.dir/exifdata.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/xmpparser-test.dir/xmpparser-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/stringto-test.dir/stringto-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/tiff-test.dir/tiff-test.cpp.o
[ 68%] Building CXX object samples/CMakeFiles/exifcomment.dir/exifcomment.cpp.o
[ 69%] Building CXX object samples/CMakeFiles/easyaccess-test.dir/easyaccess-test.cpp.o
[ 70%] Building CXX object samples/CMakeFiles/iotest.dir/iotest.cpp.o
[ 71%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/getopt.cpp.o
[ 72%] Building CXX object samples/CMakeFiles/mmap-test.dir/mmap-test.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/exiv2json.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/Jzon.cpp.o
[ 75%] Building CXX object src/CMakeFiles/exiv2.dir/utils.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/actions.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/getopt.cpp.o
[ 75%] Building CXX object samples/CMakeFiles/pathtest.dir/path-test.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/metacopy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/iptceasy.dir/iptceasy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/getopt.cpp.o
[ 79%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/utils.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/utils.cpp.o
[ 78%] Building CXX object src/CMakeFiles/exiv2.dir/exiv2.cpp.o
[ 78%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/getopt.cpp.o
[ 79%] Linking CXX executable ../bin/ini-test
[ 79%] Built target ini-test
[ 80%] Linking CXX executable ../bin/xmpdump
[ 80%] Linking CXX executable ../bin/exifcomment
[ 80%] Linking CXX executable ../bin/exifvalue
[ 82%] Linking CXX executable ../bin/taglist
[ 82%] Linking CXX executable ../bin/convert-test
[ 82%] Linking CXX executable ../bin/stringto-test
[ 83%] Linking CXX executable ../bin/largeiptc-test
[ 83%] Linking CXX executable ../bin/getopt-test
[ 84%] Linking CXX executable ../bin/xmpparse
[ 85%] Linking CXX executable ../bin/path-test
[ 85%] Linking CXX executable ../bin/key-test
[ 86%] Linking CXX executable ../bin/werror-test
[ 86%] Linking CXX executable ../bin/mmap-test
[ 87%] Linking CXX executable ../bin/iotest
[ 87%] Linking CXX executable ../bin/mrwthumb
[ 87%] Linking CXX executable ../bin/easyaccess-test
[ 87%] Linking CXX executable ../bin/xmpprint
[ 88%] Linking CXX executable ../bin/prevtest
[ 88%] Linking CXX executable ../bin/remotetest
[ 89%] Linking CXX executable ../bin/metacopy
[ 90%] Linking CXX executable ../bin/iptcprint
[ 90%] Linking CXX executable ../bin/xmpparser-test
[ 91%] Linking CXX executable ../bin/exifprint
[ 92%] Linking CXX executable ../bin/iptceasy
[ 93%] Linking CXX executable ../bin/conntest
[ 93%] Linking CXX executable ../bin/iptctest
[ 94%] Linking CXX executable ../bin/tiff-test
[ 94%] Linking CXX executable ../bin/write-test
[ 94%] Built target werror-test
[ 94%] Built target xmpdump
[ 94%] Built target taglist
[ 94%] Built target exifvalue
[ 94%] Built target exifcomment
[ 94%] Built target xmpparse
[ 95%] Linking CXX executable ../bin/exifdata-test
[ 95%] Built target largeiptc-test
[ 95%] Built target pathtest
[ 95%] Built target getopt-test
[ 95%] Built target stringto-test
[ 95%] Built target convert-test
[ 95%] Built target iotest
[ 95%] Built target key-test
[ 96%] Linking CXX executable ../bin/addmoddel
[ 96%] Built target mmap-test
[ 96%] Built target easyaccess-test
[ 97%] Linking CXX executable ../bin/exifdata
[ 97%] Built target mrwthumb
[ 97%] Built target prevtest
[ 98%] Linking CXX executable ../bin/xmpsample
[ 98%] Linking CXX executable ../bin/write2-test
[ 98%] Built target xmpprint
[ 98%] Built target metacopy
[ 98%] Built target iptceasy
[ 98%] Built target iptctest
[ 98%] Built target xmpparser-test
[ 98%] Built target tiff-test
[ 98%] Built target exifprint
[ 98%] Built target remotetest
[ 98%] Built target conntest
[ 98%] Built target iptcprint
[ 98%] Built target write-test
[ 98%] Built target exifdata-test
[ 98%] Built target exifdata
[ 98%] Built target write2-test
[ 98%] Built target addmoddel
[ 98%] Built target xmpsample
[ 99%] Linking CXX executable ../bin/geotag
[ 99%] Built target geotag
[100%] Linking CXX executable ../bin/exiv2json
[100%] Built target exiv2json
[100%] Linking CXX executable ../bin/exiv2
[100%] Built target exiv2


sudo make install

[ 11%] Built target xmp
[ 25%] Built target exiv2lib_int
[ 51%] Built target exiv2lib
[ 54%] Built target exiv2
[ 55%] Built target mmap-test
[ 56%] Built target iptctest
[ 57%] Built target key-test
[ 58%] Built target easyaccess-test
[ 59%] Built target remotetest
[ 60%] Built target iptcprint
[ 61%] Built target werror-test
[ 62%] Built target write2-test
[ 63%] Built target xmpparser-test
[ 64%] Built target conntest
[ 65%] Built target iptceasy
[ 66%] Built target ini-test
[ 67%] Built target exifvalue
[ 68%] Built target exifprint
[ 69%] Built target exifdata-test
[ 71%] Built target largeiptc-test
[ 72%] Built target xmpparse
[ 73%] Built target convert-test
[ 74%] Built target addmoddel
[ 75%] Built target xmpprint
[ 76%] Built target exifcomment
[ 77%] Built target mrwthumb
[ 79%] Built target exifdata
[ 80%] Built target prevtest
[ 82%] Built target metacopy
[ 83%] Built target stringto-test
[ 85%] Built target taglist
[ 86%] Built target tiff-test
[ 88%] Built target exiv2json
[ 89%] Built target write-test
[ 91%] Built target iotest
[ 93%] Built target xmpsample
[ 95%] Built target getopt-test
[ 96%] Built target xmpdump
[ 99%] Built target pathtest
[100%] Built target geotag
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/pkgconfig/exiv2.pc
-- Installing: /usr/local/lib/libxmp.a
-- Installing: /usr/local/lib/libexiv2.so.0.27.0.0
-- Installing: /usr/local/lib/libexiv2.so.0
-- Installing: /usr/local/lib/libexiv2.so
-- Set runtime path of "/usr/local/lib/libexiv2.so.0.27.0.0" to "$ORIGIN/../lib"
-- Installing: /usr/local/include/exiv2/asfvideo.hpp
-- Installing: /usr/local/include/exiv2/basicio.hpp
-- Installing: /usr/local/include/exiv2/bmpimage.hpp
-- Installing: /usr/local/include/exiv2/config.h
-- Installing: /usr/local/include/exiv2/convert.hpp
-- Installing: /usr/local/include/exiv2/cr2image.hpp
-- Installing: /usr/local/include/exiv2/crwimage.hpp
-- Installing: /usr/local/include/exiv2/datasets.hpp
-- Installing: /usr/local/include/exiv2/easyaccess.hpp
-- Installing: /usr/local/include/exiv2/epsimage.hpp
-- Installing: /usr/local/include/exiv2/error.hpp
-- Installing: /usr/local/include/exiv2/exif.hpp
-- Installing: /usr/local/include/exiv2/exiv2.hpp
-- Installing: /usr/local/include/exiv2/futils.hpp
-- Installing: /usr/local/include/exiv2/gifimage.hpp
-- Installing: /usr/local/include/exiv2/http.hpp
-- Installing: /usr/local/include/exiv2/image.hpp
-- Installing: /usr/local/include/exiv2/ini.hpp
-- Installing: /usr/local/include/exiv2/iptc.hpp
-- Installing: /usr/local/include/exiv2/jp2image.hpp
-- Installing: /usr/local/include/exiv2/jpgimage.hpp
-- Installing: /usr/local/include/exiv2/matroskavideo.hpp
-- Installing: /usr/local/include/exiv2/metadatum.hpp
-- Installing: /usr/local/include/exiv2/mrwimage.hpp
-- Installing: /usr/local/include/exiv2/orfimage.hpp
-- Installing: /usr/local/include/exiv2/pgfimage.hpp
-- Installing: /usr/local/include/exiv2/preview.hpp
-- Installing: /usr/local/include/exiv2/properties.hpp
-- Installing: /usr/local/include/exiv2/psdimage.hpp
-- Installing: /usr/local/include/exiv2/quicktimevideo.hpp
-- Installing: /usr/local/include/exiv2/rafimage.hpp
-- Installing: /usr/local/include/exiv2/riffvideo.hpp
-- Installing: /usr/local/include/exiv2/rw2image.hpp
-- Installing: /usr/local/include/exiv2/rwlock.hpp
-- Installing: /usr/local/include/exiv2/tags.hpp
-- Installing: /usr/local/include/exiv2/tgaimage.hpp
-- Installing: /usr/local/include/exiv2/tiffimage.hpp
-- Installing: /usr/local/include/exiv2/types.hpp
-- Installing: /usr/local/include/exiv2/utilsvideo.hpp
-- Installing: /usr/local/include/exiv2/value.hpp
-- Installing: /usr/local/include/exiv2/version.hpp
-- Installing: /usr/local/include/exiv2/webpimage.hpp
-- Installing: /usr/local/include/exiv2/xmp_exiv2.hpp
-- Installing: /usr/local/include/exiv2/xmpsidecar.hpp
-- Installing: /usr/local/include/exiv2/exv_conf.h
-- Installing: /usr/local/include/exiv2/exiv2lib_export.h
-- Installing: /usr/local/include/exiv2/pngimage.hpp
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config.cmake
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
-- Installing: /usr/local/bin/exiv2
-- Set runtime path of "/usr/local/bin/exiv2" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2.1
-- Installing: /usr/local/bin/addmoddel
-- Set runtime path of "/usr/local/bin/addmoddel" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/convert-test
-- Set runtime path of "/usr/local/bin/convert-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/easyaccess-test
-- Set runtime path of "/usr/local/bin/easyaccess-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifcomment
-- Set runtime path of "/usr/local/bin/exifcomment" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata-test
-- Set runtime path of "/usr/local/bin/exifdata-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata
-- Set runtime path of "/usr/local/bin/exifdata" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifprint
-- Set runtime path of "/usr/local/bin/exifprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifvalue
-- Set runtime path of "/usr/local/bin/exifvalue" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/ini-test
-- Set runtime path of "/usr/local/bin/ini-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iotest
-- Set runtime path of "/usr/local/bin/iotest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptceasy
-- Set runtime path of "/usr/local/bin/iptceasy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptcprint
-- Set runtime path of "/usr/local/bin/iptcprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptctest
-- Set runtime path of "/usr/local/bin/iptctest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/key-test
-- Set runtime path of "/usr/local/bin/key-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/largeiptc-test
-- Set runtime path of "/usr/local/bin/largeiptc-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mmap-test
-- Set runtime path of "/usr/local/bin/mmap-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mrwthumb
-- Set runtime path of "/usr/local/bin/mrwthumb" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/prevtest
-- Set runtime path of "/usr/local/bin/prevtest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/stringto-test
-- Set runtime path of "/usr/local/bin/stringto-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/taglist
-- Set runtime path of "/usr/local/bin/taglist" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/tiff-test
-- Set runtime path of "/usr/local/bin/tiff-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/werror-test
-- Set runtime path of "/usr/local/bin/werror-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write-test
-- Set runtime path of "/usr/local/bin/write-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write2-test
-- Set runtime path of "/usr/local/bin/write2-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparse
-- Set runtime path of "/usr/local/bin/xmpparse" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparser-test
-- Set runtime path of "/usr/local/bin/xmpparser-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpprint
-- Set runtime path of "/usr/local/bin/xmpprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpsample
-- Set runtime path of "/usr/local/bin/xmpsample" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpdump
-- Set runtime path of "/usr/local/bin/xmpdump" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/metacopy
-- Set runtime path of "/usr/local/bin/metacopy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/path-test
-- Set runtime path of "/usr/local/bin/path-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exiv2json
-- Set runtime path of "/usr/local/bin/exiv2json" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/geotag
-- Set runtime path of "/usr/local/bin/geotag" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2samples.1


sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2
/usr/local/bin/exiv2json
/usr/local/include/exiv2
/usr/local/include/exiv2/asfvideo.hpp
/usr/local/include/exiv2/basicio.hpp
/usr/local/include/exiv2/bmpimage.hpp
/usr/local/include/exiv2/config.h
/usr/local/include/exiv2/convert.hpp
/usr/local/include/exiv2/cr2image.hpp
/usr/local/include/exiv2/crwimage.hpp
/usr/local/include/exiv2/datasets.hpp
/usr/local/include/exiv2/easyaccess.hpp
/usr/local/include/exiv2/epsimage.hpp
/usr/local/include/exiv2/error.hpp
/usr/local/include/exiv2/exif.hpp
/usr/local/include/exiv2/exiv2.hpp
/usr/local/include/exiv2/exiv2lib_export.h
/usr/local/include/exiv2/exv_conf.h
/usr/local/include/exiv2/futils.hpp
/usr/local/include/exiv2/gifimage.hpp
/usr/local/include/exiv2/http.hpp
/usr/local/include/exiv2/image.hpp
/usr/local/include/exiv2/ini.hpp
/usr/local/include/exiv2/iptc.hpp
/usr/local/include/exiv2/jp2image.hpp
/usr/local/include/exiv2/jpgimage.hpp
/usr/local/include/exiv2/matroskavideo.hpp
/usr/local/include/exiv2/metadatum.hpp
/usr/local/include/exiv2/mrwimage.hpp
/usr/local/include/exiv2/orfimage.hpp
/usr/local/include/exiv2/pgfimage.hpp
/usr/local/include/exiv2/pngimage.hpp
/usr/local/include/exiv2/preview.hpp
/usr/local/include/exiv2/properties.hpp
/usr/local/include/exiv2/psdimage.hpp
/usr/local/include/exiv2/quicktimevideo.hpp
/usr/local/include/exiv2/rafimage.hpp
/usr/local/include/exiv2/riffvideo.hpp
/usr/local/include/exiv2/rw2image.hpp
/usr/local/include/exiv2/rwlock.hpp
/usr/local/include/exiv2/tags.hpp
/usr/local/include/exiv2/tgaimage.hpp
/usr/local/include/exiv2/tiffimage.hpp
/usr/local/include/exiv2/types.hpp
/usr/local/include/exiv2/utilsvideo.hpp
/usr/local/include/exiv2/value.hpp
/usr/local/include/exiv2/version.hpp
/usr/local/include/exiv2/webpimage.hpp
/usr/local/include/exiv2/xmp_exiv2.hpp
/usr/local/include/exiv2/xmpsidecar.hpp
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0
/usr/local/lib/pkgconfig/exiv2.lsm
/usr/local/lib/pkgconfig/exiv2.pc
/usr/local/share/exiv2
/usr/local/share/exiv2/cmake
/usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
/usr/local/share/exiv2/cmake/exiv2Config.cmake
/usr/local/share/man/man1/exiv2.1
/usr/local/share/man/man1/exiv2samples.1
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb

# it seems that the cmake install installed the lib in /usr/local instead. I'm not very familiar with cmake sorry, but

cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32



cd /opt/digikam/git/ && rm -rf build && ./bootstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


The bootstrap still find a 0.25 release, don't know why.
Seems a bit complicated for my few knowledges in this programming language :)

If you have an idea?

Cheers


Le mer. 12 sept. 2018 à 05:13, Andrey Goreev <[hidden email]> a écrit :

Or you could download digikam 5.9 rpm from either SUSE or Fedora repositories and try installing them in Ubuntu using alien command.

 

 

From: Andrey Goreev [mailto:[hidden email]]
Sent: September 11, 2018 11:05 AM
To: 'digiKam developers room - digiKam - Manage your photographs as a professional with the power of open source' <[hidden email]>
Subject: RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Have you solved this by chance?

I thought you could download exiv2 and libexiv 0.26 debs from Debian Experimental as a workaround.

Or try to compile to a .deb in a VM and then install them on the actual machine.

 

From: Digikam-devel [[hidden email]] On Behalf Of Matthieu
Sent: September 6, 2018 3:35 PM
To: [hidden email]
Subject: Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Thanks Gilles for helping me.

Unfortunatelly, no more success:

 

# go in the exiv2 lib source files

cd exiv2-trunk

# ensure that everything has been removed from the system lib

sudo apt-get install libexiv2-14

sudo apt-get remove --purge libexiv2*

# remove my previous install, not sure if it can usefull...

sudo make uninstall

sudo make install

# check if I don't have any remaining lib

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

# try recompile

cd /opt/digikam/git

sudo rm -rf Build

./bootlstrap.linux

 

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2*
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2*': Aucun fichier ou dossier de ce type

 

Any idea?

 

 

Le jeu. 6 sept. 2018 à 16:02, Gilles Caulier <[hidden email]> a écrit :

The order to process is wrong...

 

1/ uninstall system package

2/ install exiv2 manually

3/ reconfigure digiKam

4/ recompile digiKam

 

In other words, re-install Exiv2 again manually. 

 

Gilles Caulier

 

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

thanks for all your answers.

I installed the lib in /usr/local because I was thinking it was the best choice.

I added the video option in configuration because I was thinking it was usefull.

 

Following your answers, I've removed my previous installation with

sudo make uninstall

 

recompile the libexiv with the following options:

./configure --prefix=/usr --without-ssh --disable-static

 

build id

make

 

and install it

sudo make install

 

I've also removed all the packages from my distribution related to this lib:

sudo apt-get remove libexiv2*

 

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

 

then I tried to rebuild it:

cd /opt/digikam/git && rm -rf build && ./bootstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

 

Any idea?

 

Kind regards

 

Mat

 

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :

Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

 

My Exiv2 options to compile the AppImage bundle :

 

 

Gilles Caulier

 

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:

Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

 

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:

Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

 

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

 

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.

Thanks,

Andrey

 

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:

 

 

2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?

Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so

/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*

-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

 

Remove the "build" sub directory as well. This will clean the cmake cache.

  

- is there a specific location to specify to load the local libs?

 

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

 

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

 

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.

 

- did I miss something when building libexiv2?

 

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

 

Best

 

Gilles Caulier 

 

Thanks for your help

 

Mat

 

 

--

Best regards,

--

Best regards,

 

 

Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Gilles Caulier-4
yes i have an idea :

==> /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

This one is obsolete and a dupplicate file from KDE. We have one updated in digiKam source code.

I suspect that KDE one is taken in first instead digikam one.

In ALL case : never install KDE4LibSupport KDE component. It for compatibility for older KF5 framework not ported to pure Qt5 API.

The port is mostly done everywhere and digiKam is ported to pure Qt5 since... 5.0.0.

So it's urgent to drop definitively the compatibility package everywhere. It's a source of dysfunctions.

Another remark. Why do you store these temporary files on your computer :

/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp


There are nothing to do in your computer, and i don't know how this files have to be installed here.

Best

Gilles Caulier

2018-09-15 6:23 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

Sorry for this late answer, I''ve been busy.
No, I didn't solve it. So I've tried with the 0.27 from their git repository instead.

Here's the output:

# from my previous build folder
sudo make uninstall
...
sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2json
/usr/local/lib/libexiv2.a
/usr/local/lib/pkgconfig/exiv2.lsm
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb



git clone https://github.com/Exiv2/exiv2.git && cd exiv2

cmake .

-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Found Intl: /usr/include 
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so 
-- ICONV_INCLUDE_DIR :
-- ICONV_LIBRARIES : /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for munmap
-- Looking for munmap - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for process.h
-- Looking for process.h - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Install prefix:    /usr/local
-- ------------------------------------------------------------------
-- CMake Generator:   Unix Makefiles
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
--  --- Compiler flags ---
-- General:            -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
-- Extra:             
-- Debug:             -g3 -gstrict-dwarf -O0
-- Release:           -O3 -DNDEBUG
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
--  --- Linker flags ---
-- General:          
-- Debug:            
-- Release:          
-- RelWithDebInfo:   
-- MinSizeRel:       
--
-- Compiler Options
-- Warnings as errors:                 NO
-- Use extra compiler warning flags:   NO
--
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
-- ------------------------------------------------------------------
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Building video support:             NO
-- Building webready support:          NO
-- Building exiv2 command:             YES
-- Building samples:                   YES
-- Building PO files:                  NO
-- Building unit tests:                NO
-- Building doc:                       NO
-- Building with coverage flags:       NO
-- Using ccache:                       NO
-- ------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/foo/Download/softs/exiv2


make -j

Scanning dependencies of target exiv2lib_int
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XML_Node.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils-FileInfo.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Serialize.cpp.o
[  1%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils.cpp.o
[  2%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPCore_Impl.cpp.o
[  3%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Parse.cpp.o
[  4%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPUtils.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPMeta.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPIterator.cpp.o
[  6%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-GetSet.cpp.o
[  7%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta.cpp.o
[  7%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/nikonmn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/rw2image_int.cpp.o
[  8%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/samsungmn_int.cpp.o
[  9%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/panasonicmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/olympusmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/orfimage_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/casiomn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sigmamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/minoltamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/cr2header_int.cpp.o
[ 16%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/fujimn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/crwimage_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffvisitor_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pentaxmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/makernote_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffcomposite_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pngchunk_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffimage_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tags_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sonymn_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/helper_functions.cpp.o
[ 22%] Linking CXX static library ../lib/libxmp.a
[ 25%] Built target xmp
[ 25%] Built target exiv2lib_int
Scanning dependencies of target exiv2lib
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/convert.cpp.o
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/bmpimage.cpp.o
[ 27%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/bigtiffimage.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/basicio.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/image.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/rw2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/crwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/gifimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/types.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/preview.cpp.o
[ 36%] Building CXX object src/CMakeFiles/exiv2lib.dir/orfimage.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/futils.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/matroskavideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/utilsvideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/cr2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/quicktimevideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/rafimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/http.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/exif.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/error.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/easyaccess.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/mrwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/metadatum.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/iptc.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/value.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/ini.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/tgaimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/pgfimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/properties.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/psdimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/datasets.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/jpgimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/version.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/epsimage.cpp.o
[ 48%] Building CXX object src/CMakeFiles/exiv2lib.dir/tiffimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/pngimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/riffvideo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/tags.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmpsidecar.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/webpimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/jp2image.cpp.o
[ 51%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmp.cpp.o
[ 51%] Linking CXX shared library ../lib/libexiv2.so
[ 51%] Built target exiv2lib
Scanning dependencies of target write-test
Scanning dependencies of target iptctest
Scanning dependencies of target largeiptc-test
Scanning dependencies of target convert-test
Scanning dependencies of target werror-test
Scanning dependencies of target remotetest
Scanning dependencies of target tiff-test
Scanning dependencies of target iptcprint
Scanning dependencies of target mmap-test
Scanning dependencies of target easyaccess-test
Scanning dependencies of target xmpprint
Scanning dependencies of target exifdata-test
Scanning dependencies of target xmpparse
Scanning dependencies of target ini-test
Scanning dependencies of target exifvalue
Scanning dependencies of target xmpparser-test
Scanning dependencies of target key-test
Scanning dependencies of target iotest
Scanning dependencies of target write2-test
Scanning dependencies of target conntest
Scanning dependencies of target prevtest
Scanning dependencies of target mrwthumb
Scanning dependencies of target exifdata
Scanning dependencies of target metacopy
Scanning dependencies of target addmoddel
Scanning dependencies of target stringto-test
Scanning dependencies of target geotag
Scanning dependencies of target pathtest
Scanning dependencies of target taglist
Scanning dependencies of target xmpsample
Scanning dependencies of target exifprint
Scanning dependencies of target getopt-test
Scanning dependencies of target exiv2
Scanning dependencies of target exifcomment
Scanning dependencies of target xmpdump
Scanning dependencies of target exiv2json
Scanning dependencies of target iptceasy
[ 52%] Building CXX object samples/CMakeFiles/ini-test.dir/ini-test.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/iptctest.dir/iptctest.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/convert-test.dir/convert-test.cpp.o
[ 54%] Building CXX object samples/CMakeFiles/prevtest.dir/prevtest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write2-test.dir/write2-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/geotag.dir/geotag.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write-test.dir/write-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/largeiptc-test.dir/largeiptc-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpdump.dir/xmpdump.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifvalue.dir/exifvalue.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/mrwthumb.dir/mrwthumb.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/werror-test.dir/werror-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/key-test.dir/key-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/utils.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/conntest.dir/conntest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/taglist.dir/taglist.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpsample.dir/xmpsample.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/addmoddel.dir/addmoddel.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/getopt-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifprint.dir/exifprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifdata-test.dir/exifdata-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/iptcprint.dir/iptcprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/remotetest.dir/remotetest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpparse.dir/xmpparse.cpp.o
[ 64%] Building CXX object samples/CMakeFiles/xmpprint.dir/xmpprint.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/exifdata.dir/exifdata.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/xmpparser-test.dir/xmpparser-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/stringto-test.dir/stringto-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/tiff-test.dir/tiff-test.cpp.o
[ 68%] Building CXX object samples/CMakeFiles/exifcomment.dir/exifcomment.cpp.o
[ 69%] Building CXX object samples/CMakeFiles/easyaccess-test.dir/easyaccess-test.cpp.o
[ 70%] Building CXX object samples/CMakeFiles/iotest.dir/iotest.cpp.o
[ 71%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/getopt.cpp.o
[ 72%] Building CXX object samples/CMakeFiles/mmap-test.dir/mmap-test.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/exiv2json.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/Jzon.cpp.o
[ 75%] Building CXX object src/CMakeFiles/exiv2.dir/utils.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/actions.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/getopt.cpp.o
[ 75%] Building CXX object samples/CMakeFiles/pathtest.dir/path-test.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/metacopy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/iptceasy.dir/iptceasy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/getopt.cpp.o
[ 79%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/utils.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/utils.cpp.o
[ 78%] Building CXX object src/CMakeFiles/exiv2.dir/exiv2.cpp.o
[ 78%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/getopt.cpp.o
[ 79%] Linking CXX executable ../bin/ini-test
[ 79%] Built target ini-test
[ 80%] Linking CXX executable ../bin/xmpdump
[ 80%] Linking CXX executable ../bin/exifcomment
[ 80%] Linking CXX executable ../bin/exifvalue
[ 82%] Linking CXX executable ../bin/taglist
[ 82%] Linking CXX executable ../bin/convert-test
[ 82%] Linking CXX executable ../bin/stringto-test
[ 83%] Linking CXX executable ../bin/largeiptc-test
[ 83%] Linking CXX executable ../bin/getopt-test
[ 84%] Linking CXX executable ../bin/xmpparse
[ 85%] Linking CXX executable ../bin/path-test
[ 85%] Linking CXX executable ../bin/key-test
[ 86%] Linking CXX executable ../bin/werror-test
[ 86%] Linking CXX executable ../bin/mmap-test
[ 87%] Linking CXX executable ../bin/iotest
[ 87%] Linking CXX executable ../bin/mrwthumb
[ 87%] Linking CXX executable ../bin/easyaccess-test
[ 87%] Linking CXX executable ../bin/xmpprint
[ 88%] Linking CXX executable ../bin/prevtest
[ 88%] Linking CXX executable ../bin/remotetest
[ 89%] Linking CXX executable ../bin/metacopy
[ 90%] Linking CXX executable ../bin/iptcprint
[ 90%] Linking CXX executable ../bin/xmpparser-test
[ 91%] Linking CXX executable ../bin/exifprint
[ 92%] Linking CXX executable ../bin/iptceasy
[ 93%] Linking CXX executable ../bin/conntest
[ 93%] Linking CXX executable ../bin/iptctest
[ 94%] Linking CXX executable ../bin/tiff-test
[ 94%] Linking CXX executable ../bin/write-test
[ 94%] Built target werror-test
[ 94%] Built target xmpdump
[ 94%] Built target taglist
[ 94%] Built target exifvalue
[ 94%] Built target exifcomment
[ 94%] Built target xmpparse
[ 95%] Linking CXX executable ../bin/exifdata-test
[ 95%] Built target largeiptc-test
[ 95%] Built target pathtest
[ 95%] Built target getopt-test
[ 95%] Built target stringto-test
[ 95%] Built target convert-test
[ 95%] Built target iotest
[ 95%] Built target key-test
[ 96%] Linking CXX executable ../bin/addmoddel
[ 96%] Built target mmap-test
[ 96%] Built target easyaccess-test
[ 97%] Linking CXX executable ../bin/exifdata
[ 97%] Built target mrwthumb
[ 97%] Built target prevtest
[ 98%] Linking CXX executable ../bin/xmpsample
[ 98%] Linking CXX executable ../bin/write2-test
[ 98%] Built target xmpprint
[ 98%] Built target metacopy
[ 98%] Built target iptceasy
[ 98%] Built target iptctest
[ 98%] Built target xmpparser-test
[ 98%] Built target tiff-test
[ 98%] Built target exifprint
[ 98%] Built target remotetest
[ 98%] Built target conntest
[ 98%] Built target iptcprint
[ 98%] Built target write-test
[ 98%] Built target exifdata-test
[ 98%] Built target exifdata
[ 98%] Built target write2-test
[ 98%] Built target addmoddel
[ 98%] Built target xmpsample
[ 99%] Linking CXX executable ../bin/geotag
[ 99%] Built target geotag
[100%] Linking CXX executable ../bin/exiv2json
[100%] Built target exiv2json
[100%] Linking CXX executable ../bin/exiv2
[100%] Built target exiv2


sudo make install

[ 11%] Built target xmp
[ 25%] Built target exiv2lib_int
[ 51%] Built target exiv2lib
[ 54%] Built target exiv2
[ 55%] Built target mmap-test
[ 56%] Built target iptctest
[ 57%] Built target key-test
[ 58%] Built target easyaccess-test
[ 59%] Built target remotetest
[ 60%] Built target iptcprint
[ 61%] Built target werror-test
[ 62%] Built target write2-test
[ 63%] Built target xmpparser-test
[ 64%] Built target conntest
[ 65%] Built target iptceasy
[ 66%] Built target ini-test
[ 67%] Built target exifvalue
[ 68%] Built target exifprint
[ 69%] Built target exifdata-test
[ 71%] Built target largeiptc-test
[ 72%] Built target xmpparse
[ 73%] Built target convert-test
[ 74%] Built target addmoddel
[ 75%] Built target xmpprint
[ 76%] Built target exifcomment
[ 77%] Built target mrwthumb
[ 79%] Built target exifdata
[ 80%] Built target prevtest
[ 82%] Built target metacopy
[ 83%] Built target stringto-test
[ 85%] Built target taglist
[ 86%] Built target tiff-test
[ 88%] Built target exiv2json
[ 89%] Built target write-test
[ 91%] Built target iotest
[ 93%] Built target xmpsample
[ 95%] Built target getopt-test
[ 96%] Built target xmpdump
[ 99%] Built target pathtest
[100%] Built target geotag
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/pkgconfig/exiv2.pc
-- Installing: /usr/local/lib/libxmp.a
-- Installing: /usr/local/lib/libexiv2.so.0.27.0.0
-- Installing: /usr/local/lib/libexiv2.so.0
-- Installing: /usr/local/lib/libexiv2.so
-- Set runtime path of "/usr/local/lib/libexiv2.so.0.27.0.0" to "$ORIGIN/../lib"
-- Installing: /usr/local/include/exiv2/asfvideo.hpp
-- Installing: /usr/local/include/exiv2/basicio.hpp
-- Installing: /usr/local/include/exiv2/bmpimage.hpp
-- Installing: /usr/local/include/exiv2/config.h
-- Installing: /usr/local/include/exiv2/convert.hpp
-- Installing: /usr/local/include/exiv2/cr2image.hpp
-- Installing: /usr/local/include/exiv2/crwimage.hpp
-- Installing: /usr/local/include/exiv2/datasets.hpp
-- Installing: /usr/local/include/exiv2/easyaccess.hpp
-- Installing: /usr/local/include/exiv2/epsimage.hpp
-- Installing: /usr/local/include/exiv2/error.hpp
-- Installing: /usr/local/include/exiv2/exif.hpp
-- Installing: /usr/local/include/exiv2/exiv2.hpp
-- Installing: /usr/local/include/exiv2/futils.hpp
-- Installing: /usr/local/include/exiv2/gifimage.hpp
-- Installing: /usr/local/include/exiv2/http.hpp
-- Installing: /usr/local/include/exiv2/image.hpp
-- Installing: /usr/local/include/exiv2/ini.hpp
-- Installing: /usr/local/include/exiv2/iptc.hpp
-- Installing: /usr/local/include/exiv2/jp2image.hpp
-- Installing: /usr/local/include/exiv2/jpgimage.hpp
-- Installing: /usr/local/include/exiv2/matroskavideo.hpp
-- Installing: /usr/local/include/exiv2/metadatum.hpp
-- Installing: /usr/local/include/exiv2/mrwimage.hpp
-- Installing: /usr/local/include/exiv2/orfimage.hpp
-- Installing: /usr/local/include/exiv2/pgfimage.hpp
-- Installing: /usr/local/include/exiv2/preview.hpp
-- Installing: /usr/local/include/exiv2/properties.hpp
-- Installing: /usr/local/include/exiv2/psdimage.hpp
-- Installing: /usr/local/include/exiv2/quicktimevideo.hpp
-- Installing: /usr/local/include/exiv2/rafimage.hpp
-- Installing: /usr/local/include/exiv2/riffvideo.hpp
-- Installing: /usr/local/include/exiv2/rw2image.hpp
-- Installing: /usr/local/include/exiv2/rwlock.hpp
-- Installing: /usr/local/include/exiv2/tags.hpp
-- Installing: /usr/local/include/exiv2/tgaimage.hpp
-- Installing: /usr/local/include/exiv2/tiffimage.hpp
-- Installing: /usr/local/include/exiv2/types.hpp
-- Installing: /usr/local/include/exiv2/utilsvideo.hpp
-- Installing: /usr/local/include/exiv2/value.hpp
-- Installing: /usr/local/include/exiv2/version.hpp
-- Installing: /usr/local/include/exiv2/webpimage.hpp
-- Installing: /usr/local/include/exiv2/xmp_exiv2.hpp
-- Installing: /usr/local/include/exiv2/xmpsidecar.hpp
-- Installing: /usr/local/include/exiv2/exv_conf.h
-- Installing: /usr/local/include/exiv2/exiv2lib_export.h
-- Installing: /usr/local/include/exiv2/pngimage.hpp
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config.cmake
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
-- Installing: /usr/local/bin/exiv2
-- Set runtime path of "/usr/local/bin/exiv2" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2.1
-- Installing: /usr/local/bin/addmoddel
-- Set runtime path of "/usr/local/bin/addmoddel" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/convert-test
-- Set runtime path of "/usr/local/bin/convert-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/easyaccess-test
-- Set runtime path of "/usr/local/bin/easyaccess-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifcomment
-- Set runtime path of "/usr/local/bin/exifcomment" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata-test
-- Set runtime path of "/usr/local/bin/exifdata-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata
-- Set runtime path of "/usr/local/bin/exifdata" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifprint
-- Set runtime path of "/usr/local/bin/exifprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifvalue
-- Set runtime path of "/usr/local/bin/exifvalue" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/ini-test
-- Set runtime path of "/usr/local/bin/ini-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iotest
-- Set runtime path of "/usr/local/bin/iotest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptceasy
-- Set runtime path of "/usr/local/bin/iptceasy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptcprint
-- Set runtime path of "/usr/local/bin/iptcprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptctest
-- Set runtime path of "/usr/local/bin/iptctest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/key-test
-- Set runtime path of "/usr/local/bin/key-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/largeiptc-test
-- Set runtime path of "/usr/local/bin/largeiptc-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mmap-test
-- Set runtime path of "/usr/local/bin/mmap-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mrwthumb
-- Set runtime path of "/usr/local/bin/mrwthumb" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/prevtest
-- Set runtime path of "/usr/local/bin/prevtest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/stringto-test
-- Set runtime path of "/usr/local/bin/stringto-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/taglist
-- Set runtime path of "/usr/local/bin/taglist" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/tiff-test
-- Set runtime path of "/usr/local/bin/tiff-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/werror-test
-- Set runtime path of "/usr/local/bin/werror-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write-test
-- Set runtime path of "/usr/local/bin/write-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write2-test
-- Set runtime path of "/usr/local/bin/write2-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparse
-- Set runtime path of "/usr/local/bin/xmpparse" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparser-test
-- Set runtime path of "/usr/local/bin/xmpparser-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpprint
-- Set runtime path of "/usr/local/bin/xmpprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpsample
-- Set runtime path of "/usr/local/bin/xmpsample" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpdump
-- Set runtime path of "/usr/local/bin/xmpdump" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/metacopy
-- Set runtime path of "/usr/local/bin/metacopy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/path-test
-- Set runtime path of "/usr/local/bin/path-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exiv2json
-- Set runtime path of "/usr/local/bin/exiv2json" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/geotag
-- Set runtime path of "/usr/local/bin/geotag" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2samples.1


sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2
/usr/local/bin/exiv2json
/usr/local/include/exiv2
/usr/local/include/exiv2/asfvideo.hpp
/usr/local/include/exiv2/basicio.hpp
/usr/local/include/exiv2/bmpimage.hpp
/usr/local/include/exiv2/config.h
/usr/local/include/exiv2/convert.hpp
/usr/local/include/exiv2/cr2image.hpp
/usr/local/include/exiv2/crwimage.hpp
/usr/local/include/exiv2/datasets.hpp
/usr/local/include/exiv2/easyaccess.hpp
/usr/local/include/exiv2/epsimage.hpp
/usr/local/include/exiv2/error.hpp
/usr/local/include/exiv2/exif.hpp
/usr/local/include/exiv2/exiv2.hpp
/usr/local/include/exiv2/exiv2lib_export.h
/usr/local/include/exiv2/exv_conf.h
/usr/local/include/exiv2/futils.hpp
/usr/local/include/exiv2/gifimage.hpp
/usr/local/include/exiv2/http.hpp
/usr/local/include/exiv2/image.hpp
/usr/local/include/exiv2/ini.hpp
/usr/local/include/exiv2/iptc.hpp
/usr/local/include/exiv2/jp2image.hpp
/usr/local/include/exiv2/jpgimage.hpp
/usr/local/include/exiv2/matroskavideo.hpp
/usr/local/include/exiv2/metadatum.hpp
/usr/local/include/exiv2/mrwimage.hpp
/usr/local/include/exiv2/orfimage.hpp
/usr/local/include/exiv2/pgfimage.hpp
/usr/local/include/exiv2/pngimage.hpp
/usr/local/include/exiv2/preview.hpp
/usr/local/include/exiv2/properties.hpp
/usr/local/include/exiv2/psdimage.hpp
/usr/local/include/exiv2/quicktimevideo.hpp
/usr/local/include/exiv2/rafimage.hpp
/usr/local/include/exiv2/riffvideo.hpp
/usr/local/include/exiv2/rw2image.hpp
/usr/local/include/exiv2/rwlock.hpp
/usr/local/include/exiv2/tags.hpp
/usr/local/include/exiv2/tgaimage.hpp
/usr/local/include/exiv2/tiffimage.hpp
/usr/local/include/exiv2/types.hpp
/usr/local/include/exiv2/utilsvideo.hpp
/usr/local/include/exiv2/value.hpp
/usr/local/include/exiv2/version.hpp
/usr/local/include/exiv2/webpimage.hpp
/usr/local/include/exiv2/xmp_exiv2.hpp
/usr/local/include/exiv2/xmpsidecar.hpp
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0
/usr/local/lib/pkgconfig/exiv2.lsm
/usr/local/lib/pkgconfig/exiv2.pc
/usr/local/share/exiv2
/usr/local/share/exiv2/cmake
/usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
/usr/local/share/exiv2/cmake/exiv2Config.cmake
/usr/local/share/man/man1/exiv2.1
/usr/local/share/man/man1/exiv2samples.1
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb

# it seems that the cmake install installed the lib in /usr/local instead. I'm not very familiar with cmake sorry, but

cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32



cd /opt/digikam/git/ && rm -rf build && ./bootstrap.linux


Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


The bootstrap still find a 0.25 release, don't know why.
Seems a bit complicated for my few knowledges in this programming language :)

If you have an idea?

Cheers


Le mer. 12 sept. 2018 à 05:13, Andrey Goreev <[hidden email]> a écrit :

Or you could download digikam 5.9 rpm from either SUSE or Fedora repositories and try installing them in Ubuntu using alien command.

 

 

From: Andrey Goreev [mailto:[hidden email]]
Sent: September 11, 2018 11:05 AM
To: 'digiKam developers room - digiKam - Manage your photographs as a professional with the power of open source' <[hidden email]>
Subject: RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Have you solved this by chance?

I thought you could download exiv2 and libexiv 0.26 debs from Debian Experimental as a workaround.

Or try to compile to a .deb in a VM and then install them on the actual machine.

 

From: Digikam-devel [[hidden email]] On Behalf Of Matthieu
Sent: September 6, 2018 3:35 PM
To: [hidden email]
Subject: Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Thanks Gilles for helping me.

Unfortunatelly, no more success:

 

# go in the exiv2 lib source files

cd exiv2-trunk

# ensure that everything has been removed from the system lib

sudo apt-get install libexiv2-14

sudo apt-get remove --purge libexiv2*

# remove my previous install, not sure if it can usefull...

sudo make uninstall

sudo make install

# check if I don't have any remaining lib

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

# try recompile

cd /opt/digikam/git

sudo rm -rf Build

./bootlstrap.linux

 

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2*
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2*': Aucun fichier ou dossier de ce type

 

Any idea?

 

 

Le jeu. 6 sept. 2018 à 16:02, Gilles Caulier <[hidden email]> a écrit :

The order to process is wrong...

 

1/ uninstall system package

2/ install exiv2 manually

3/ reconfigure digiKam

4/ recompile digiKam

 

In other words, re-install Exiv2 again manually. 

 

Gilles Caulier

 

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

thanks for all your answers.

I installed the lib in /usr/local because I was thinking it was the best choice.

I added the video option in configuration because I was thinking it was usefull.

 

Following your answers, I've removed my previous installation with

sudo make uninstall

 

recompile the libexiv with the following options:

./configure --prefix=/usr --without-ssh --disable-static

 

build id

make

 

and install it

sudo make install

 

I've also removed all the packages from my distribution related to this lib:

sudo apt-get remove libexiv2*

 

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

 

then I tried to rebuild it:

cd /opt/digikam/git && rm -rf build && ./bootstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

 

Any idea?

 

Kind regards

 

Mat

 

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :

Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

 

My Exiv2 options to compile the AppImage bundle :

 

 

Gilles Caulier

 

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:

Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

 

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:

Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

 

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

 

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.

Thanks,

Andrey

 

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:

 

 

2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?

Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so

/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*

-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

 

Remove the "build" sub directory as well. This will clean the cmake cache.

  

- is there a specific location to specify to load the local libs?

 

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

 

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

 

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.

 

- did I miss something when building libexiv2?

 

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

 

Best

 

Gilles Caulier 

 

Thanks for your help

 

Mat

 

 

--

Best regards,

--

Best regards,

 

 


Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Matthieu
Hello list,

I still have some issues.
Following your previous answer, I've tried just to move the /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake as /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak to view the expected output.

Nothing went better: the output was still finding a 0.25 release, but I've only the 0.27 release.

So I've looked for some cache issue in my build folder:
- remove the build folder does not bring some improvement.
- I got a different output after moving the CMakeCache file as

mv CMakeCache.txt CMakeCache.txt.ba

Now, it seems that the bootstrap linux found the appropriate library, but is unable to parse the release number:

so:

sudo mv /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake && ls /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

cd /opt/digikam/git && git status
Sur la branche master
Votre branche est à jour avec 'origin/master'.

Fichiers non suivis:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt.bak
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh

aucune modification ajoutée à la validation mais des fichiers non suivis sont présents (utilisez "git add" pour les suivre)

git pull
remote: Counting objects: 114, done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 114 (delta 89), reused 0 (delta 0)
Réception d'objets: 100% (114/114), 12.04 KiB | 4.01 MiB/s, fait.
Résolution des deltas: 100% (89/89), complété avec 29 objets locaux.
Depuis git://anongit.kde.org/digikam
   4c81521377..7a875c18f5  master     -> origin/master
Mise à jour 4c81521377..7a875c18f5
Fast-forward
 core/libs/album/albummanager_p.h                                 |   5 ++
 core/libs/database/collection/collectionscanner.cpp              | 135 ++++++++++++++++++++---------------------------
 core/libs/database/collection/collectionscanner.h                |   3 --
 core/tests/fileio/statesavingobjecttest.cpp                      |  51 +++++++++---------
 core/tests/fileio/statesavingobjecttest.h                        |   3 +-
 core/tests/geolocation/geoiface/test_itemmarkertiler.cpp         | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++------------------
 core/tests/imgqsort/detectblur/CMakeLists.txt                    |   1 +
 core/tests/imgqsort/detectblur/detectblur.cpp                    |  43 +++++++--------
 core/tests/imgqsort/detectcompression/detectcompression.cpp      |  79 ++++++++++++++--------------
 core/tests/imgqsort/detectnoise/detectnoise.cpp                  |  16 +++---
 core/tests/imgqsort/testimages/createtestcases.sh                |  63 +++++++++++-----------
 core/utilities/assistants/htmlgallery/generator/gallerytheme.cpp |  20 +++----
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.cpp   |   5 +-
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.h     |   4 +-
 14 files changed, 348 insertions(+), 273 deletions(-)
 mode change 100644 => 100755 core/tests/imgqsort/testimages/createtestcases.sh
La branche courante master est à jour.

rm -rf && ls CMakeCache.txt*
CMakeCache.txt.bak

./bootstrap.linux
Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.44.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0")
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.44.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.44.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.44.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0")
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  XmlGui CoreAddons Config Service WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0")
-- Found KF5FileMetaData: /usr/lib/x86_64-linux-gnu/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.44.0")
-- Found KF5ThreadWeaver: /usr/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.44.0")
-- Found KF5NotifyConfig: /usr/lib/x86_64-linux-gnu/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.44.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.44.0")
-- Found KF5AkonadiContact: /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.7.3")
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: /usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found version "5.7.3")
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Boost version: 1.65.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Could NOT find Exiv2: Found unsuitable version "..", but required is at least "0.26" (found /usr/local/lib/libexiv2.so)
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   No package 'libavdevice' found
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so 
-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV: /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so 
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- Media player support is enabled.
-- First try at finding OpenCV...
-- Found OpenCV: /usr (found version "3.2.0") found components:  core objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
-- Found Marble: /usr/include 
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Checking for module 'lqr-1'
--   Found lqr-1, version 0.4.2
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so 
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Failed
-- Found Lqr-1: /usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-- Found Gphoto2: /usr/lib/x86_64-linux-gnu/libgphoto2.so 
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:564 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:621 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/build/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/build/CMakeFiles/CMakeError.log".

sudo updatedb && locate libexiv
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0

readelf -d /usr/local/lib/libexiv2.so

La section dynamique à l'offset 0x35aa20 contient 33 entrées :
  Étiquettes Type                         Nom/Valeur
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libz.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libm.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libc.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libgcc_s.so.1]
 0x000000000000000e (SONAME)             Bibliothèque soname: [libexiv2.so.0]
 0x000000000000001d (RUNPATH)            Bibliothèque runpath:[$ORIGIN/../lib]
 0x000000000000000c (INIT)               0xd11b8
 0x000000000000000d (FINI)               0x256be0
 0x0000000000000019 (INIT_ARRAY)         0x52a600
 0x000000000000001b (INIT_ARRAYSZ)       472 (octets)
 0x000000000000001a (FINI_ARRAY)         0x52a7d8
 0x000000000000001c (FINI_ARRAYSZ)       8 (octets)
 0x000000006ffffef5 (GNU_HASH)           0x1f0
 0x0000000000000005 (STRTAB)             0x1f768
 0x0000000000000006 (SYMTAB)             0x6ee0
 0x000000000000000a (STRSZ)              255697 (octets)
 0x000000000000000b (SYMENT)             24 (octets)
 0x0000000000000003 (PLTGOT)             0x55b000
 0x0000000000000002 (PLTRELSZ)           68952 (octets)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0xc0460
 0x0000000000000007 (RELA)               0x60040
 0x0000000000000008 (RELASZ)             394272 (octets)
 0x0000000000000009 (RELAENT)            24 (octets)
 0x000000006ffffffe (VERNEED)            0x5fef0
 0x000000006fffffff (VERNEEDNUM)         6
 0x000000006ffffff0 (VERSYM)             0x5de3a
 0x000000006ffffff9 (RELACOUNT)          14838
 0x0000000000000000 (NULL)               0x0

Any Ideas?

Regards

Mat

Le sam. 15 sept. 2018 à 17:53, Gilles Caulier <[hidden email]> a écrit :
yes i have an idea :

==> /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

This one is obsolete and a dupplicate file from KDE. We have one updated in digiKam source code.

I suspect that KDE one is taken in first instead digikam one.

In ALL case : never install KDE4LibSupport KDE component. It for compatibility for older KF5 framework not ported to pure Qt5 API.

The port is mostly done everywhere and digiKam is ported to pure Qt5 since... 5.0.0.

So it's urgent to drop definitively the compatibility package everywhere. It's a source of dysfunctions.

Another remark. Why do you store these temporary files on your computer :

/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp


There are nothing to do in your computer, and i don't know how this files have to be installed here.

Best

Gilles Caulier

2018-09-15 6:23 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

Sorry for this late answer, I''ve been busy.
No, I didn't solve it. So I've tried with the 0.27 from their git repository instead.

Here's the output:

# from my previous build folder
sudo make uninstall
...
sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2json
/usr/local/lib/libexiv2.a
/usr/local/lib/pkgconfig/exiv2.lsm
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb



git clone https://github.com/Exiv2/exiv2.git && cd exiv2

cmake .

-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Found Intl: /usr/include 
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so 
-- ICONV_INCLUDE_DIR :
-- ICONV_LIBRARIES : /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for munmap
-- Looking for munmap - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for process.h
-- Looking for process.h - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Install prefix:    /usr/local
-- ------------------------------------------------------------------
-- CMake Generator:   Unix Makefiles
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
--  --- Compiler flags ---
-- General:            -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
-- Extra:             
-- Debug:             -g3 -gstrict-dwarf -O0
-- Release:           -O3 -DNDEBUG
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
--  --- Linker flags ---
-- General:          
-- Debug:            
-- Release:          
-- RelWithDebInfo:   
-- MinSizeRel:       
--
-- Compiler Options
-- Warnings as errors:                 NO
-- Use extra compiler warning flags:   NO
--
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
-- ------------------------------------------------------------------
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Building video support:             NO
-- Building webready support:          NO
-- Building exiv2 command:             YES
-- Building samples:                   YES
-- Building PO files:                  NO
-- Building unit tests:                NO
-- Building doc:                       NO
-- Building with coverage flags:       NO
-- Using ccache:                       NO
-- ------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/foo/Download/softs/exiv2


make -j

Scanning dependencies of target exiv2lib_int
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XML_Node.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils-FileInfo.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Serialize.cpp.o
[  1%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils.cpp.o
[  2%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPCore_Impl.cpp.o
[  3%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Parse.cpp.o
[  4%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPUtils.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPMeta.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPIterator.cpp.o
[  6%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-GetSet.cpp.o
[  7%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta.cpp.o
[  7%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/nikonmn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/rw2image_int.cpp.o
[  8%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/samsungmn_int.cpp.o
[  9%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/panasonicmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/olympusmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/orfimage_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/casiomn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sigmamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/minoltamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/cr2header_int.cpp.o
[ 16%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/fujimn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/crwimage_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffvisitor_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pentaxmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/makernote_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffcomposite_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pngchunk_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffimage_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tags_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sonymn_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/helper_functions.cpp.o
[ 22%] Linking CXX static library ../lib/libxmp.a
[ 25%] Built target xmp
[ 25%] Built target exiv2lib_int
Scanning dependencies of target exiv2lib
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/convert.cpp.o
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/bmpimage.cpp.o
[ 27%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/bigtiffimage.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/basicio.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/image.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/rw2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/crwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/gifimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/types.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/preview.cpp.o
[ 36%] Building CXX object src/CMakeFiles/exiv2lib.dir/orfimage.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/futils.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/matroskavideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/utilsvideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/cr2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/quicktimevideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/rafimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/http.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/exif.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/error.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/easyaccess.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/mrwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/metadatum.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/iptc.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/value.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/ini.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/tgaimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/pgfimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/properties.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/psdimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/datasets.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/jpgimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/version.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/epsimage.cpp.o
[ 48%] Building CXX object src/CMakeFiles/exiv2lib.dir/tiffimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/pngimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/riffvideo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/tags.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmpsidecar.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/webpimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/jp2image.cpp.o
[ 51%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmp.cpp.o
[ 51%] Linking CXX shared library ../lib/libexiv2.so
[ 51%] Built target exiv2lib
Scanning dependencies of target write-test
Scanning dependencies of target iptctest
Scanning dependencies of target largeiptc-test
Scanning dependencies of target convert-test
Scanning dependencies of target werror-test
Scanning dependencies of target remotetest
Scanning dependencies of target tiff-test
Scanning dependencies of target iptcprint
Scanning dependencies of target mmap-test
Scanning dependencies of target easyaccess-test
Scanning dependencies of target xmpprint
Scanning dependencies of target exifdata-test
Scanning dependencies of target xmpparse
Scanning dependencies of target ini-test
Scanning dependencies of target exifvalue
Scanning dependencies of target xmpparser-test
Scanning dependencies of target key-test
Scanning dependencies of target iotest
Scanning dependencies of target write2-test
Scanning dependencies of target conntest
Scanning dependencies of target prevtest
Scanning dependencies of target mrwthumb
Scanning dependencies of target exifdata
Scanning dependencies of target metacopy
Scanning dependencies of target addmoddel
Scanning dependencies of target stringto-test
Scanning dependencies of target geotag
Scanning dependencies of target pathtest
Scanning dependencies of target taglist
Scanning dependencies of target xmpsample
Scanning dependencies of target exifprint
Scanning dependencies of target getopt-test
Scanning dependencies of target exiv2
Scanning dependencies of target exifcomment
Scanning dependencies of target xmpdump
Scanning dependencies of target exiv2json
Scanning dependencies of target iptceasy
[ 52%] Building CXX object samples/CMakeFiles/ini-test.dir/ini-test.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/iptctest.dir/iptctest.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/convert-test.dir/convert-test.cpp.o
[ 54%] Building CXX object samples/CMakeFiles/prevtest.dir/prevtest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write2-test.dir/write2-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/geotag.dir/geotag.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write-test.dir/write-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/largeiptc-test.dir/largeiptc-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpdump.dir/xmpdump.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifvalue.dir/exifvalue.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/mrwthumb.dir/mrwthumb.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/werror-test.dir/werror-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/key-test.dir/key-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/utils.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/conntest.dir/conntest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/taglist.dir/taglist.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpsample.dir/xmpsample.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/addmoddel.dir/addmoddel.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/getopt-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifprint.dir/exifprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifdata-test.dir/exifdata-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/iptcprint.dir/iptcprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/remotetest.dir/remotetest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpparse.dir/xmpparse.cpp.o
[ 64%] Building CXX object samples/CMakeFiles/xmpprint.dir/xmpprint.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/exifdata.dir/exifdata.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/xmpparser-test.dir/xmpparser-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/stringto-test.dir/stringto-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/tiff-test.dir/tiff-test.cpp.o
[ 68%] Building CXX object samples/CMakeFiles/exifcomment.dir/exifcomment.cpp.o
[ 69%] Building CXX object samples/CMakeFiles/easyaccess-test.dir/easyaccess-test.cpp.o
[ 70%] Building CXX object samples/CMakeFiles/iotest.dir/iotest.cpp.o
[ 71%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/getopt.cpp.o
[ 72%] Building CXX object samples/CMakeFiles/mmap-test.dir/mmap-test.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/exiv2json.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/Jzon.cpp.o
[ 75%] Building CXX object src/CMakeFiles/exiv2.dir/utils.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/actions.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/getopt.cpp.o
[ 75%] Building CXX object samples/CMakeFiles/pathtest.dir/path-test.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/metacopy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/iptceasy.dir/iptceasy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/getopt.cpp.o
[ 79%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/utils.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/utils.cpp.o
[ 78%] Building CXX object src/CMakeFiles/exiv2.dir/exiv2.cpp.o
[ 78%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/getopt.cpp.o
[ 79%] Linking CXX executable ../bin/ini-test
[ 79%] Built target ini-test
[ 80%] Linking CXX executable ../bin/xmpdump
[ 80%] Linking CXX executable ../bin/exifcomment
[ 80%] Linking CXX executable ../bin/exifvalue
[ 82%] Linking CXX executable ../bin/taglist
[ 82%] Linking CXX executable ../bin/convert-test
[ 82%] Linking CXX executable ../bin/stringto-test
[ 83%] Linking CXX executable ../bin/largeiptc-test
[ 83%] Linking CXX executable ../bin/getopt-test
[ 84%] Linking CXX executable ../bin/xmpparse
[ 85%] Linking CXX executable ../bin/path-test
[ 85%] Linking CXX executable ../bin/key-test
[ 86%] Linking CXX executable ../bin/werror-test
[ 86%] Linking CXX executable ../bin/mmap-test
[ 87%] Linking CXX executable ../bin/iotest
[ 87%] Linking CXX executable ../bin/mrwthumb
[ 87%] Linking CXX executable ../bin/easyaccess-test
[ 87%] Linking CXX executable ../bin/xmpprint
[ 88%] Linking CXX executable ../bin/prevtest
[ 88%] Linking CXX executable ../bin/remotetest
[ 89%] Linking CXX executable ../bin/metacopy
[ 90%] Linking CXX executable ../bin/iptcprint
[ 90%] Linking CXX executable ../bin/xmpparser-test
[ 91%] Linking CXX executable ../bin/exifprint
[ 92%] Linking CXX executable ../bin/iptceasy
[ 93%] Linking CXX executable ../bin/conntest
[ 93%] Linking CXX executable ../bin/iptctest
[ 94%] Linking CXX executable ../bin/tiff-test
[ 94%] Linking CXX executable ../bin/write-test
[ 94%] Built target werror-test
[ 94%] Built target xmpdump
[ 94%] Built target taglist
[ 94%] Built target exifvalue
[ 94%] Built target exifcomment
[ 94%] Built target xmpparse
[ 95%] Linking CXX executable ../bin/exifdata-test
[ 95%] Built target largeiptc-test
[ 95%] Built target pathtest
[ 95%] Built target getopt-test
[ 95%] Built target stringto-test
[ 95%] Built target convert-test
[ 95%] Built target iotest
[ 95%] Built target key-test
[ 96%] Linking CXX executable ../bin/addmoddel
[ 96%] Built target mmap-test
[ 96%] Built target easyaccess-test
[ 97%] Linking CXX executable ../bin/exifdata
[ 97%] Built target mrwthumb
[ 97%] Built target prevtest
[ 98%] Linking CXX executable ../bin/xmpsample
[ 98%] Linking CXX executable ../bin/write2-test
[ 98%] Built target xmpprint
[ 98%] Built target metacopy
[ 98%] Built target iptceasy
[ 98%] Built target iptctest
[ 98%] Built target xmpparser-test
[ 98%] Built target tiff-test
[ 98%] Built target exifprint
[ 98%] Built target remotetest
[ 98%] Built target conntest
[ 98%] Built target iptcprint
[ 98%] Built target write-test
[ 98%] Built target exifdata-test
[ 98%] Built target exifdata
[ 98%] Built target write2-test
[ 98%] Built target addmoddel
[ 98%] Built target xmpsample
[ 99%] Linking CXX executable ../bin/geotag
[ 99%] Built target geotag
[100%] Linking CXX executable ../bin/exiv2json
[100%] Built target exiv2json
[100%] Linking CXX executable ../bin/exiv2
[100%] Built target exiv2


sudo make install

[ 11%] Built target xmp
[ 25%] Built target exiv2lib_int
[ 51%] Built target exiv2lib
[ 54%] Built target exiv2
[ 55%] Built target mmap-test
[ 56%] Built target iptctest
[ 57%] Built target key-test
[ 58%] Built target easyaccess-test
[ 59%] Built target remotetest
[ 60%] Built target iptcprint
[ 61%] Built target werror-test
[ 62%] Built target write2-test
[ 63%] Built target xmpparser-test
[ 64%] Built target conntest
[ 65%] Built target iptceasy
[ 66%] Built target ini-test
[ 67%] Built target exifvalue
[ 68%] Built target exifprint
[ 69%] Built target exifdata-test
[ 71%] Built target largeiptc-test
[ 72%] Built target xmpparse
[ 73%] Built target convert-test
[ 74%] Built target addmoddel
[ 75%] Built target xmpprint
[ 76%] Built target exifcomment
[ 77%] Built target mrwthumb
[ 79%] Built target exifdata
[ 80%] Built target prevtest
[ 82%] Built target metacopy
[ 83%] Built target stringto-test
[ 85%] Built target taglist
[ 86%] Built target tiff-test
[ 88%] Built target exiv2json
[ 89%] Built target write-test
[ 91%] Built target iotest
[ 93%] Built target xmpsample
[ 95%] Built target getopt-test
[ 96%] Built target xmpdump
[ 99%] Built target pathtest
[100%] Built target geotag
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/pkgconfig/exiv2.pc
-- Installing: /usr/local/lib/libxmp.a
-- Installing: /usr/local/lib/libexiv2.so.0.27.0.0
-- Installing: /usr/local/lib/libexiv2.so.0
-- Installing: /usr/local/lib/libexiv2.so
-- Set runtime path of "/usr/local/lib/libexiv2.so.0.27.0.0" to "$ORIGIN/../lib"
-- Installing: /usr/local/include/exiv2/asfvideo.hpp
-- Installing: /usr/local/include/exiv2/basicio.hpp
-- Installing: /usr/local/include/exiv2/bmpimage.hpp
-- Installing: /usr/local/include/exiv2/config.h
-- Installing: /usr/local/include/exiv2/convert.hpp
-- Installing: /usr/local/include/exiv2/cr2image.hpp
-- Installing: /usr/local/include/exiv2/crwimage.hpp
-- Installing: /usr/local/include/exiv2/datasets.hpp
-- Installing: /usr/local/include/exiv2/easyaccess.hpp
-- Installing: /usr/local/include/exiv2/epsimage.hpp
-- Installing: /usr/local/include/exiv2/error.hpp
-- Installing: /usr/local/include/exiv2/exif.hpp
-- Installing: /usr/local/include/exiv2/exiv2.hpp
-- Installing: /usr/local/include/exiv2/futils.hpp
-- Installing: /usr/local/include/exiv2/gifimage.hpp
-- Installing: /usr/local/include/exiv2/http.hpp
-- Installing: /usr/local/include/exiv2/image.hpp
-- Installing: /usr/local/include/exiv2/ini.hpp
-- Installing: /usr/local/include/exiv2/iptc.hpp
-- Installing: /usr/local/include/exiv2/jp2image.hpp
-- Installing: /usr/local/include/exiv2/jpgimage.hpp
-- Installing: /usr/local/include/exiv2/matroskavideo.hpp
-- Installing: /usr/local/include/exiv2/metadatum.hpp
-- Installing: /usr/local/include/exiv2/mrwimage.hpp
-- Installing: /usr/local/include/exiv2/orfimage.hpp
-- Installing: /usr/local/include/exiv2/pgfimage.hpp
-- Installing: /usr/local/include/exiv2/preview.hpp
-- Installing: /usr/local/include/exiv2/properties.hpp
-- Installing: /usr/local/include/exiv2/psdimage.hpp
-- Installing: /usr/local/include/exiv2/quicktimevideo.hpp
-- Installing: /usr/local/include/exiv2/rafimage.hpp
-- Installing: /usr/local/include/exiv2/riffvideo.hpp
-- Installing: /usr/local/include/exiv2/rw2image.hpp
-- Installing: /usr/local/include/exiv2/rwlock.hpp
-- Installing: /usr/local/include/exiv2/tags.hpp
-- Installing: /usr/local/include/exiv2/tgaimage.hpp
-- Installing: /usr/local/include/exiv2/tiffimage.hpp
-- Installing: /usr/local/include/exiv2/types.hpp
-- Installing: /usr/local/include/exiv2/utilsvideo.hpp
-- Installing: /usr/local/include/exiv2/value.hpp
-- Installing: /usr/local/include/exiv2/version.hpp
-- Installing: /usr/local/include/exiv2/webpimage.hpp
-- Installing: /usr/local/include/exiv2/xmp_exiv2.hpp
-- Installing: /usr/local/include/exiv2/xmpsidecar.hpp
-- Installing: /usr/local/include/exiv2/exv_conf.h
-- Installing: /usr/local/include/exiv2/exiv2lib_export.h
-- Installing: /usr/local/include/exiv2/pngimage.hpp
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config.cmake
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
-- Installing: /usr/local/bin/exiv2
-- Set runtime path of "/usr/local/bin/exiv2" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2.1
-- Installing: /usr/local/bin/addmoddel
-- Set runtime path of "/usr/local/bin/addmoddel" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/convert-test
-- Set runtime path of "/usr/local/bin/convert-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/easyaccess-test
-- Set runtime path of "/usr/local/bin/easyaccess-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifcomment
-- Set runtime path of "/usr/local/bin/exifcomment" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata-test
-- Set runtime path of "/usr/local/bin/exifdata-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata
-- Set runtime path of "/usr/local/bin/exifdata" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifprint
-- Set runtime path of "/usr/local/bin/exifprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifvalue
-- Set runtime path of "/usr/local/bin/exifvalue" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/ini-test
-- Set runtime path of "/usr/local/bin/ini-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iotest
-- Set runtime path of "/usr/local/bin/iotest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptceasy
-- Set runtime path of "/usr/local/bin/iptceasy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptcprint
-- Set runtime path of "/usr/local/bin/iptcprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptctest
-- Set runtime path of "/usr/local/bin/iptctest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/key-test
-- Set runtime path of "/usr/local/bin/key-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/largeiptc-test
-- Set runtime path of "/usr/local/bin/largeiptc-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mmap-test
-- Set runtime path of "/usr/local/bin/mmap-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mrwthumb
-- Set runtime path of "/usr/local/bin/mrwthumb" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/prevtest
-- Set runtime path of "/usr/local/bin/prevtest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/stringto-test
-- Set runtime path of "/usr/local/bin/stringto-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/taglist
-- Set runtime path of "/usr/local/bin/taglist" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/tiff-test
-- Set runtime path of "/usr/local/bin/tiff-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/werror-test
-- Set runtime path of "/usr/local/bin/werror-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write-test
-- Set runtime path of "/usr/local/bin/write-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write2-test
-- Set runtime path of "/usr/local/bin/write2-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparse
-- Set runtime path of "/usr/local/bin/xmpparse" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparser-test
-- Set runtime path of "/usr/local/bin/xmpparser-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpprint
-- Set runtime path of "/usr/local/bin/xmpprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpsample
-- Set runtime path of "/usr/local/bin/xmpsample" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpdump
-- Set runtime path of "/usr/local/bin/xmpdump" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/metacopy
-- Set runtime path of "/usr/local/bin/metacopy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/path-test
-- Set runtime path of "/usr/local/bin/path-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exiv2json
-- Set runtime path of "/usr/local/bin/exiv2json" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/geotag
-- Set runtime path of "/usr/local/bin/geotag" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2samples.1


sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2
/usr/local/bin/exiv2json
/usr/local/include/exiv2
/usr/local/include/exiv2/asfvideo.hpp
/usr/local/include/exiv2/basicio.hpp
/usr/local/include/exiv2/bmpimage.hpp
/usr/local/include/exiv2/config.h
/usr/local/include/exiv2/convert.hpp
/usr/local/include/exiv2/cr2image.hpp
/usr/local/include/exiv2/crwimage.hpp
/usr/local/include/exiv2/datasets.hpp
/usr/local/include/exiv2/easyaccess.hpp
/usr/local/include/exiv2/epsimage.hpp
/usr/local/include/exiv2/error.hpp
/usr/local/include/exiv2/exif.hpp
/usr/local/include/exiv2/exiv2.hpp
/usr/local/include/exiv2/exiv2lib_export.h
/usr/local/include/exiv2/exv_conf.h
/usr/local/include/exiv2/futils.hpp
/usr/local/include/exiv2/gifimage.hpp
/usr/local/include/exiv2/http.hpp
/usr/local/include/exiv2/image.hpp
/usr/local/include/exiv2/ini.hpp
/usr/local/include/exiv2/iptc.hpp
/usr/local/include/exiv2/jp2image.hpp
/usr/local/include/exiv2/jpgimage.hpp
/usr/local/include/exiv2/matroskavideo.hpp
/usr/local/include/exiv2/metadatum.hpp
/usr/local/include/exiv2/mrwimage.hpp
/usr/local/include/exiv2/orfimage.hpp
/usr/local/include/exiv2/pgfimage.hpp
/usr/local/include/exiv2/pngimage.hpp
/usr/local/include/exiv2/preview.hpp
/usr/local/include/exiv2/properties.hpp
/usr/local/include/exiv2/psdimage.hpp
/usr/local/include/exiv2/quicktimevideo.hpp
/usr/local/include/exiv2/rafimage.hpp
/usr/local/include/exiv2/riffvideo.hpp
/usr/local/include/exiv2/rw2image.hpp
/usr/local/include/exiv2/rwlock.hpp
/usr/local/include/exiv2/tags.hpp
/usr/local/include/exiv2/tgaimage.hpp
/usr/local/include/exiv2/tiffimage.hpp
/usr/local/include/exiv2/types.hpp
/usr/local/include/exiv2/utilsvideo.hpp
/usr/local/include/exiv2/value.hpp
/usr/local/include/exiv2/version.hpp
/usr/local/include/exiv2/webpimage.hpp
/usr/local/include/exiv2/xmp_exiv2.hpp
/usr/local/include/exiv2/xmpsidecar.hpp
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0
/usr/local/lib/pkgconfig/exiv2.lsm
/usr/local/lib/pkgconfig/exiv2.pc
/usr/local/share/exiv2
/usr/local/share/exiv2/cmake
/usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
/usr/local/share/exiv2/cmake/exiv2Config.cmake
/usr/local/share/man/man1/exiv2.1
/usr/local/share/man/man1/exiv2samples.1
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb

# it seems that the cmake install installed the lib in /usr/local instead. I'm not very familiar with cmake sorry, but

cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32



cd /opt/digikam/git/ && rm -rf build && ./bootstrap.linux


Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


The bootstrap still find a 0.25 release, don't know why.
Seems a bit complicated for my few knowledges in this programming language :)

If you have an idea?

Cheers


Le mer. 12 sept. 2018 à 05:13, Andrey Goreev <[hidden email]> a écrit :

Or you could download digikam 5.9 rpm from either SUSE or Fedora repositories and try installing them in Ubuntu using alien command.

 

 

From: Andrey Goreev [mailto:[hidden email]]
Sent: September 11, 2018 11:05 AM
To: 'digiKam developers room - digiKam - Manage your photographs as a professional with the power of open source' <[hidden email]>
Subject: RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Have you solved this by chance?

I thought you could download exiv2 and libexiv 0.26 debs from Debian Experimental as a workaround.

Or try to compile to a .deb in a VM and then install them on the actual machine.

 

From: Digikam-devel [[hidden email]] On Behalf Of Matthieu
Sent: September 6, 2018 3:35 PM
To: [hidden email]
Subject: Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Thanks Gilles for helping me.

Unfortunatelly, no more success:

 

# go in the exiv2 lib source files

cd exiv2-trunk

# ensure that everything has been removed from the system lib

sudo apt-get install libexiv2-14

sudo apt-get remove --purge libexiv2*

# remove my previous install, not sure if it can usefull...

sudo make uninstall

sudo make install

# check if I don't have any remaining lib

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

# try recompile

cd /opt/digikam/git

sudo rm -rf Build

./bootlstrap.linux

 

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2*
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2*': Aucun fichier ou dossier de ce type

 

Any idea?

 

 

Le jeu. 6 sept. 2018 à 16:02, Gilles Caulier <[hidden email]> a écrit :

The order to process is wrong...

 

1/ uninstall system package

2/ install exiv2 manually

3/ reconfigure digiKam

4/ recompile digiKam

 

In other words, re-install Exiv2 again manually. 

 

Gilles Caulier

 

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

thanks for all your answers.

I installed the lib in /usr/local because I was thinking it was the best choice.

I added the video option in configuration because I was thinking it was usefull.

 

Following your answers, I've removed my previous installation with

sudo make uninstall

 

recompile the libexiv with the following options:

./configure --prefix=/usr --without-ssh --disable-static

 

build id

make

 

and install it

sudo make install

 

I've also removed all the packages from my distribution related to this lib:

sudo apt-get remove libexiv2*

 

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

 

then I tried to rebuild it:

cd /opt/digikam/git && rm -rf build && ./bootstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2.so
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2.so': Aucun fichier ou dossier de ce type

 

Any idea?

 

Kind regards

 

Mat

 

Le jeu. 6 sept. 2018 à 01:58, Gilles Caulier <[hidden email]> a écrit :

Also I think you want ==> you must. The Exiv2 video support is full of bug and will crash digiKam in few seconds of collection scan.

 

My Exiv2 options to compile the AppImage bundle :

 

 

Gilles Caulier

 

2018-09-05 14:45 GMT+02:00 Andrey Goreev <[hidden email]>:

Also I think you want to disable video support when compiling exiv2. Handling of video files metadata has been passed on ffmpeg starting from version 6git.

 

On Wed, Sep 5, 2018 at 6:41 AM Andrey Goreev <[hidden email]> wrote:

Looks like you are also missing ffmpeg. Years ago Ubuntu had a different ffmpeg in their repositories. I am not sure if that is still the case but you might want to compile it by yourself from ffmpeg.org. They have a manual in their wiki, it is pretty straight forward and takes 15 minutes tops.

 

There is also a note in your log about libjasper, libksane and libvkontakte packages missing. I am not sure what libjasper is. Libksane is probably required if you import images from a scanner, libvkontakte must be an export plugin for the vk.com social network.

 

In addition to that I think you might want to recompile opencv yourself with a bunch of options turned off. Gilles would know more about this.

Thanks,

Andrey

 

On Tue, Sep 4, 2018 at 9:09 PM Gilles Caulier <[hidden email]> wrote:

 

 

2018-09-05 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

I'm trying to recompile Digikam  to enable the RAW metadata writing. My first step in Digikam development. If this is a success, why not contribute?

Unfortunately, I'm not able to do it.

My laptop is an Ubuntu 18.04.

uname -a
Linux laptop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Here's the output command of the bootstrap.linux:

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


I don't want to install Digikam in /usr, but this is another problem.
The problem is related to libexiv2.

git status
On branch master
Your branch is up-to-date with 'origin/master'.

Files not followed:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh
    project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
    project/bundles/3rdparty/ext_exiv2/CMakeFiles/


libexiv2 as been installed from the latest available sources files with the following command:

./configure --prefix=/usr/local --enable-video --without-ssh --disable-static
make
sudo make install


A locate show me that libexiv2 is available.

sudo updatedb && locate libexiv2.so

/usr/lib/x86_64-linux-gnu/libexiv2.so
/usr/lib/x86_64-linux-gnu/libexiv2.so.14
/usr/lib/x86_64-linux-gnu/libexiv2.so.14.0.0
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.26
/usr/local/lib/libexiv2.so.26.0.0


ls -la /usr/local/lib/libexiv2.*

-rw-r--r-- 1 root root 6869170 Sep  3 11:16 /usr/local/lib/libexiv2.a
-rw-r--r-- 1 root root    1038 Sep  4 09:21 /usr/local/lib/libexiv2.la
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so -> libexiv2.so.26.0.0
lrwxrwxrwx 1 root root      18 Sep  4 09:21 /usr/local/lib/libexiv2.so.26 -> libexiv2.so.26.0.0
-rw-r--r-- 1 root root 3577744 Sep  4 09:21 /usr/local/lib/libexiv2.so.26.0.0


ldd /usr/local/lib/libexiv2.so
    linux-vdso.so.1 (0x00007ffdcb699000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1b9825a000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1b98028000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b97e24000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b97c05000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1b97877000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b974d9000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b970e8000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1b96ed0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1b98980000)


cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32


I'm not a power user of Linux, nor c++ / cmake /bootstrap process.

My questions are:
- is there something to clean before running bootstrap.linux to ensure that we start off?

 

Remove the "build" sub directory as well. This will clean the cmake cache.

  

- is there a specific location to specify to load the local libs?

 

Why you want to install libexiv2 to /usr/local/ ? This is a source of problems

 

I suspect that you don't want to remove the official and older one Exiv2 version from the system installed in /usr.

 

Using both version of the library, even if in theory it's possible will introduce dysfunction at run-time (crashes). This is a know problem from Exiv2.

 

- did I miss something when building libexiv2?

 

Install and replace the official Exiv2 from /usr as well. uninstall the previous one before. This is how the AppImage bundle are done under CentOS 6.

 

Best

 

Gilles Caulier 

 

Thanks for your help

 

Mat

 

 

--

Best regards,

--

Best regards,

 

 


Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.

Antoni Bella Pérez

  Hi, 

  Copy output of:

ls -al /usr/local/lib/libexiv2*

  Regards
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Matthieu
In reply to this post by Matthieu
Hi there,

bootstrap.local on the same configuration with the beta2 release allow me to pass the bootstrap process!
awesome, thanks

Unfortunately, I got some build errors

Please find the output bellow.

./bootstrap.local

Qt5     Install Path : /usr
digiKam Install Path : /home/foo/local/opt/digikam
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.44.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0")
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.44.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.44.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.44.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0")
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  XmlGui CoreAddons Config Service WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0")
-- Found KF5FileMetaData: /usr/lib/x86_64-linux-gnu/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.44.0")
-- Found KF5ThreadWeaver: /usr/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.44.0")
-- Found KF5NotifyConfig: /usr/lib/x86_64-linux-gnu/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.44.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.44.0")
-- Found KF5AkonadiContact: /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.7.3")
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: /usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found version "5.7.3")
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Boost version: 1.65.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found Exiv2: /usr/local/lib/libexiv2.so (found suitable version "0.27.0", minimum required is "0.26")
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   No package 'libavdevice' found
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so 
-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV: /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so 
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- Media player support is enabled.
-- First try at finding OpenCV...
-- Found OpenCV: /usr (found version "3.2.0") found components:  core objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
-- Found Marble: /usr/include 
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Checking for module 'lqr-1'
--   Found lqr-1, version 0.4.2
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so 
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Failed
-- Found Lqr-1: /usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-- Found Gphoto2: /usr/lib/x86_64-linux-gnu/libgphoto2.so 
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta2 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... YES
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
--
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
--  ==> Doxygen is found:          TRUE
--  ==> Graphviz Dot is found:     YES
--  To build API documentation use 'make doc'
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.44.0")
-- Found KF5: success (found version "5.44.0") found components:  DocTools
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  DocTools
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/digikam/git/build
Now run make in /opt/digikam/git/build.

[Important] After compiling and installing digiKam, run the script build/finish_install.sh to finalize the install.

cd build/ && make clean && make

Scanning dependencies of target digikam-gitversion
[  0%] Built target digikam-gitversion
Scanning dependencies of target dimg_src_autogen
[  0%] Automatic MOC for target dimg_src
[  0%] Built target dimg_src_autogen
Scanning dependencies of target dimg_src
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/dimgloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pngloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/jpegloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/tiffloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/rawloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/ppmloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/qimageloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pgfloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/jpegsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pngsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/tiffsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pgfsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgbuiltinfilter.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgthreadedfilter.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgthreadedanalyser.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgfiltermanager.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgfiltergenerator.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/filteractionfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/randomnumbergenerator.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/rawprocessingfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/borderfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/bordersettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/texturefilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/film/filmfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/blurfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/blurfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/colorfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/colorfxsettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/distortionfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/charcoalfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/embossfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/filmgrainfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/filmgrainsettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/invertfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/pixelsaliasfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/oilpaintfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/raindropfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/autolevelsfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/autoexpofilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/equalizefilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/stretchfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/normalizefilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/cb/cbfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/cb/cbsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bcg/bcgfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bcg/bcgsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/bwsepiafilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/bwsepiasettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/tonalityfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/infraredfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/mixerfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/mixersettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hslfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hslsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hspreviewwidget.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccmanager.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccprofile.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccprofilesettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/icctransform.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/icctransformfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccsettingscontainer.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/digikam-lcms.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastcontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrestimate.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/sharpenfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/unsharpmaskfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/sharpsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/imagelevels.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/levelsfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/imagehistogram.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogrambox.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogramwidget.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogrampainter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvescontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/imagecurves.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvesfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvessettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curveswidget.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvesbox.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbcontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/freerotationfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/freerotationsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/shearfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/autocrop.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/greycstoration/greycstorationfilter.cpp.o
In file included from /opt/digikam/git/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static char cimg_library::cimg::type<char>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2138:63: warning: left shift of negative value [-Wshift-negative-value]
       static char min() { return (char)(-1L<<(8*sizeof(char)-1)); }
                                                               ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static char cimg_library::cimg::type<char>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2139:65: warning: left shift of negative value [-Wshift-negative-value]
       static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); }
                                                                 ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static signed char cimg_library::cimg::type<signed char>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2147:84: warning: left shift of negative value [-Wshift-negative-value]
       static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); }
                                                                                    ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static signed char cimg_library::cimg::type<signed char>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2148:86: warning: left shift of negative value [-Wshift-negative-value]
       static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); }
                                                                                      ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static short int cimg_library::cimg::type<short int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2165:66: warning: left shift of negative value [-Wshift-negative-value]
       static short min() { return (short)(-1L<<(8*sizeof(short)-1)); }
                                                                  ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static short int cimg_library::cimg::type<short int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2166:68: warning: left shift of negative value [-Wshift-negative-value]
       static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); }
                                                                    ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static int cimg_library::cimg::type<int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2183:60: warning: left shift of negative value [-Wshift-negative-value]
       static int min() { return (int)(-1L<<(8*sizeof(int)-1)); }
                                                            ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static int cimg_library::cimg::type<int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2184:62: warning: left shift of negative value [-Wshift-negative-value]
       static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); }
                                                              ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static long int cimg_library::cimg::type<long int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2201:63: warning: left shift of negative value [-Wshift-negative-value]
       static long min() { return (long)(-1L<<(8*sizeof(long)-1)); }
                                                               ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static long int cimg_library::cimg::type<long int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2202:65: warning: left shift of negative value [-Wshift-negative-value]
       static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); }
                                                                 ^
In file included from /opt/digikam/git/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<typename cimg_library::cimg::superset<T, float>::type> cimg_library::CImg<T>::get_pointwise_norm(int) const’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
             if (tmp>n) n=tmp; res(x,y,z) = n;
             ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
             if (tmp>n) n=tmp; res(x,y,z) = n;
                               ^~~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<T>& cimg_library::CImg<T>::draw_graph(const cimg_library::CImg<t>&, const tc*, float, unsigned int, unsigned int, double, double, unsigned int)’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
       if (color1) delete[] color1; if (color2) delete[] color2;
       ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
       if (color1) delete[] color1; if (color2) delete[] color2;
                                    ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<typename cimg_library::cimg::last<T, int>::type> cimg_library::CImg<T>::_get_select(cimg_library::CImgDisplay&, const char*, int, unsigned int*, const unsigned char*, int, int, int) const’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;
                           ^~
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/greycstoration/greycstorationsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/antivignettingfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/antivignettingsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensdistortionfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/pixelaccess.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectionfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectionsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectioncontainer.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalitycontainer.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalitysettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_blur.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_exposure.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_noise.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_compression.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/contentawarefilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfunfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfuncameraselector.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfuniface.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfunsettings.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/refocusfilter.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/matrix.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimg.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/drawdecoding.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimgscale.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dcolor.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dcolorcomposer.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/dimagehistory.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/filteraction.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/historyimageid.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimg_src_autogen/mocs_compilation.cpp.o
[  5%] Built target dimg_src
Scanning dependencies of target dmetadata_src_autogen
[  5%] Automatic MOC for target dmetadata_src
[  5%] Built target dmetadata_src_autogen
Scanning dependencies of target dmetadata_src
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_p.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_data.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_image.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_comments.cpp.o
[  6%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp: In member function ‘Digikam::MetaEngine::TagsMap Digikam::MetaEngine::getStdExifTagsList() const’:
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp:1082:55: error: ‘groupList’ is not a member of ‘Exiv2::ExifTags’
         const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
                                                       ^~~~~~~~~
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp: In member function ‘Digikam::MetaEngine::TagsMap Digikam::MetaEngine::getMakernoteTagsList() const’:
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp:1143:55: error: ‘groupList’ is not a member of ‘Exiv2::ExifTags’
         const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
                                                       ^~~~~~~~~
core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/build.make:182: recipe for target 'core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o' failed
make[2]: *** [core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o] Error 1
CMakeFiles/Makefile2:2157: recipe for target 'core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/all' failed
make[1]: *** [core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

it seems the build process can find my lib (0.27.
Having a look on the source code seems include ths definition.
Any idea?

Regards

Mat

Le mar. 2 oct. 2018 à 19:13, Matthieu <[hidden email]> a écrit :
Hello list,

I still have some issues.
Following your previous answer, I've tried just to move the /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake as /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak to view the expected output.

Nothing went better: the output was still finding a 0.25 release, but I've only the 0.27 release.

So I've looked for some cache issue in my build folder:
- remove the build folder does not bring some improvement.
- I got a different output after moving the CMakeCache file as

mv CMakeCache.txt CMakeCache.txt.ba

Now, it seems that the bootstrap linux found the appropriate library, but is unable to parse the release number:

so:

sudo mv /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake && ls /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

cd /opt/digikam/git && git status
Sur la branche master
Votre branche est à jour avec 'origin/master'.

Fichiers non suivis:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt.bak
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh

aucune modification ajoutée à la validation mais des fichiers non suivis sont présents (utilisez "git add" pour les suivre)

git pull
remote: Counting objects: 114, done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 114 (delta 89), reused 0 (delta 0)
Réception d'objets: 100% (114/114), 12.04 KiB | 4.01 MiB/s, fait.
Résolution des deltas: 100% (89/89), complété avec 29 objets locaux.
Depuis git://anongit.kde.org/digikam
   4c81521377..7a875c18f5  master     -> origin/master
Mise à jour 4c81521377..7a875c18f5
Fast-forward
 core/libs/album/albummanager_p.h                                 |   5 ++
 core/libs/database/collection/collectionscanner.cpp              | 135 ++++++++++++++++++++---------------------------
 core/libs/database/collection/collectionscanner.h                |   3 --
 core/tests/fileio/statesavingobjecttest.cpp                      |  51 +++++++++---------
 core/tests/fileio/statesavingobjecttest.h                        |   3 +-
 core/tests/geolocation/geoiface/test_itemmarkertiler.cpp         | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++------------------
 core/tests/imgqsort/detectblur/CMakeLists.txt                    |   1 +
 core/tests/imgqsort/detectblur/detectblur.cpp                    |  43 +++++++--------
 core/tests/imgqsort/detectcompression/detectcompression.cpp      |  79 ++++++++++++++--------------
 core/tests/imgqsort/detectnoise/detectnoise.cpp                  |  16 +++---
 core/tests/imgqsort/testimages/createtestcases.sh                |  63 +++++++++++-----------
 core/utilities/assistants/htmlgallery/generator/gallerytheme.cpp |  20 +++----
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.cpp   |   5 +-
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.h     |   4 +-
 14 files changed, 348 insertions(+), 273 deletions(-)
 mode change 100644 => 100755 core/tests/imgqsort/testimages/createtestcases.sh
La branche courante master est à jour.

rm -rf && ls CMakeCache.txt*
CMakeCache.txt.bak

./bootstrap.linux
Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.44.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0")
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.44.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.44.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.44.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0")
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  XmlGui CoreAddons Config Service WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0")
-- Found KF5FileMetaData: /usr/lib/x86_64-linux-gnu/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.44.0")
-- Found KF5ThreadWeaver: /usr/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.44.0")
-- Found KF5NotifyConfig: /usr/lib/x86_64-linux-gnu/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.44.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.44.0")
-- Found KF5AkonadiContact: /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.7.3")
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: /usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found version "5.7.3")
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Boost version: 1.65.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Could NOT find Exiv2: Found unsuitable version "..", but required is at least "0.26" (found /usr/local/lib/libexiv2.so)
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   No package 'libavdevice' found
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so 
-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV: /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so 
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- Media player support is enabled.
-- First try at finding OpenCV...
-- Found OpenCV: /usr (found version "3.2.0") found components:  core objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
-- Found Marble: /usr/include 
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Checking for module 'lqr-1'
--   Found lqr-1, version 0.4.2
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so 
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Failed
-- Found Lqr-1: /usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-- Found Gphoto2: /usr/lib/x86_64-linux-gnu/libgphoto2.so 
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:564 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:621 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/build/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/build/CMakeFiles/CMakeError.log".

sudo updatedb && locate libexiv
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0

readelf -d /usr/local/lib/libexiv2.so

La section dynamique à l'offset 0x35aa20 contient 33 entrées :
  Étiquettes Type                         Nom/Valeur
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libz.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libm.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libc.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libgcc_s.so.1]
 0x000000000000000e (SONAME)             Bibliothèque soname: [libexiv2.so.0]
 0x000000000000001d (RUNPATH)            Bibliothèque runpath:[$ORIGIN/../lib]
 0x000000000000000c (INIT)               0xd11b8
 0x000000000000000d (FINI)               0x256be0
 0x0000000000000019 (INIT_ARRAY)         0x52a600
 0x000000000000001b (INIT_ARRAYSZ)       472 (octets)
 0x000000000000001a (FINI_ARRAY)         0x52a7d8
 0x000000000000001c (FINI_ARRAYSZ)       8 (octets)
 0x000000006ffffef5 (GNU_HASH)           0x1f0
 0x0000000000000005 (STRTAB)             0x1f768
 0x0000000000000006 (SYMTAB)             0x6ee0
 0x000000000000000a (STRSZ)              255697 (octets)
 0x000000000000000b (SYMENT)             24 (octets)
 0x0000000000000003 (PLTGOT)             0x55b000
 0x0000000000000002 (PLTRELSZ)           68952 (octets)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0xc0460
 0x0000000000000007 (RELA)               0x60040
 0x0000000000000008 (RELASZ)             394272 (octets)
 0x0000000000000009 (RELAENT)            24 (octets)
 0x000000006ffffffe (VERNEED)            0x5fef0
 0x000000006fffffff (VERNEEDNUM)         6
 0x000000006ffffff0 (VERSYM)             0x5de3a
 0x000000006ffffff9 (RELACOUNT)          14838
 0x0000000000000000 (NULL)               0x0

Any Ideas?

Regards

Mat

Le sam. 15 sept. 2018 à 17:53, Gilles Caulier <[hidden email]> a écrit :
yes i have an idea :

==> /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

This one is obsolete and a dupplicate file from KDE. We have one updated in digiKam source code.

I suspect that KDE one is taken in first instead digikam one.

In ALL case : never install KDE4LibSupport KDE component. It for compatibility for older KF5 framework not ported to pure Qt5 API.

The port is mostly done everywhere and digiKam is ported to pure Qt5 since... 5.0.0.

So it's urgent to drop definitively the compatibility package everywhere. It's a source of dysfunctions.

Another remark. Why do you store these temporary files on your computer :

/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp


There are nothing to do in your computer, and i don't know how this files have to be installed here.

Best

Gilles Caulier

2018-09-15 6:23 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

Sorry for this late answer, I''ve been busy.
No, I didn't solve it. So I've tried with the 0.27 from their git repository instead.

Here's the output:

# from my previous build folder
sudo make uninstall
...
sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2json
/usr/local/lib/libexiv2.a
/usr/local/lib/pkgconfig/exiv2.lsm
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb



git clone https://github.com/Exiv2/exiv2.git && cd exiv2

cmake .

-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Found Intl: /usr/include 
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so 
-- ICONV_INCLUDE_DIR :
-- ICONV_LIBRARIES : /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for munmap
-- Looking for munmap - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for process.h
-- Looking for process.h - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Install prefix:    /usr/local
-- ------------------------------------------------------------------
-- CMake Generator:   Unix Makefiles
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
--  --- Compiler flags ---
-- General:            -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
-- Extra:             
-- Debug:             -g3 -gstrict-dwarf -O0
-- Release:           -O3 -DNDEBUG
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
--  --- Linker flags ---
-- General:          
-- Debug:            
-- Release:          
-- RelWithDebInfo:   
-- MinSizeRel:       
--
-- Compiler Options
-- Warnings as errors:                 NO
-- Use extra compiler warning flags:   NO
--
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
-- ------------------------------------------------------------------
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Building video support:             NO
-- Building webready support:          NO
-- Building exiv2 command:             YES
-- Building samples:                   YES
-- Building PO files:                  NO
-- Building unit tests:                NO
-- Building doc:                       NO
-- Building with coverage flags:       NO
-- Using ccache:                       NO
-- ------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/foo/Download/softs/exiv2


make -j

Scanning dependencies of target exiv2lib_int
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XML_Node.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils-FileInfo.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Serialize.cpp.o
[  1%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils.cpp.o
[  2%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPCore_Impl.cpp.o
[  3%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Parse.cpp.o
[  4%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPUtils.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPMeta.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPIterator.cpp.o
[  6%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-GetSet.cpp.o
[  7%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta.cpp.o
[  7%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/nikonmn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/rw2image_int.cpp.o
[  8%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/samsungmn_int.cpp.o
[  9%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/panasonicmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/olympusmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/orfimage_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/casiomn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sigmamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/minoltamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/cr2header_int.cpp.o
[ 16%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/fujimn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/crwimage_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffvisitor_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pentaxmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/makernote_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffcomposite_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pngchunk_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffimage_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tags_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sonymn_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/helper_functions.cpp.o
[ 22%] Linking CXX static library ../lib/libxmp.a
[ 25%] Built target xmp
[ 25%] Built target exiv2lib_int
Scanning dependencies of target exiv2lib
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/convert.cpp.o
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/bmpimage.cpp.o
[ 27%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/bigtiffimage.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/basicio.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/image.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/rw2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/crwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/gifimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/types.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/preview.cpp.o
[ 36%] Building CXX object src/CMakeFiles/exiv2lib.dir/orfimage.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/futils.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/matroskavideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/utilsvideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/cr2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/quicktimevideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/rafimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/http.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/exif.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/error.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/easyaccess.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/mrwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/metadatum.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/iptc.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/value.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/ini.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/tgaimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/pgfimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/properties.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/psdimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/datasets.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/jpgimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/version.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/epsimage.cpp.o
[ 48%] Building CXX object src/CMakeFiles/exiv2lib.dir/tiffimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/pngimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/riffvideo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/tags.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmpsidecar.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/webpimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/jp2image.cpp.o
[ 51%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmp.cpp.o
[ 51%] Linking CXX shared library ../lib/libexiv2.so
[ 51%] Built target exiv2lib
Scanning dependencies of target write-test
Scanning dependencies of target iptctest
Scanning dependencies of target largeiptc-test
Scanning dependencies of target convert-test
Scanning dependencies of target werror-test
Scanning dependencies of target remotetest
Scanning dependencies of target tiff-test
Scanning dependencies of target iptcprint
Scanning dependencies of target mmap-test
Scanning dependencies of target easyaccess-test
Scanning dependencies of target xmpprint
Scanning dependencies of target exifdata-test
Scanning dependencies of target xmpparse
Scanning dependencies of target ini-test
Scanning dependencies of target exifvalue
Scanning dependencies of target xmpparser-test
Scanning dependencies of target key-test
Scanning dependencies of target iotest
Scanning dependencies of target write2-test
Scanning dependencies of target conntest
Scanning dependencies of target prevtest
Scanning dependencies of target mrwthumb
Scanning dependencies of target exifdata
Scanning dependencies of target metacopy
Scanning dependencies of target addmoddel
Scanning dependencies of target stringto-test
Scanning dependencies of target geotag
Scanning dependencies of target pathtest
Scanning dependencies of target taglist
Scanning dependencies of target xmpsample
Scanning dependencies of target exifprint
Scanning dependencies of target getopt-test
Scanning dependencies of target exiv2
Scanning dependencies of target exifcomment
Scanning dependencies of target xmpdump
Scanning dependencies of target exiv2json
Scanning dependencies of target iptceasy
[ 52%] Building CXX object samples/CMakeFiles/ini-test.dir/ini-test.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/iptctest.dir/iptctest.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/convert-test.dir/convert-test.cpp.o
[ 54%] Building CXX object samples/CMakeFiles/prevtest.dir/prevtest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write2-test.dir/write2-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/geotag.dir/geotag.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write-test.dir/write-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/largeiptc-test.dir/largeiptc-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpdump.dir/xmpdump.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifvalue.dir/exifvalue.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/mrwthumb.dir/mrwthumb.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/werror-test.dir/werror-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/key-test.dir/key-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/utils.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/conntest.dir/conntest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/taglist.dir/taglist.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpsample.dir/xmpsample.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/addmoddel.dir/addmoddel.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/getopt-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifprint.dir/exifprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifdata-test.dir/exifdata-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/iptcprint.dir/iptcprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/remotetest.dir/remotetest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpparse.dir/xmpparse.cpp.o
[ 64%] Building CXX object samples/CMakeFiles/xmpprint.dir/xmpprint.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/exifdata.dir/exifdata.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/xmpparser-test.dir/xmpparser-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/stringto-test.dir/stringto-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/tiff-test.dir/tiff-test.cpp.o
[ 68%] Building CXX object samples/CMakeFiles/exifcomment.dir/exifcomment.cpp.o
[ 69%] Building CXX object samples/CMakeFiles/easyaccess-test.dir/easyaccess-test.cpp.o
[ 70%] Building CXX object samples/CMakeFiles/iotest.dir/iotest.cpp.o
[ 71%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/getopt.cpp.o
[ 72%] Building CXX object samples/CMakeFiles/mmap-test.dir/mmap-test.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/exiv2json.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/Jzon.cpp.o
[ 75%] Building CXX object src/CMakeFiles/exiv2.dir/utils.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/actions.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/getopt.cpp.o
[ 75%] Building CXX object samples/CMakeFiles/pathtest.dir/path-test.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/metacopy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/iptceasy.dir/iptceasy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/getopt.cpp.o
[ 79%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/utils.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/utils.cpp.o
[ 78%] Building CXX object src/CMakeFiles/exiv2.dir/exiv2.cpp.o
[ 78%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/getopt.cpp.o
[ 79%] Linking CXX executable ../bin/ini-test
[ 79%] Built target ini-test
[ 80%] Linking CXX executable ../bin/xmpdump
[ 80%] Linking CXX executable ../bin/exifcomment
[ 80%] Linking CXX executable ../bin/exifvalue
[ 82%] Linking CXX executable ../bin/taglist
[ 82%] Linking CXX executable ../bin/convert-test
[ 82%] Linking CXX executable ../bin/stringto-test
[ 83%] Linking CXX executable ../bin/largeiptc-test
[ 83%] Linking CXX executable ../bin/getopt-test
[ 84%] Linking CXX executable ../bin/xmpparse
[ 85%] Linking CXX executable ../bin/path-test
[ 85%] Linking CXX executable ../bin/key-test
[ 86%] Linking CXX executable ../bin/werror-test
[ 86%] Linking CXX executable ../bin/mmap-test
[ 87%] Linking CXX executable ../bin/iotest
[ 87%] Linking CXX executable ../bin/mrwthumb
[ 87%] Linking CXX executable ../bin/easyaccess-test
[ 87%] Linking CXX executable ../bin/xmpprint
[ 88%] Linking CXX executable ../bin/prevtest
[ 88%] Linking CXX executable ../bin/remotetest
[ 89%] Linking CXX executable ../bin/metacopy
[ 90%] Linking CXX executable ../bin/iptcprint
[ 90%] Linking CXX executable ../bin/xmpparser-test
[ 91%] Linking CXX executable ../bin/exifprint
[ 92%] Linking CXX executable ../bin/iptceasy
[ 93%] Linking CXX executable ../bin/conntest
[ 93%] Linking CXX executable ../bin/iptctest
[ 94%] Linking CXX executable ../bin/tiff-test
[ 94%] Linking CXX executable ../bin/write-test
[ 94%] Built target werror-test
[ 94%] Built target xmpdump
[ 94%] Built target taglist
[ 94%] Built target exifvalue
[ 94%] Built target exifcomment
[ 94%] Built target xmpparse
[ 95%] Linking CXX executable ../bin/exifdata-test
[ 95%] Built target largeiptc-test
[ 95%] Built target pathtest
[ 95%] Built target getopt-test
[ 95%] Built target stringto-test
[ 95%] Built target convert-test
[ 95%] Built target iotest
[ 95%] Built target key-test
[ 96%] Linking CXX executable ../bin/addmoddel
[ 96%] Built target mmap-test
[ 96%] Built target easyaccess-test
[ 97%] Linking CXX executable ../bin/exifdata
[ 97%] Built target mrwthumb
[ 97%] Built target prevtest
[ 98%] Linking CXX executable ../bin/xmpsample
[ 98%] Linking CXX executable ../bin/write2-test
[ 98%] Built target xmpprint
[ 98%] Built target metacopy
[ 98%] Built target iptceasy
[ 98%] Built target iptctest
[ 98%] Built target xmpparser-test
[ 98%] Built target tiff-test
[ 98%] Built target exifprint
[ 98%] Built target remotetest
[ 98%] Built target conntest
[ 98%] Built target iptcprint
[ 98%] Built target write-test
[ 98%] Built target exifdata-test
[ 98%] Built target exifdata
[ 98%] Built target write2-test
[ 98%] Built target addmoddel
[ 98%] Built target xmpsample
[ 99%] Linking CXX executable ../bin/geotag
[ 99%] Built target geotag
[100%] Linking CXX executable ../bin/exiv2json
[100%] Built target exiv2json
[100%] Linking CXX executable ../bin/exiv2
[100%] Built target exiv2


sudo make install

[ 11%] Built target xmp
[ 25%] Built target exiv2lib_int
[ 51%] Built target exiv2lib
[ 54%] Built target exiv2
[ 55%] Built target mmap-test
[ 56%] Built target iptctest
[ 57%] Built target key-test
[ 58%] Built target easyaccess-test
[ 59%] Built target remotetest
[ 60%] Built target iptcprint
[ 61%] Built target werror-test
[ 62%] Built target write2-test
[ 63%] Built target xmpparser-test
[ 64%] Built target conntest
[ 65%] Built target iptceasy
[ 66%] Built target ini-test
[ 67%] Built target exifvalue
[ 68%] Built target exifprint
[ 69%] Built target exifdata-test
[ 71%] Built target largeiptc-test
[ 72%] Built target xmpparse
[ 73%] Built target convert-test
[ 74%] Built target addmoddel
[ 75%] Built target xmpprint
[ 76%] Built target exifcomment
[ 77%] Built target mrwthumb
[ 79%] Built target exifdata
[ 80%] Built target prevtest
[ 82%] Built target metacopy
[ 83%] Built target stringto-test
[ 85%] Built target taglist
[ 86%] Built target tiff-test
[ 88%] Built target exiv2json
[ 89%] Built target write-test
[ 91%] Built target iotest
[ 93%] Built target xmpsample
[ 95%] Built target getopt-test
[ 96%] Built target xmpdump
[ 99%] Built target pathtest
[100%] Built target geotag
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/pkgconfig/exiv2.pc
-- Installing: /usr/local/lib/libxmp.a
-- Installing: /usr/local/lib/libexiv2.so.0.27.0.0
-- Installing: /usr/local/lib/libexiv2.so.0
-- Installing: /usr/local/lib/libexiv2.so
-- Set runtime path of "/usr/local/lib/libexiv2.so.0.27.0.0" to "$ORIGIN/../lib"
-- Installing: /usr/local/include/exiv2/asfvideo.hpp
-- Installing: /usr/local/include/exiv2/basicio.hpp
-- Installing: /usr/local/include/exiv2/bmpimage.hpp
-- Installing: /usr/local/include/exiv2/config.h
-- Installing: /usr/local/include/exiv2/convert.hpp
-- Installing: /usr/local/include/exiv2/cr2image.hpp
-- Installing: /usr/local/include/exiv2/crwimage.hpp
-- Installing: /usr/local/include/exiv2/datasets.hpp
-- Installing: /usr/local/include/exiv2/easyaccess.hpp
-- Installing: /usr/local/include/exiv2/epsimage.hpp
-- Installing: /usr/local/include/exiv2/error.hpp
-- Installing: /usr/local/include/exiv2/exif.hpp
-- Installing: /usr/local/include/exiv2/exiv2.hpp
-- Installing: /usr/local/include/exiv2/futils.hpp
-- Installing: /usr/local/include/exiv2/gifimage.hpp
-- Installing: /usr/local/include/exiv2/http.hpp
-- Installing: /usr/local/include/exiv2/image.hpp
-- Installing: /usr/local/include/exiv2/ini.hpp
-- Installing: /usr/local/include/exiv2/iptc.hpp
-- Installing: /usr/local/include/exiv2/jp2image.hpp
-- Installing: /usr/local/include/exiv2/jpgimage.hpp
-- Installing: /usr/local/include/exiv2/matroskavideo.hpp
-- Installing: /usr/local/include/exiv2/metadatum.hpp
-- Installing: /usr/local/include/exiv2/mrwimage.hpp
-- Installing: /usr/local/include/exiv2/orfimage.hpp
-- Installing: /usr/local/include/exiv2/pgfimage.hpp
-- Installing: /usr/local/include/exiv2/preview.hpp
-- Installing: /usr/local/include/exiv2/properties.hpp
-- Installing: /usr/local/include/exiv2/psdimage.hpp
-- Installing: /usr/local/include/exiv2/quicktimevideo.hpp
-- Installing: /usr/local/include/exiv2/rafimage.hpp
-- Installing: /usr/local/include/exiv2/riffvideo.hpp
-- Installing: /usr/local/include/exiv2/rw2image.hpp
-- Installing: /usr/local/include/exiv2/rwlock.hpp
-- Installing: /usr/local/include/exiv2/tags.hpp
-- Installing: /usr/local/include/exiv2/tgaimage.hpp
-- Installing: /usr/local/include/exiv2/tiffimage.hpp
-- Installing: /usr/local/include/exiv2/types.hpp
-- Installing: /usr/local/include/exiv2/utilsvideo.hpp
-- Installing: /usr/local/include/exiv2/value.hpp
-- Installing: /usr/local/include/exiv2/version.hpp
-- Installing: /usr/local/include/exiv2/webpimage.hpp
-- Installing: /usr/local/include/exiv2/xmp_exiv2.hpp
-- Installing: /usr/local/include/exiv2/xmpsidecar.hpp
-- Installing: /usr/local/include/exiv2/exv_conf.h
-- Installing: /usr/local/include/exiv2/exiv2lib_export.h
-- Installing: /usr/local/include/exiv2/pngimage.hpp
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config.cmake
-- Installing: /usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
-- Installing: /usr/local/bin/exiv2
-- Set runtime path of "/usr/local/bin/exiv2" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2.1
-- Installing: /usr/local/bin/addmoddel
-- Set runtime path of "/usr/local/bin/addmoddel" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/convert-test
-- Set runtime path of "/usr/local/bin/convert-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/easyaccess-test
-- Set runtime path of "/usr/local/bin/easyaccess-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifcomment
-- Set runtime path of "/usr/local/bin/exifcomment" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata-test
-- Set runtime path of "/usr/local/bin/exifdata-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifdata
-- Set runtime path of "/usr/local/bin/exifdata" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifprint
-- Set runtime path of "/usr/local/bin/exifprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exifvalue
-- Set runtime path of "/usr/local/bin/exifvalue" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/ini-test
-- Set runtime path of "/usr/local/bin/ini-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iotest
-- Set runtime path of "/usr/local/bin/iotest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptceasy
-- Set runtime path of "/usr/local/bin/iptceasy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptcprint
-- Set runtime path of "/usr/local/bin/iptcprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/iptctest
-- Set runtime path of "/usr/local/bin/iptctest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/key-test
-- Set runtime path of "/usr/local/bin/key-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/largeiptc-test
-- Set runtime path of "/usr/local/bin/largeiptc-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mmap-test
-- Set runtime path of "/usr/local/bin/mmap-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/mrwthumb
-- Set runtime path of "/usr/local/bin/mrwthumb" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/prevtest
-- Set runtime path of "/usr/local/bin/prevtest" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/stringto-test
-- Set runtime path of "/usr/local/bin/stringto-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/taglist
-- Set runtime path of "/usr/local/bin/taglist" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/tiff-test
-- Set runtime path of "/usr/local/bin/tiff-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/werror-test
-- Set runtime path of "/usr/local/bin/werror-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write-test
-- Set runtime path of "/usr/local/bin/write-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/write2-test
-- Set runtime path of "/usr/local/bin/write2-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparse
-- Set runtime path of "/usr/local/bin/xmpparse" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpparser-test
-- Set runtime path of "/usr/local/bin/xmpparser-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpprint
-- Set runtime path of "/usr/local/bin/xmpprint" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpsample
-- Set runtime path of "/usr/local/bin/xmpsample" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/xmpdump
-- Set runtime path of "/usr/local/bin/xmpdump" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/metacopy
-- Set runtime path of "/usr/local/bin/metacopy" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/path-test
-- Set runtime path of "/usr/local/bin/path-test" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/exiv2json
-- Set runtime path of "/usr/local/bin/exiv2json" to "$ORIGIN/../lib"
-- Installing: /usr/local/bin/geotag
-- Set runtime path of "/usr/local/bin/geotag" to "$ORIGIN/../lib"
-- Installing: /usr/local/share/man/man1/exiv2samples.1


sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2
/usr/local/bin/exiv2json
/usr/local/include/exiv2
/usr/local/include/exiv2/asfvideo.hpp
/usr/local/include/exiv2/basicio.hpp
/usr/local/include/exiv2/bmpimage.hpp
/usr/local/include/exiv2/config.h
/usr/local/include/exiv2/convert.hpp
/usr/local/include/exiv2/cr2image.hpp
/usr/local/include/exiv2/crwimage.hpp
/usr/local/include/exiv2/datasets.hpp
/usr/local/include/exiv2/easyaccess.hpp
/usr/local/include/exiv2/epsimage.hpp
/usr/local/include/exiv2/error.hpp
/usr/local/include/exiv2/exif.hpp
/usr/local/include/exiv2/exiv2.hpp
/usr/local/include/exiv2/exiv2lib_export.h
/usr/local/include/exiv2/exv_conf.h
/usr/local/include/exiv2/futils.hpp
/usr/local/include/exiv2/gifimage.hpp
/usr/local/include/exiv2/http.hpp
/usr/local/include/exiv2/image.hpp
/usr/local/include/exiv2/ini.hpp
/usr/local/include/exiv2/iptc.hpp
/usr/local/include/exiv2/jp2image.hpp
/usr/local/include/exiv2/jpgimage.hpp
/usr/local/include/exiv2/matroskavideo.hpp
/usr/local/include/exiv2/metadatum.hpp
/usr/local/include/exiv2/mrwimage.hpp
/usr/local/include/exiv2/orfimage.hpp
/usr/local/include/exiv2/pgfimage.hpp
/usr/local/include/exiv2/pngimage.hpp
/usr/local/include/exiv2/preview.hpp
/usr/local/include/exiv2/properties.hpp
/usr/local/include/exiv2/psdimage.hpp
/usr/local/include/exiv2/quicktimevideo.hpp
/usr/local/include/exiv2/rafimage.hpp
/usr/local/include/exiv2/riffvideo.hpp
/usr/local/include/exiv2/rw2image.hpp
/usr/local/include/exiv2/rwlock.hpp
/usr/local/include/exiv2/tags.hpp
/usr/local/include/exiv2/tgaimage.hpp
/usr/local/include/exiv2/tiffimage.hpp
/usr/local/include/exiv2/types.hpp
/usr/local/include/exiv2/utilsvideo.hpp
/usr/local/include/exiv2/value.hpp
/usr/local/include/exiv2/version.hpp
/usr/local/include/exiv2/webpimage.hpp
/usr/local/include/exiv2/xmp_exiv2.hpp
/usr/local/include/exiv2/xmpsidecar.hpp
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0
/usr/local/lib/pkgconfig/exiv2.lsm
/usr/local/lib/pkgconfig/exiv2.pc
/usr/local/share/exiv2
/usr/local/share/exiv2/cmake
/usr/local/share/exiv2/cmake/exiv2Config-noconfig.cmake
/usr/local/share/exiv2/cmake/exiv2Config.cmake
/usr/local/share/man/man1/exiv2.1
/usr/local/share/man/man1/exiv2samples.1
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb

# it seems that the cmake install installed the lib in /usr/local instead. I'm not very familiar with cmake sorry, but

cat /etc/ld.so.conf.d/*

/usr/lib/x86_64-linux-gnu/libfakeroot
# libc default configuration
/usr/local/lib
# Multiarch support
/usr/local/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Legacy biarch compatibility support
/lib32
/usr/lib32



cd /opt/digikam/git/ && rm -rf build && ./bootstrap.linux


Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/CMakeFiles/CMakeError.log".


The bootstrap still find a 0.25 release, don't know why.
Seems a bit complicated for my few knowledges in this programming language :)

If you have an idea?

Cheers


Le mer. 12 sept. 2018 à 05:13, Andrey Goreev <[hidden email]> a écrit :

Or you could download digikam 5.9 rpm from either SUSE or Fedora repositories and try installing them in Ubuntu using alien command.

 

 

From: Andrey Goreev [mailto:[hidden email]]
Sent: September 11, 2018 11:05 AM
To: 'digiKam developers room - digiKam - Manage your photographs as a professional with the power of open source' <[hidden email]>
Subject: RE: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Have you solved this by chance?

I thought you could download exiv2 and libexiv 0.26 debs from Debian Experimental as a workaround.

Or try to compile to a .deb in a VM and then install them on the actual machine.

 

From: Digikam-devel [[hidden email]] On Behalf Of Matthieu
Sent: September 6, 2018 3:35 PM
To: [hidden email]
Subject: Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

 

Thanks Gilles for helping me.

Unfortunatelly, no more success:

 

# go in the exiv2 lib source files

cd exiv2-trunk

# ensure that everything has been removed from the system lib

sudo apt-get install libexiv2-14

sudo apt-get remove --purge libexiv2*

# remove my previous install, not sure if it can usefull...

sudo make uninstall

sudo make install

# check if I don't have any remaining lib

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

# try recompile

cd /opt/digikam/git

sudo rm -rf Build

./bootlstrap.linux

 

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0.26" (found /usr/lib/x86_64-linux-gnu/libexiv2.so)
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND        = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.
-- First try at finding OpenCV...
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:559 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:616 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)

 

ls -la /usr/lib/x86_64-linux-gnu/libexiv2*
ls: impossible d'accéder à '/usr/lib/x86_64-linux-gnu/libexiv2*': Aucun fichier ou dossier de ce type

 

Any idea?

 

 

Le jeu. 6 sept. 2018 à 16:02, Gilles Caulier <[hidden email]> a écrit :

The order to process is wrong...

 

1/ uninstall system package

2/ install exiv2 manually

3/ reconfigure digiKam

4/ recompile digiKam

 

In other words, re-install Exiv2 again manually. 

 

Gilles Caulier

 

2018-09-06 0:19 GMT+02:00 Matthieu <[hidden email]>:

Hi there,

 

thanks for all your answers.

I installed the lib in /usr/local because I was thinking it was the best choice.

I added the video option in configuration because I was thinking it was usefull.

 

Following your answers, I've removed my previous installation with

sudo make uninstall

 

recompile the libexiv with the following options:

./configure --prefix=/usr --without-ssh --disable-static

 

build id

make

 

and install it

sudo make install

 

I've also removed all the packages from my distribution related to this lib:

sudo apt-get remove libexiv2*

 

sudo updatedb && locate libexiv2.so
/usr/lib/libexiv2.so
/usr/lib/libexiv2.so.26
/usr/lib/libexiv2.so.26.0.0

 

then I tried to rebuild it:

cd /opt/digikam/git && rm -rf build && ./bootstrap.linux

Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Boost version: 1.65.1
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find Exiv2: Found unsuitable version "0.25.0", but required is at least "0

Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Gilles Caulier-4
Hi,

As this thread title do not mean, you try to compile digiKam with Exiv2 0.27 not 0.26.

Just before to tag digiKam source code as 6.0.0-beta2, i pass 2 week to support future Exiv2 0.27. I reported few bugs in Exiv2 team, and your problem is listed here :


To resume quickly, you need the last code from Exiv2 (git/master) to compile digiKam with this version.

Best

Gilles Caulier

Le mar. 16 oct. 2018 à 05:02, Matthieu <[hidden email]> a écrit :
Hi there,

bootstrap.local on the same configuration with the beta2 release allow me to pass the bootstrap process!
awesome, thanks

Unfortunately, I got some build errors

Please find the output bellow.

./bootstrap.local

Qt5     Install Path : /usr
digiKam Install Path : /home/foo/local/opt/digikam
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.44.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0")
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.44.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.44.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.44.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0")
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  XmlGui CoreAddons Config Service WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0")
-- Found KF5FileMetaData: /usr/lib/x86_64-linux-gnu/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.44.0")
-- Found KF5ThreadWeaver: /usr/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.44.0")
-- Found KF5NotifyConfig: /usr/lib/x86_64-linux-gnu/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.44.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.44.0")
-- Found KF5AkonadiContact: /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.7.3")
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: /usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found version "5.7.3")
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Boost version: 1.65.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found Exiv2: /usr/local/lib/libexiv2.so (found suitable version "0.27.0", minimum required is "0.26")
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   No package 'libavdevice' found
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so 
-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV: /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so 
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- Media player support is enabled.
-- First try at finding OpenCV...
-- Found OpenCV: /usr (found version "3.2.0") found components:  core objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
-- Found Marble: /usr/include 
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Checking for module 'lqr-1'
--   Found lqr-1, version 0.4.2
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so 
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Failed
-- Found Lqr-1: /usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-- Found Gphoto2: /usr/lib/x86_64-linux-gnu/libgphoto2.so 
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta2 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... YES
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
--
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
--  ==> Doxygen is found:          TRUE
--  ==> Graphviz Dot is found:     YES
--  To build API documentation use 'make doc'
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.44.0")
-- Found KF5: success (found version "5.44.0") found components:  DocTools
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  DocTools
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/digikam/git/build
Now run make in /opt/digikam/git/build.

[Important] After compiling and installing digiKam, run the script build/finish_install.sh to finalize the install.

cd build/ && make clean && make

Scanning dependencies of target digikam-gitversion
[  0%] Built target digikam-gitversion
Scanning dependencies of target dimg_src_autogen
[  0%] Automatic MOC for target dimg_src
[  0%] Built target dimg_src_autogen
Scanning dependencies of target dimg_src
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/dimgloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pngloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/jpegloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/tiffloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/rawloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/ppmloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/qimageloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pgfloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/jpegsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pngsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/tiffsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pgfsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgbuiltinfilter.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgthreadedfilter.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgthreadedanalyser.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgfiltermanager.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgfiltergenerator.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/filteractionfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/randomnumbergenerator.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/rawprocessingfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/borderfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/bordersettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/texturefilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/film/filmfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/blurfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/blurfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/colorfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/colorfxsettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/distortionfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/charcoalfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/embossfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/filmgrainfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/filmgrainsettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/invertfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/pixelsaliasfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/oilpaintfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/raindropfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/autolevelsfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/autoexpofilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/equalizefilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/stretchfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/normalizefilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/cb/cbfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/cb/cbsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bcg/bcgfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bcg/bcgsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/bwsepiafilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/bwsepiasettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/tonalityfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/infraredfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/mixerfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/mixersettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hslfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hslsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hspreviewwidget.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccmanager.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccprofile.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccprofilesettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/icctransform.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/icctransformfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccsettingscontainer.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/digikam-lcms.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastcontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrestimate.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/sharpenfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/unsharpmaskfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/sharpsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/imagelevels.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/levelsfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/imagehistogram.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogrambox.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogramwidget.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogrampainter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvescontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/imagecurves.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvesfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvessettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curveswidget.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvesbox.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbcontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/freerotationfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/freerotationsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/shearfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/autocrop.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/greycstoration/greycstorationfilter.cpp.o
In file included from /opt/digikam/git/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static char cimg_library::cimg::type<char>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2138:63: warning: left shift of negative value [-Wshift-negative-value]
       static char min() { return (char)(-1L<<(8*sizeof(char)-1)); }
                                                               ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static char cimg_library::cimg::type<char>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2139:65: warning: left shift of negative value [-Wshift-negative-value]
       static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); }
                                                                 ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static signed char cimg_library::cimg::type<signed char>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2147:84: warning: left shift of negative value [-Wshift-negative-value]
       static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); }
                                                                                    ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static signed char cimg_library::cimg::type<signed char>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2148:86: warning: left shift of negative value [-Wshift-negative-value]
       static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); }
                                                                                      ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static short int cimg_library::cimg::type<short int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2165:66: warning: left shift of negative value [-Wshift-negative-value]
       static short min() { return (short)(-1L<<(8*sizeof(short)-1)); }
                                                                  ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static short int cimg_library::cimg::type<short int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2166:68: warning: left shift of negative value [-Wshift-negative-value]
       static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); }
                                                                    ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static int cimg_library::cimg::type<int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2183:60: warning: left shift of negative value [-Wshift-negative-value]
       static int min() { return (int)(-1L<<(8*sizeof(int)-1)); }
                                                            ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static int cimg_library::cimg::type<int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2184:62: warning: left shift of negative value [-Wshift-negative-value]
       static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); }
                                                              ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static long int cimg_library::cimg::type<long int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2201:63: warning: left shift of negative value [-Wshift-negative-value]
       static long min() { return (long)(-1L<<(8*sizeof(long)-1)); }
                                                               ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static long int cimg_library::cimg::type<long int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2202:65: warning: left shift of negative value [-Wshift-negative-value]
       static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); }
                                                                 ^
In file included from /opt/digikam/git/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<typename cimg_library::cimg::superset<T, float>::type> cimg_library::CImg<T>::get_pointwise_norm(int) const’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
             if (tmp>n) n=tmp; res(x,y,z) = n;
             ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
             if (tmp>n) n=tmp; res(x,y,z) = n;
                               ^~~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<T>& cimg_library::CImg<T>::draw_graph(const cimg_library::CImg<t>&, const tc*, float, unsigned int, unsigned int, double, double, unsigned int)’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
       if (color1) delete[] color1; if (color2) delete[] color2;
       ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
       if (color1) delete[] color1; if (color2) delete[] color2;
                                    ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<typename cimg_library::cimg::last<T, int>::type> cimg_library::CImg<T>::_get_select(cimg_library::CImgDisplay&, const char*, int, unsigned int*, const unsigned char*, int, int, int) const’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;
                           ^~
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/greycstoration/greycstorationsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/antivignettingfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/antivignettingsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensdistortionfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/pixelaccess.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectionfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectionsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectioncontainer.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalitycontainer.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalitysettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_blur.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_exposure.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_noise.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_compression.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/contentawarefilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfunfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfuncameraselector.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfuniface.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfunsettings.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/refocusfilter.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/matrix.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimg.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/drawdecoding.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimgscale.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dcolor.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dcolorcomposer.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/dimagehistory.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/filteraction.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/historyimageid.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimg_src_autogen/mocs_compilation.cpp.o
[  5%] Built target dimg_src
Scanning dependencies of target dmetadata_src_autogen
[  5%] Automatic MOC for target dmetadata_src
[  5%] Built target dmetadata_src_autogen
Scanning dependencies of target dmetadata_src
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_p.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_data.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_image.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_comments.cpp.o
[  6%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp: In member function ‘Digikam::MetaEngine::TagsMap Digikam::MetaEngine::getStdExifTagsList() const’:
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp:1082:55: error: ‘groupList’ is not a member of ‘Exiv2::ExifTags’
         const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
                                                       ^~~~~~~~~
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp: In member function ‘Digikam::MetaEngine::TagsMap Digikam::MetaEngine::getMakernoteTagsList() const’:
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp:1143:55: error: ‘groupList’ is not a member of ‘Exiv2::ExifTags’
         const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
                                                       ^~~~~~~~~
core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/build.make:182: recipe for target 'core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o' failed
make[2]: *** [core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o] Error 1
CMakeFiles/Makefile2:2157: recipe for target 'core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/all' failed
make[1]: *** [core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

it seems the build process can find my lib (0.27.
Having a look on the source code seems include ths definition.
Any idea?

Regards

Mat

Le mar. 2 oct. 2018 à 19:13, Matthieu <[hidden email]> a écrit :
Hello list,

I still have some issues.
Following your previous answer, I've tried just to move the /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake as /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak to view the expected output.

Nothing went better: the output was still finding a 0.25 release, but I've only the 0.27 release.

So I've looked for some cache issue in my build folder:
- remove the build folder does not bring some improvement.
- I got a different output after moving the CMakeCache file as

mv CMakeCache.txt CMakeCache.txt.ba

Now, it seems that the bootstrap linux found the appropriate library, but is unable to parse the release number:

so:

sudo mv /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake && ls /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

cd /opt/digikam/git && git status
Sur la branche master
Votre branche est à jour avec 'origin/master'.

Fichiers non suivis:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt.bak
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh

aucune modification ajoutée à la validation mais des fichiers non suivis sont présents (utilisez "git add" pour les suivre)

git pull
remote: Counting objects: 114, done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 114 (delta 89), reused 0 (delta 0)
Réception d'objets: 100% (114/114), 12.04 KiB | 4.01 MiB/s, fait.
Résolution des deltas: 100% (89/89), complété avec 29 objets locaux.
Depuis git://anongit.kde.org/digikam
   4c81521377..7a875c18f5  master     -> origin/master
Mise à jour 4c81521377..7a875c18f5
Fast-forward
 core/libs/album/albummanager_p.h                                 |   5 ++
 core/libs/database/collection/collectionscanner.cpp              | 135 ++++++++++++++++++++---------------------------
 core/libs/database/collection/collectionscanner.h                |   3 --
 core/tests/fileio/statesavingobjecttest.cpp                      |  51 +++++++++---------
 core/tests/fileio/statesavingobjecttest.h                        |   3 +-
 core/tests/geolocation/geoiface/test_itemmarkertiler.cpp         | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++------------------
 core/tests/imgqsort/detectblur/CMakeLists.txt                    |   1 +
 core/tests/imgqsort/detectblur/detectblur.cpp                    |  43 +++++++--------
 core/tests/imgqsort/detectcompression/detectcompression.cpp      |  79 ++++++++++++++--------------
 core/tests/imgqsort/detectnoise/detectnoise.cpp                  |  16 +++---
 core/tests/imgqsort/testimages/createtestcases.sh                |  63 +++++++++++-----------
 core/utilities/assistants/htmlgallery/generator/gallerytheme.cpp |  20 +++----
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.cpp   |   5 +-
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.h     |   4 +-
 14 files changed, 348 insertions(+), 273 deletions(-)
 mode change 100644 => 100755 core/tests/imgqsort/testimages/createtestcases.sh
La branche courante master est à jour.

rm -rf && ls CMakeCache.txt*
CMakeCache.txt.bak

./bootstrap.linux
Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.44.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0")
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.44.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.44.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.44.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0")
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  XmlGui CoreAddons Config Service WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0")
-- Found KF5FileMetaData: /usr/lib/x86_64-linux-gnu/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.44.0")
-- Found KF5ThreadWeaver: /usr/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.44.0")
-- Found KF5NotifyConfig: /usr/lib/x86_64-linux-gnu/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.44.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.44.0")
-- Found KF5AkonadiContact: /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.7.3")
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: /usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found version "5.7.3")
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Boost version: 1.65.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Could NOT find Exiv2: Found unsuitable version "..", but required is at least "0.26" (found /usr/local/lib/libexiv2.so)
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   No package 'libavdevice' found
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so 
-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV: /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so 
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- Media player support is enabled.
-- First try at finding OpenCV...
-- Found OpenCV: /usr (found version "3.2.0") found components:  core objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
-- Found Marble: /usr/include 
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Checking for module 'lqr-1'
--   Found lqr-1, version 0.4.2
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so 
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Failed
-- Found Lqr-1: /usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-- Found Gphoto2: /usr/lib/x86_64-linux-gnu/libgphoto2.so 
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:564 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:621 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/build/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/build/CMakeFiles/CMakeError.log".

sudo updatedb && locate libexiv
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0

readelf -d /usr/local/lib/libexiv2.so

La section dynamique à l'offset 0x35aa20 contient 33 entrées :
  Étiquettes Type                         Nom/Valeur
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libz.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libm.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libc.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libgcc_s.so.1]
 0x000000000000000e (SONAME)             Bibliothèque soname: [libexiv2.so.0]
 0x000000000000001d (RUNPATH)            Bibliothèque runpath:[$ORIGIN/../lib]
 0x000000000000000c (INIT)               0xd11b8
 0x000000000000000d (FINI)               0x256be0
 0x0000000000000019 (INIT_ARRAY)         0x52a600
 0x000000000000001b (INIT_ARRAYSZ)       472 (octets)
 0x000000000000001a (FINI_ARRAY)         0x52a7d8
 0x000000000000001c (FINI_ARRAYSZ)       8 (octets)
 0x000000006ffffef5 (GNU_HASH)           0x1f0
 0x0000000000000005 (STRTAB)             0x1f768
 0x0000000000000006 (SYMTAB)             0x6ee0
 0x000000000000000a (STRSZ)              255697 (octets)
 0x000000000000000b (SYMENT)             24 (octets)
 0x0000000000000003 (PLTGOT)             0x55b000
 0x0000000000000002 (PLTRELSZ)           68952 (octets)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0xc0460
 0x0000000000000007 (RELA)               0x60040
 0x0000000000000008 (RELASZ)             394272 (octets)
 0x0000000000000009 (RELAENT)            24 (octets)
 0x000000006ffffffe (VERNEED)            0x5fef0
 0x000000006fffffff (VERNEEDNUM)         6
 0x000000006ffffff0 (VERSYM)             0x5de3a
 0x000000006ffffff9 (RELACOUNT)          14838
 0x0000000000000000 (NULL)               0x0

Any Ideas?

Regards

Mat

Le sam. 15 sept. 2018 à 17:53, Gilles Caulier <[hidden email]> a écrit :
yes i have an idea :

==> /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

This one is obsolete and a dupplicate file from KDE. We have one updated in digiKam source code.

I suspect that KDE one is taken in first instead digikam one.

In ALL case : never install KDE4LibSupport KDE component. It for compatibility for older KF5 framework not ported to pure Qt5 API.

The port is mostly done everywhere and digiKam is ported to pure Qt5 since... 5.0.0.

So it's urgent to drop definitively the compatibility package everywhere. It's a source of dysfunctions.

Another remark. Why do you store these temporary files on your computer :

/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp


There are nothing to do in your computer, and i don't know how this files have to be installed here.

Best

Gilles Caulier

2018-09-15 6:23 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

Sorry for this late answer, I''ve been busy.
No, I didn't solve it. So I've tried with the 0.27 from their git repository instead.

Here's the output:

# from my previous build folder
sudo make uninstall
...
sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2json
/usr/local/lib/libexiv2.a
/usr/local/lib/pkgconfig/exiv2.lsm
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb



git clone https://github.com/Exiv2/exiv2.git && cd exiv2

cmake .

-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Found Intl: /usr/include 
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so 
-- ICONV_INCLUDE_DIR :
-- ICONV_LIBRARIES : /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for munmap
-- Looking for munmap - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for process.h
-- Looking for process.h - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Install prefix:    /usr/local
-- ------------------------------------------------------------------
-- CMake Generator:   Unix Makefiles
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
--  --- Compiler flags ---
-- General:            -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
-- Extra:             
-- Debug:             -g3 -gstrict-dwarf -O0
-- Release:           -O3 -DNDEBUG
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
--  --- Linker flags ---
-- General:          
-- Debug:            
-- Release:          
-- RelWithDebInfo:   
-- MinSizeRel:       
--
-- Compiler Options
-- Warnings as errors:                 NO
-- Use extra compiler warning flags:   NO
--
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
-- ------------------------------------------------------------------
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Building video support:             NO
-- Building webready support:          NO
-- Building exiv2 command:             YES
-- Building samples:                   YES
-- Building PO files:                  NO
-- Building unit tests:                NO
-- Building doc:                       NO
-- Building with coverage flags:       NO
-- Using ccache:                       NO
-- ------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/foo/Download/softs/exiv2


make -j

Scanning dependencies of target exiv2lib_int
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XML_Node.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils-FileInfo.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Serialize.cpp.o
[  1%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils.cpp.o
[  2%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPCore_Impl.cpp.o
[  3%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Parse.cpp.o
[  4%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPUtils.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPMeta.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPIterator.cpp.o
[  6%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-GetSet.cpp.o
[  7%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta.cpp.o
[  7%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/nikonmn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/rw2image_int.cpp.o
[  8%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/samsungmn_int.cpp.o
[  9%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/panasonicmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/olympusmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/orfimage_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/casiomn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sigmamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/minoltamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/cr2header_int.cpp.o
[ 16%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/fujimn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/crwimage_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffvisitor_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pentaxmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/makernote_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffcomposite_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pngchunk_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffimage_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tags_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sonymn_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/helper_functions.cpp.o
[ 22%] Linking CXX static library ../lib/libxmp.a
[ 25%] Built target xmp
[ 25%] Built target exiv2lib_int
Scanning dependencies of target exiv2lib
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/convert.cpp.o
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/bmpimage.cpp.o
[ 27%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/bigtiffimage.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/basicio.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/image.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/rw2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/crwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/gifimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/types.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/preview.cpp.o
[ 36%] Building CXX object src/CMakeFiles/exiv2lib.dir/orfimage.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/futils.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/matroskavideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/utilsvideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/cr2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/quicktimevideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/rafimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/http.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/exif.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/error.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/easyaccess.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/mrwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/metadatum.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/iptc.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/value.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/ini.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/tgaimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/pgfimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/properties.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/psdimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/datasets.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/jpgimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/version.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/epsimage.cpp.o
[ 48%] Building CXX object src/CMakeFiles/exiv2lib.dir/tiffimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/pngimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/riffvideo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/tags.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmpsidecar.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/webpimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/jp2image.cpp.o
[ 51%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmp.cpp.o
[ 51%] Linking CXX shared library ../lib/libexiv2.so
[ 51%] Built target exiv2lib
Scanning dependencies of target write-test
Scanning dependencies of target iptctest
Scanning dependencies of target largeiptc-test
Scanning dependencies of target convert-test
Scanning dependencies of target werror-test
Scanning dependencies of target remotetest
Scanning dependencies of target tiff-test
Scanning dependencies of target iptcprint
Scanning dependencies of target mmap-test
Scanning dependencies of target easyaccess-test
Scanning dependencies of target xmpprint
Scanning dependencies of target exifdata-test
Scanning dependencies of target xmpparse
Scanning dependencies of target ini-test
Scanning dependencies of target exifvalue
Scanning dependencies of target xmpparser-test
Scanning dependencies of target key-test
Scanning dependencies of target iotest
Scanning dependencies of target write2-test
Scanning dependencies of target conntest
Scanning dependencies of target prevtest
Scanning dependencies of target mrwthumb
Scanning dependencies of target exifdata
Scanning dependencies of target metacopy
Scanning dependencies of target addmoddel
Scanning dependencies of target stringto-test
Scanning dependencies of target geotag
Scanning dependencies of target pathtest
Scanning dependencies of target taglist
Scanning dependencies of target xmpsample
Scanning dependencies of target exifprint
Scanning dependencies of target getopt-test
Scanning dependencies of target exiv2
Scanning dependencies of target exifcomment
Scanning dependencies of target xmpdump
Scanning dependencies of target exiv2json
Scanning dependencies of target iptceasy
[ 52%] Building CXX object samples/CMakeFiles/ini-test.dir/ini-test.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/iptctest.dir/iptctest.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/convert-test.dir/convert-test.cpp.o
[ 54%] Building CXX object samples/CMakeFiles/prevtest.dir/prevtest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write2-test.dir/write2-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/geotag.dir/geotag.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write-test.dir/write-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/largeiptc-test.dir/largeiptc-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpdump.dir/xmpdump.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifvalue.dir/exifvalue.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/mrwthumb.dir/mrwthumb.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/werror-test.dir/werror-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/key-test.dir/key-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/utils.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/conntest.dir/conntest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/taglist.dir/taglist.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpsample.dir/xmpsample.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/addmoddel.dir/addmoddel.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/getopt-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifprint.dir/exifprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifdata-test.dir/exifdata-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/iptcprint.dir/iptcprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/remotetest.dir/remotetest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpparse.dir/xmpparse.cpp.o
[ 64%] Building CXX object samples/CMakeFiles/xmpprint.dir/xmpprint.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/exifdata.dir/exifdata.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/xmpparser-test.dir/xmpparser-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/stringto-test.dir/stringto-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/tiff-test.dir/tiff-test.cpp.o
[ 68%] Building CXX object samples/CMakeFiles/exifcomment.dir/exifcomment.cpp.o
[ 69%] Building CXX object samples/CMakeFiles/easyaccess-test.dir/easyaccess-test.cpp.o
[ 70%] Building CXX object samples/CMakeFiles/iotest.dir/iotest.cpp.o
[ 71%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/getopt.cpp.o
[ 72%] Building CXX object samples/CMakeFiles/mmap-test.dir/mmap-test.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/exiv2json.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/Jzon.cpp.o
[ 75%] Building CXX object src/CMakeFiles/exiv2.dir/utils.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/actions.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/getopt.cpp.o
[ 75%] Building CXX object samples/CMakeFiles/pathtest.dir/path-test.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/metacopy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/iptceasy.dir/iptceasy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/getopt.cpp.o
[ 79%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/utils.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/utils.cpp.o
[ 78%] Building CXX object src/CMakeFiles/exiv2.dir/exiv2.cpp.o
[ 78%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/getopt.cpp.o
[ 79%] Linking CXX executable ../bin/ini-test
[ 79%] Built target ini-test
[ 80%] Linking CXX executable ../bin/xmpdump
[ 80%] Linking CXX executable ../bin/exifcomment
[ 80%] Linking CXX executable ../bin/exifvalue
[ 82%] Linking CXX executable ../bin/taglist
[ 82%] Linking CXX executable ../bin/convert-test
[ 82%] Linking CXX executable ../bin/stringto-test
[ 83%] Linking CXX executable ../bin/largeiptc-test
[ 83%] Linking CXX executable ../bin/getopt-test
[ 84%] Linking CXX executable ../bin/xmpparse
[ 85%] Linking CXX executable ../bin/path-test
[ 85%] Linking CXX executable ../bin/key-test
[ 86%] Linking CXX executable ../bin/werror-test
[ 86%] Linking CXX executable ../bin/mmap-test
[ 87%] Linking CXX executable ../bin/iotest
[ 87%] Linking CXX executable ../bin/mrwthumb
[ 87%] Linking CXX executable ../bin/easyaccess-test
[ 87%] Linking CXX executable ../bin/xmpprint
[ 88%] Linking CXX executable ../bin/prevtest
[ 88%] Linking CXX executable ../bin/remotetest
[ 89%] Linking CXX executable ../bin/metacopy
[ 90%] Linking CXX executable ../bin/iptcprint
[ 90%] Linking CXX executable ../bin/xmpparser-test
[ 91%] Linking CXX executable ../bin/exifprint
[ 92%] Linking CXX executable ../bin/iptceasy
[ 93%] Linking CXX executable ../bin/conntest
[ 93%] Linking CXX executable ../bin/iptctest
[ 94%] Linking CXX executable ../bin/tiff-test
[ 94%] Linking CXX executable ../bin/write-test
[ 94%] Built target werror-test
[ 94%] Built target xmpdump
[ 94%] Built target taglist
[ 94%] Built target exif
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Digikam on Ubuntu 18.04 with libexifv2 0.26

Matthieu
Many thanks gilles.

Regards

Mat

Le mar. 16 oct. 2018 à 18:33, Gilles Caulier <[hidden email]> a écrit :
Hi,

As this thread title do not mean, you try to compile digiKam with Exiv2 0.27 not 0.26.

Just before to tag digiKam source code as 6.0.0-beta2, i pass 2 week to support future Exiv2 0.27. I reported few bugs in Exiv2 team, and your problem is listed here :


To resume quickly, you need the last code from Exiv2 (git/master) to compile digiKam with this version.

Best

Gilles Caulier

Le mar. 16 oct. 2018 à 05:02, Matthieu <[hidden email]> a écrit :
Hi there,

bootstrap.local on the same configuration with the beta2 release allow me to pass the bootstrap process!
awesome, thanks

Unfortunately, I got some build errors

Please find the output bellow.

./bootstrap.local

Qt5     Install Path : /usr
digiKam Install Path : /home/foo/local/opt/digikam
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.44.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0")
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.44.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.44.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.44.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0")
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  XmlGui CoreAddons Config Service WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0")
-- Found KF5FileMetaData: /usr/lib/x86_64-linux-gnu/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.44.0")
-- Found KF5ThreadWeaver: /usr/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.44.0")
-- Found KF5NotifyConfig: /usr/lib/x86_64-linux-gnu/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.44.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.44.0")
-- Found KF5AkonadiContact: /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.7.3")
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: /usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found version "5.7.3")
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Boost version: 1.65.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found Exiv2: /usr/local/lib/libexiv2.so (found suitable version "0.27.0", minimum required is "0.26")
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   No package 'libavdevice' found
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so 
-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV: /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so 
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- Media player support is enabled.
-- First try at finding OpenCV...
-- Found OpenCV: /usr (found version "3.2.0") found components:  core objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
-- Found Marble: /usr/include 
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Checking for module 'lqr-1'
--   Found lqr-1, version 0.4.2
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so 
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Failed
-- Found Lqr-1: /usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-- Found Gphoto2: /usr/lib/x86_64-linux-gnu/libgphoto2.so 
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta2 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... YES
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
--
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
--  ==> Doxygen is found:          TRUE
--  ==> Graphviz Dot is found:     YES
--  To build API documentation use 'make doc'
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.44.0")
-- Found KF5: success (found version "5.44.0") found components:  DocTools
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  DocTools
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/digikam/git/build
Now run make in /opt/digikam/git/build.

[Important] After compiling and installing digiKam, run the script build/finish_install.sh to finalize the install.

cd build/ && make clean && make

Scanning dependencies of target digikam-gitversion
[  0%] Built target digikam-gitversion
Scanning dependencies of target dimg_src_autogen
[  0%] Automatic MOC for target dimg_src
[  0%] Built target dimg_src_autogen
Scanning dependencies of target dimg_src
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/dimgloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pngloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/jpegloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/tiffloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/rawloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/ppmloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/qimageloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pgfloader.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/jpegsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pngsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/tiffsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/loaders/pgfsettings.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgbuiltinfilter.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgthreadedfilter.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgthreadedanalyser.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgfiltermanager.cpp.o
[  0%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/dimgfiltergenerator.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/filteractionfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/randomnumbergenerator.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/rawprocessingfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/borderfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/bordersettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/decorate/texturefilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/film/filmfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/blurfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/blurfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/colorfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/colorfxsettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/distortionfxfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/charcoalfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/embossfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/filmgrainfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/filmgrainsettings.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/invertfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/pixelsaliasfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/oilpaintfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/fx/raindropfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/autolevelsfilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/autoexpofilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/equalizefilter.cpp.o
[  1%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/stretchfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/auto/normalizefilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/cb/cbfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/cb/cbsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bcg/bcgfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bcg/bcgsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/bwsepiafilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/bwsepiasettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/tonalityfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/infraredfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/mixerfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/bw/mixersettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hslfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hslsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/hsl/hspreviewwidget.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccmanager.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccprofile.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccprofilesettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/icctransform.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/icctransformfilter.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccsettingscontainer.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/iccsettings.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/icc/digikam-lcms.cpp.o
[  2%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lc/localcontrastcontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrestimate.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/nr/nrsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/sharpenfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/unsharpmaskfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/sharpsettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/imagelevels.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/levelsfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/imagehistogram.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogrambox.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogramwidget.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/levels/histogrampainter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvescontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/imagecurves.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvesfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvessettings.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curveswidget.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/curves/curvesbox.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbcontainer.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbfilter.cpp.o
[  3%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/wb/wbsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/freerotationfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/freerotationsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/shearfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/autocrop.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/greycstoration/greycstorationfilter.cpp.o
In file included from /opt/digikam/git/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static char cimg_library::cimg::type<char>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2138:63: warning: left shift of negative value [-Wshift-negative-value]
       static char min() { return (char)(-1L<<(8*sizeof(char)-1)); }
                                                               ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static char cimg_library::cimg::type<char>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2139:65: warning: left shift of negative value [-Wshift-negative-value]
       static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); }
                                                                 ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static signed char cimg_library::cimg::type<signed char>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2147:84: warning: left shift of negative value [-Wshift-negative-value]
       static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); }
                                                                                    ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static signed char cimg_library::cimg::type<signed char>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2148:86: warning: left shift of negative value [-Wshift-negative-value]
       static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); }
                                                                                      ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static short int cimg_library::cimg::type<short int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2165:66: warning: left shift of negative value [-Wshift-negative-value]
       static short min() { return (short)(-1L<<(8*sizeof(short)-1)); }
                                                                  ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static short int cimg_library::cimg::type<short int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2166:68: warning: left shift of negative value [-Wshift-negative-value]
       static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); }
                                                                    ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static int cimg_library::cimg::type<int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2183:60: warning: left shift of negative value [-Wshift-negative-value]
       static int min() { return (int)(-1L<<(8*sizeof(int)-1)); }
                                                            ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static int cimg_library::cimg::type<int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2184:62: warning: left shift of negative value [-Wshift-negative-value]
       static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); }
                                                              ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static long int cimg_library::cimg::type<long int>::min()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2201:63: warning: left shift of negative value [-Wshift-negative-value]
       static long min() { return (long)(-1L<<(8*sizeof(long)-1)); }
                                                               ^
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function ‘static long int cimg_library::cimg::type<long int>::max()’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2202:65: warning: left shift of negative value [-Wshift-negative-value]
       static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); }
                                                                 ^
In file included from /opt/digikam/git/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<typename cimg_library::cimg::superset<T, float>::type> cimg_library::CImg<T>::get_pointwise_norm(int) const’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
             if (tmp>n) n=tmp; res(x,y,z) = n;
             ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
             if (tmp>n) n=tmp; res(x,y,z) = n;
                               ^~~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<T>& cimg_library::CImg<T>::draw_graph(const cimg_library::CImg<t>&, const tc*, float, unsigned int, unsigned int, double, double, unsigned int)’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
       if (color1) delete[] color1; if (color2) delete[] color2;
       ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
       if (color1) delete[] color1; if (color2) delete[] color2;
                                    ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function ‘cimg_library::CImg<typename cimg_library::cimg::last<T, int>::type> cimg_library::CImg<T>::_get_select(cimg_library::CImgDisplay&, const char*, int, unsigned int*, const unsigned char*, int, int, int) const’:
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
                           ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;
         ^~
/opt/digikam/git/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;
                           ^~
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/greycstoration/greycstorationsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/antivignettingfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/antivignettingsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensdistortionfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/pixelaccess.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectionfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectionsettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/redeye/redeyecorrectioncontainer.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalitycontainer.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalitysettings.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_blur.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_exposure.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_noise.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/imgqsort/imagequalityparser_compression.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/transform/contentawarefilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfunfilter.cpp.o
[  4%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfuncameraselector.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfuniface.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/lens/lensfunsettings.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/refocusfilter.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/filters/sharp/matrix.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimg.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/drawdecoding.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimgscale.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dcolor.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dcolorcomposer.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/dimagehistory.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/filteraction.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/imagehistory/historyimageid.cpp.o
[  5%] Building CXX object core/libs/dimg/CMakeFiles/dimg_src.dir/dimg_src_autogen/mocs_compilation.cpp.o
[  5%] Built target dimg_src
Scanning dependencies of target dmetadata_src_autogen
[  5%] Automatic MOC for target dmetadata_src
[  5%] Built target dmetadata_src_autogen
Scanning dependencies of target dmetadata_src
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_p.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_data.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_image.cpp.o
[  5%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_comments.cpp.o
[  6%] Building CXX object core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp: In member function ‘Digikam::MetaEngine::TagsMap Digikam::MetaEngine::getStdExifTagsList() const’:
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp:1082:55: error: ‘groupList’ is not a member of ‘Exiv2::ExifTags’
         const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
                                                       ^~~~~~~~~
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp: In member function ‘Digikam::MetaEngine::TagsMap Digikam::MetaEngine::getMakernoteTagsList() const’:
/opt/digikam/git/core/libs/dmetadata/metaengine_exif.cpp:1143:55: error: ‘groupList’ is not a member of ‘Exiv2::ExifTags’
         const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList();
                                                       ^~~~~~~~~
core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/build.make:182: recipe for target 'core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o' failed
make[2]: *** [core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/metaengine_exif.cpp.o] Error 1
CMakeFiles/Makefile2:2157: recipe for target 'core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/all' failed
make[1]: *** [core/libs/dmetadata/CMakeFiles/dmetadata_src.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

it seems the build process can find my lib (0.27.
Having a look on the source code seems include ths definition.
Any idea?

Regards

Mat

Le mar. 2 oct. 2018 à 19:13, Matthieu <[hidden email]> a écrit :
Hello list,

I still have some issues.
Following your previous answer, I've tried just to move the /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake as /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak to view the expected output.

Nothing went better: the output was still finding a 0.25 release, but I've only the 0.27 release.

So I've looked for some cache issue in my build folder:
- remove the build folder does not bring some improvement.
- I got a different output after moving the CMakeCache file as

mv CMakeCache.txt CMakeCache.txt.ba

Now, it seems that the bootstrap linux found the appropriate library, but is unable to parse the release number:

so:

sudo mv /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake.bak /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake && ls /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

cd /opt/digikam/git && git status
Sur la branche master
Votre branche est à jour avec 'origin/master'.

Fichiers non suivis:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)

    CMakeCache.txt.bak
    CMakeDoxyfile.in
    CMakeDoxygenDefaults.cmake
    CMakeFiles/
    CMakeTmp/
    DartConfiguration.tcl
    app/
    build/
    core/app/utils/digikam_config.h
    core/app/utils/digikam_opencv.h
    core/libs/rawengine/libraw/libraw_config.h
    core/prefix.sh
    doc/
    ecm_uninstall.cmake
    extra/
    libs/
    prefix.sh

aucune modification ajoutée à la validation mais des fichiers non suivis sont présents (utilisez "git add" pour les suivre)

git pull
remote: Counting objects: 114, done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 114 (delta 89), reused 0 (delta 0)
Réception d'objets: 100% (114/114), 12.04 KiB | 4.01 MiB/s, fait.
Résolution des deltas: 100% (89/89), complété avec 29 objets locaux.
Depuis git://anongit.kde.org/digikam
   4c81521377..7a875c18f5  master     -> origin/master
Mise à jour 4c81521377..7a875c18f5
Fast-forward
 core/libs/album/albummanager_p.h                                 |   5 ++
 core/libs/database/collection/collectionscanner.cpp              | 135 ++++++++++++++++++++---------------------------
 core/libs/database/collection/collectionscanner.h                |   3 --
 core/tests/fileio/statesavingobjecttest.cpp                      |  51 +++++++++---------
 core/tests/fileio/statesavingobjecttest.h                        |   3 +-
 core/tests/geolocation/geoiface/test_itemmarkertiler.cpp         | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++------------------
 core/tests/imgqsort/detectblur/CMakeLists.txt                    |   1 +
 core/tests/imgqsort/detectblur/detectblur.cpp                    |  43 +++++++--------
 core/tests/imgqsort/detectcompression/detectcompression.cpp      |  79 ++++++++++++++--------------
 core/tests/imgqsort/detectnoise/detectnoise.cpp                  |  16 +++---
 core/tests/imgqsort/testimages/createtestcases.sh                |  63 +++++++++++-----------
 core/utilities/assistants/htmlgallery/generator/gallerytheme.cpp |  20 +++----
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.cpp   |   5 +-
 core/utilities/assistants/htmlgallery/wizard/htmlthemepage.h     |   4 +-
 14 files changed, 348 insertions(+), 273 deletions(-)
 mode change 100644 => 100755 core/tests/imgqsort/testimages/createtestcases.sh
La branche courante master est à jour.

rm -rf && ls CMakeCache.txt*
CMakeCache.txt.bak

./bootstrap.linux
Qt5     Install Path : /usr
digiKam Install Path : /usr
CMake binary         : cmake
Build Directory      : /opt/digikam/git/build
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.
-- ----------------------------------------------------------------------------------
-- Compilation configuration for: digikam-software-collection
-- digiKam core will be compiled.................. YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... YES
-- Tests code will be compiled.................... YES
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.44.0")
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0")
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0")
-- Found KF5Service: /usr/lib/x86_64-linux-gnu/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.44.0")
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.44.0")
-- Found KF5Solid: /usr/lib/x86_64-linux-gnu/cmake/KF5Solid/KF5SolidConfig.cmake (found version "5.44.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.15")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0")
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.1.0") found components:  XmlGui CoreAddons Config Service WindowSystem Solid I18n
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0")
-- Found KF5FileMetaData: /usr/lib/x86_64-linux-gnu/cmake/KF5FileMetaData/KF5FileMetaDataConfig.cmake (found version "5.44.0")
-- Found KF5ThreadWeaver: /usr/lib/x86_64-linux-gnu/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version "5.44.0")
-- Found KF5NotifyConfig: /usr/lib/x86_64-linux-gnu/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.44.0")
-- Found KF5Notifications: /usr/lib/x86_64-linux-gnu/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.44.0")
-- Found KF5AkonadiContact: /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.7.3")
-- Could NOT find KF5Sane: found neither KF5SaneConfig.cmake nor kf5sane-config.cmake
-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake
-- Found KF5CalendarCore: /usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (found version "5.7.3")
-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so 
-- Libjpeg version: 84
-- Using libjpeg sub-directory: libjpeg/84
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Boost version: 1.65.1
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'lcms2'
--   Found lcms2, version 2.9
-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Could NOT find Exiv2: Found unsuitable version "..", but required is at least "0.26" (found /usr/local/lib/libexiv2.so)
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   No package 'libavdevice' found
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so 
-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
-- FFMPEG_DEFINITIONS  =
-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
-- Found QtAV: /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so 
-- Found QtAV version 1.12.0
-- QtAV_FOUND       = TRUE
-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
-- QtAV_VERSION     = 1.12.0
-- Media player support is enabled.
-- First try at finding OpenCV...
-- Found OpenCV: /usr (found version "3.2.0") found components:  core objdetect imgproc imgcodecs
-- OpenCV Root directory is: /usr/share/OpenCV
-- OpenCV: Found version 3.2.0 (required: 3.1.0)
-- OpenCV headers: /usr/include;/usr/include/opencv
-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found BISON: /usr/bin/bison (found version "3.0.4")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found version "1.1.29")
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.4")
-- Found Marble: /usr/include 
-- Marble_FOUND       = TRUE
-- MARBLE_INCLUDE_DIR = /usr/include
-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR)
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Checking for module 'lqr-1'
--   Found lqr-1, version 0.4.2
-- Found GLIB2: /usr/lib/x86_64-linux-gnu/libglib-2.0.so 
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Failed
-- Found Lqr-1: /usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-- Found Gphoto2: /usr/lib/x86_64-linux-gnu/libgphoto2.so 
-- libgphoto2 found    : TRUE
-- libgphoto2 version  : 2.5.16
-- libgphoto2 includes : /usr/include/gphoto2
-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so
-- libgphoto2 API version >= 2.5
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
--
-- --------------------------------------------------
-- digiKam RawEngine dependencies checks:
--
-- RawEngine will not be compiled with RedCine codec
-- Looking for LibJpeg
-- RawEngine will be compiled with DNG lossy codec
-- Looking for PThreads
-- --------------------------------------------------
--
--
-- ----------------------------------------------------------------------------------
--  digiKam 6.0.0-beta1 dependencies results   <http://www.digikam.org>
--
--  MySQL Database Support will be compiled.. YES (optional)
--  MySQL Internal Support will be compiled.. YES (optional)
--  DBUS Support will be compiled............ YES (optional)
--  App. Style Support will be compiled...... YES (optional)
--  QWebEngine Support will be compiled...... NO  (optional)
--  libboostgraph found...................... YES
--  libexiv2 found........................... NO
CMake Error at core/cmake/modules/MacroUtils.cmake:44 (message):
   libexiv2 is needed. You need to install the libexiv2 (version >= 0.26 development package.
Call Stack (most recent call first):
  core/CMakeLists.txt:564 (PRINT_LIBRARY_STATUS)


--  libexiv2 website is at http://www.exiv2.org
--
--  libexpat found........................... YES
--  libjpeg found............................ YES
--  libkde found............................. YES
--  liblcms found............................ YES
--  libopencv found.......................... YES
--  libpng found............................. YES
--  libpthread found......................... YES
--  libqt found.............................. YES
--  libtiff found............................ YES
--  bison found.............................. YES (optional)
--  doxygen found............................ YES (optional)
--  flex found............................... YES (optional)
--  libakonadicontact found.................. YES (optional)
--  libeigen3 found.......................... YES (optional)
--  libgphoto2 found......................... YES (optional)
--  libjasper found.......................... NO  (optional)
--  digiKam will be compiled without JPEG2000 support.
--  Please install the libjasper (version >= 1.7.0) development package.
--
--  libkcalcore found........................ YES (optional)
--  libkvkontakte found...................... NO  (optional)
--  digiKam will be compiled without libkvkontakte support.
--  Please install the libkvkontakte (version >= 4.70.0) development package.
--
--  libkfilemetadata found................... YES (optional)
--  libkiconthemes found..................... YES (optional)
--  libkio found............................. YES (optional)
--  libknotifications found.................. YES (optional)
--  libknotifyconfig found................... YES (optional)
--  libksane found........................... NO  (optional)
--  digiKam will be compiled without flat scanners support.
--  Please install the libksane (version >= 5.0.0) development package.
--
--  liblensfun found......................... YES (optional)
--  liblqr-1 found........................... YES (optional)
--  libmarble found.......................... YES (optional)
--  libqtav found............................ YES (optional)
--  libthreadweaver found.................... YES (optional)
--  libxml2 found............................ YES (optional)
--  libxslt found............................ YES (optional)
--  OpenGL found............................. YES (optional)
CMake Error at core/CMakeLists.txt:621 (message):
   digiKam will be compiled.................. NO  (See the README file for more details about dependencies)


-- Configuring incomplete, errors occurred!
See also "/opt/digikam/git/build/CMakeFiles/CMakeOutput.log".
See also "/opt/digikam/git/build/CMakeFiles/CMakeError.log".

sudo updatedb && locate libexiv
/usr/local/lib/libexiv2.a
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.so.0
/usr/local/lib/libexiv2.so.0.27.0.0

readelf -d /usr/local/lib/libexiv2.so

La section dynamique à l'offset 0x35aa20 contient 33 entrées :
  Étiquettes Type                         Nom/Valeur
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libz.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libexpat.so.1]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libm.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libc.so.6]
 0x0000000000000001 (NEEDED)             Bibliothèque partagée: [libgcc_s.so.1]
 0x000000000000000e (SONAME)             Bibliothèque soname: [libexiv2.so.0]
 0x000000000000001d (RUNPATH)            Bibliothèque runpath:[$ORIGIN/../lib]
 0x000000000000000c (INIT)               0xd11b8
 0x000000000000000d (FINI)               0x256be0
 0x0000000000000019 (INIT_ARRAY)         0x52a600
 0x000000000000001b (INIT_ARRAYSZ)       472 (octets)
 0x000000000000001a (FINI_ARRAY)         0x52a7d8
 0x000000000000001c (FINI_ARRAYSZ)       8 (octets)
 0x000000006ffffef5 (GNU_HASH)           0x1f0
 0x0000000000000005 (STRTAB)             0x1f768
 0x0000000000000006 (SYMTAB)             0x6ee0
 0x000000000000000a (STRSZ)              255697 (octets)
 0x000000000000000b (SYMENT)             24 (octets)
 0x0000000000000003 (PLTGOT)             0x55b000
 0x0000000000000002 (PLTRELSZ)           68952 (octets)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0xc0460
 0x0000000000000007 (RELA)               0x60040
 0x0000000000000008 (RELASZ)             394272 (octets)
 0x0000000000000009 (RELAENT)            24 (octets)
 0x000000006ffffffe (VERNEED)            0x5fef0
 0x000000006fffffff (VERNEEDNUM)         6
 0x000000006ffffff0 (VERSYM)             0x5de3a
 0x000000006ffffff9 (RELACOUNT)          14838
 0x0000000000000000 (NULL)               0x0

Any Ideas?

Regards

Mat

Le sam. 15 sept. 2018 à 17:53, Gilles Caulier <[hidden email]> a écrit :
yes i have an idea :

==> /usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake

This one is obsolete and a dupplicate file from KDE. We have one updated in digiKam source code.

I suspect that KDE one is taken in first instead digikam one.

In ALL case : never install KDE4LibSupport KDE component. It for compatibility for older KF5 framework not ported to pure Qt5 API.

The port is mostly done everywhere and digiKam is ported to pure Qt5 since... 5.0.0.

So it's urgent to drop definitively the compatibility package everywhere. It's a source of dysfunctions.

Another remark. Why do you store these temporary files on your computer :

/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp


There are nothing to do in your computer, and i don't know how this files have to be installed here.

Best

Gilles Caulier

2018-09-15 6:23 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

Sorry for this late answer, I''ve been busy.
No, I didn't solve it. So I've tried with the 0.27 from their git repository instead.

Here's the output:

# from my previous build folder
sudo make uninstall
...
sudo updatedb && locate exiv2

/opt/digikam/git/core/data/pics/digikam/logo-exiv2.png
/opt/digikam/git/include/exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeCache.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeOutput.log
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/CMakeTmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/cmake.check_cache
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/feature_tests.cxx
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CMakeSystem.cmake
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdC/tmp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/a.out
/opt/digikam/git/project/bundles/3rdparty/ext_exiv2/CMakeFiles/3.10.2/CompilerIdCXX/tmp
/opt/digikam/git/project/scripts/bootstrap-exiv2.sh
/usr/lib/x86_64-linux-gnu/cmake/KF5KDELibs4Support/FindKexiv2.cmake
/usr/local/bin/exiv2json
/usr/local/lib/libexiv2.a
/usr/local/lib/pkgconfig/exiv2.lsm
/var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/libexiv2-dev_0.25-3.1ubuntu0.18.04.1_amd64.deb



git clone https://github.com/Exiv2/exiv2.git && cd exiv2

cmake .

-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.5")
-- Found Intl: /usr/include 
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so 
-- ICONV_INCLUDE_DIR :
-- ICONV_LIBRARIES : /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for munmap
-- Looking for munmap - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for process.h
-- Looking for process.h - not found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Install prefix:    /usr/local
-- ------------------------------------------------------------------
-- CMake Generator:   Unix Makefiles
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
--  --- Compiler flags ---
-- General:            -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98
-- Extra:             
-- Debug:             -g3 -gstrict-dwarf -O0
-- Release:           -O3 -DNDEBUG
-- RelWithDebInfo:    -O2 -g -DNDEBUG
-- MinSizeRel:        -Os -DNDEBUG
--  --- Linker flags ---
-- General:          
-- Debug:            
-- Release:          
-- RelWithDebInfo:   
-- MinSizeRel:       
--
-- Compiler Options
-- Warnings as errors:                 NO
-- Use extra compiler warning flags:   NO
--
-- Compiler info: GNU (/usr/bin/c++) ; version: 7.3.0
-- ------------------------------------------------------------------
-- Building shared library:            YES
-- Building PNG support:               YES
-- XMP metadata support:               YES
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Building video support:             NO
-- Building webready support:          NO
-- Building exiv2 command:             YES
-- Building samples:                   YES
-- Building PO files:                  NO
-- Building unit tests:                NO
-- Building doc:                       NO
-- Building with coverage flags:       NO
-- Using ccache:                       NO
-- ------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/foo/Download/softs/exiv2


make -j

Scanning dependencies of target exiv2lib_int
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XML_Node.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils-FileInfo.cpp.o
[  0%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Serialize.cpp.o
[  1%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPUtils.cpp.o
[  2%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPCore_Impl.cpp.o
[  3%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-Parse.cpp.o
[  4%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPUtils.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/WXMPMeta.cpp.o
[  5%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPIterator.cpp.o
[  6%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta-GetSet.cpp.o
[  7%] Building CXX object xmpsdk/CMakeFiles/xmp.dir/src/XMPMeta.cpp.o
[  7%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/nikonmn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/rw2image_int.cpp.o
[  8%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/samsungmn_int.cpp.o
[  9%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/panasonicmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/olympusmn_int.cpp.o
[ 10%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/orfimage_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/casiomn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sigmamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/minoltamn_int.cpp.o
[ 12%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/cr2header_int.cpp.o
[ 16%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/fujimn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/crwimage_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffvisitor_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pentaxmn_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/makernote_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffcomposite_int.cpp.o
[ 17%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/pngchunk_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tiffimage_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/tags_int.cpp.o
[ 18%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/sonymn_int.cpp.o
[ 21%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/helper_functions.cpp.o
[ 22%] Linking CXX static library ../lib/libxmp.a
[ 25%] Built target xmp
[ 25%] Built target exiv2lib_int
Scanning dependencies of target exiv2lib
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/convert.cpp.o
[ 26%] Building CXX object src/CMakeFiles/exiv2lib.dir/bmpimage.cpp.o
[ 27%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/bigtiffimage.cpp.o
[ 28%] Building CXX object src/CMakeFiles/exiv2lib.dir/basicio.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/image.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/rw2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/crwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/gifimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/types.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/preview.cpp.o
[ 36%] Building CXX object src/CMakeFiles/exiv2lib.dir/orfimage.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/futils.cpp.o
[ 45%] Building CXX object src/CMakeFiles/exiv2lib.dir/matroskavideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/utilsvideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/cr2image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/exiv2lib.dir/quicktimevideo.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/rafimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/http.cpp.o
[ 29%] Building CXX object src/CMakeFiles/exiv2lib.dir/exif.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/error.cpp.o
[ 30%] Building CXX object src/CMakeFiles/exiv2lib.dir/easyaccess.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/mrwimage.cpp.o
[ 39%] Building CXX object src/CMakeFiles/exiv2lib.dir/metadatum.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/iptc.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/value.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/ini.cpp.o
[ 46%] Building CXX object src/CMakeFiles/exiv2lib.dir/tgaimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/pgfimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/properties.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/psdimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/datasets.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/jpgimage.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/version.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/epsimage.cpp.o
[ 48%] Building CXX object src/CMakeFiles/exiv2lib.dir/tiffimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/pngimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/riffvideo.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/tags.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmpsidecar.cpp.o
[ 47%] Building CXX object src/CMakeFiles/exiv2lib.dir/webpimage.cpp.o
[ 50%] Building CXX object src/CMakeFiles/exiv2lib.dir/jp2image.cpp.o
[ 51%] Building CXX object src/CMakeFiles/exiv2lib.dir/xmp.cpp.o
[ 51%] Linking CXX shared library ../lib/libexiv2.so
[ 51%] Built target exiv2lib
Scanning dependencies of target write-test
Scanning dependencies of target iptctest
Scanning dependencies of target largeiptc-test
Scanning dependencies of target convert-test
Scanning dependencies of target werror-test
Scanning dependencies of target remotetest
Scanning dependencies of target tiff-test
Scanning dependencies of target iptcprint
Scanning dependencies of target mmap-test
Scanning dependencies of target easyaccess-test
Scanning dependencies of target xmpprint
Scanning dependencies of target exifdata-test
Scanning dependencies of target xmpparse
Scanning dependencies of target ini-test
Scanning dependencies of target exifvalue
Scanning dependencies of target xmpparser-test
Scanning dependencies of target key-test
Scanning dependencies of target iotest
Scanning dependencies of target write2-test
Scanning dependencies of target conntest
Scanning dependencies of target prevtest
Scanning dependencies of target mrwthumb
Scanning dependencies of target exifdata
Scanning dependencies of target metacopy
Scanning dependencies of target addmoddel
Scanning dependencies of target stringto-test
Scanning dependencies of target geotag
Scanning dependencies of target pathtest
Scanning dependencies of target taglist
Scanning dependencies of target xmpsample
Scanning dependencies of target exifprint
Scanning dependencies of target getopt-test
Scanning dependencies of target exiv2
Scanning dependencies of target exifcomment
Scanning dependencies of target xmpdump
Scanning dependencies of target exiv2json
Scanning dependencies of target iptceasy
[ 52%] Building CXX object samples/CMakeFiles/ini-test.dir/ini-test.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/iptctest.dir/iptctest.cpp.o
[ 53%] Building CXX object samples/CMakeFiles/convert-test.dir/convert-test.cpp.o
[ 54%] Building CXX object samples/CMakeFiles/prevtest.dir/prevtest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write2-test.dir/write2-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/geotag.dir/geotag.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/write-test.dir/write-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/largeiptc-test.dir/largeiptc-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpdump.dir/xmpdump.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifvalue.dir/exifvalue.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/mrwthumb.dir/mrwthumb.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/werror-test.dir/werror-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/key-test.dir/key-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/utils.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/conntest.dir/conntest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/taglist.dir/taglist.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpsample.dir/xmpsample.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/addmoddel.dir/addmoddel.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/getopt-test.dir/getopt-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifprint.dir/exifprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/exifdata-test.dir/exifdata-test.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/iptcprint.dir/iptcprint.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/remotetest.dir/remotetest.cpp.o
[ 63%] Building CXX object samples/CMakeFiles/xmpparse.dir/xmpparse.cpp.o
[ 64%] Building CXX object samples/CMakeFiles/xmpprint.dir/xmpprint.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/exifdata.dir/exifdata.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/xmpparser-test.dir/xmpparser-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/stringto-test.dir/stringto-test.cpp.o
[ 67%] Building CXX object samples/CMakeFiles/tiff-test.dir/tiff-test.cpp.o
[ 68%] Building CXX object samples/CMakeFiles/exifcomment.dir/exifcomment.cpp.o
[ 69%] Building CXX object samples/CMakeFiles/easyaccess-test.dir/easyaccess-test.cpp.o
[ 70%] Building CXX object samples/CMakeFiles/iotest.dir/iotest.cpp.o
[ 71%] Building CXX object samples/CMakeFiles/getopt-test.dir/__/src/getopt.cpp.o
[ 72%] Building CXX object samples/CMakeFiles/mmap-test.dir/mmap-test.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/exiv2json.cpp.o
[ 73%] Building CXX object samples/CMakeFiles/exiv2json.dir/Jzon.cpp.o
[ 75%] Building CXX object src/CMakeFiles/exiv2.dir/utils.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/actions.cpp.o
[ 77%] Building CXX object src/CMakeFiles/exiv2.dir/getopt.cpp.o
[ 75%] Building CXX object samples/CMakeFiles/pathtest.dir/path-test.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/metacopy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/iptceasy.dir/iptceasy.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/getopt.cpp.o
[ 79%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/utils.cpp.o
[ 77%] Building CXX object samples/CMakeFiles/metacopy.dir/__/src/utils.cpp.o
[ 78%] Building CXX object src/CMakeFiles/exiv2.dir/exiv2.cpp.o
[ 78%] Building CXX object samples/CMakeFiles/pathtest.dir/__/src/getopt.cpp.o
[ 7