Compile Digikam: Dependency to exiv2 cannot be fulfilled

Simon Frei freisim93 at gmail.com
Fri Aug 11 18:11:40 BST 2017


Didn't think of that - thanks Philip.
Follow up question: Isn't it potentially problematic to build against
one version (locally installed) and then use the result with another
version (system installed)?

On 11/08/17 16:41, Philip Johnsson wrote:
> If you are going to build digikam against a local installed build of
> exiv2 then you have to pass config parameters for cmake that point to
> those directories instead of your system installed version of exiv2
> that cmake will find as default.
>
> /Philip 
>
> On Aug 9, 2017 23:49, "Marc Barisch" <marc at barisch.com
> <mailto:marc at barisch.com>> wrote:
>
>     Here is the cmake version:
>      cmake --version
>                 cmake version 3.5.1
>     Distro is ubuntu 17.04
>
>
>     Any recommendation for a clean dev environment or deeper debugging?
>
>     Regards
>     Marc
>
>
>     Am 08/07/2017 um 06:16 PM schrieb Simon Frei:
>>     Oh ****, I didn't reply to the list - lets take it back there,
>>     this might be useful for someone else at some time.
>>
>>     This is very weird, I am stabbing in the dark:
>>     You are on master on the main repo and the ./core repo and both
>>     are "git status clean" (except for your debug stuff)? What is
>>     your cmake version?
>>
>>
>>     On 07/08/17 18:06, Marc Barisch wrote:
>>>     Hi Simon,
>>>     I am on master and FindExiv2.cmake is present. I tried to add
>>>     some debug statements 'message(...)' to it without any impact.
>>>     Seems that it is not taken into account?
>>>     Any advice?
>>>     Regards
>>>     Marc
>>>
>>>     Am 7. August 2017 17:29:36 MESZ schrieb Simon Frei
>>>     <freisim93 at gmail.com> <mailto:freisim93 at gmail.com>:
>>>
>>>         Your exiv2 dependencies are fine. The problem is that cmake doesn't seem
>>>         to use the script we provide to find exiv2. Are you on master? And is
>>>         the following file present?
>>>         ./core/cmake/modules/FindExiv2.cmake
>>>
>>>         On 07/08/17 00:41, Marc Barisch wrote:
>>>
>>>             Hi, I used the steps from:
>>>             https://www.digikam.org/download/git/?q=download/dependencies
>>>             <https://www.digikam.org/download/git/?q=download/dependencies>
>>>             and added all dependencies step by step. Is there any
>>>             other cook recipe for building digikam? The PATH
>>>             environment variable contains /usr/local/bin. location
>>>             of libs: ls -la /usr/local/lib/ insgesamt 14076
>>>             drwxr-xr-x 8 root root 4096 Aug 6 00:12 . drwxr-xr-x 10
>>>             root root 4096 Jan 1 2012 .. -rw-r--r-- 1 root root
>>>             7014520 Aug 5 23:44 libexiv2.a -rw-r--r-- 1 root root
>>>             1053 Aug 5 23:44 libexiv2.la <http://libexiv2.la>
>>>             lrwxrwxrwx 1 root root 14 Aug 6 00:12 libexiv2.so
>>>             <http://libexiv2.so> -> libexiv2.so
>>>             <http://libexiv2.so>.26 lrwxrwxrwx 1 root root 18 Aug 5
>>>             23:44 libexiv2.so <http://libexiv2.so>.26 -> libexiv2.so
>>>             <http://libexiv2.so>.26.0.0 -rw-r--r-- 1 root root
>>>             5335072 Aug 6 00:11 libexiv2.so
>>>             <http://libexiv2.so>.26.0.0 location of includes: s -la
>>>             /usr/local/include/exiv2/ insgesamt 608 drwxr-xr-x 2
>>>             root root 4096 Aug 6 00:12 . drwxr-xr-x 3 root root 4096
>>>             Aug 5 23:20 .. -rw-r--r-- 1 root root 6875 Mar 8 21:42
>>>             asfvideo.hpp -rw-r--r-- 1 root root 48215 Apr 19 19:03
>>>             basicio.hpp -rw-r--r-- 1 root root 4806 Mar 8 21:42
>>>             bmpimage.hpp -rw-r--r-- 1 root root 5310 Apr 23 18:28
>>>             config.h -rw-r--r-- 1 root root 5143 Mar 8 21:42
>>>             convert.hpp -rw-r--r-- 1 root root 6118 Mar 16 19:13
>>>             cr2image.hpp -rw-r--r-- 1 root root 6670 Mar 8 21:42
>>>             crwimage.hpp -rw-r--r-- 1 root root 17032 Mar 16 10:09
>>>             datasets.hpp -rw-r--r-- 1 root root 3860 Mar 8 21:42
>>>             easyaccess.hpp -rw-r--r-- 1 root root 5041 Mar 8 21:42
>>>             epsimage.hpp -rw-r--r-- 1 root root 12418 Mar 16 19:13
>>>             error.hpp -rw-r--r-- 1 root root 25073 Mar 8 21:42
>>>             exif.hpp -rw-r--r-- 1 root root 2482 Apr 23 19:31
>>>             exiv2.hpp -rw-r--r-- 1 root root 6184 Aug 6 00:11
>>>             exv_conf.h -rw-r--r-- 1 root root 6120 Aug 5 23:44
>>>             exv_msvc.h -rw-r--r-- 1 root root 7619 Mar 16 19:13
>>>             futils.hpp -rw-r--r-- 1 root root 4882 Mar 8 21:42
>>>             gifimage.hpp -rw-r--r-- 1 root root 667 Mar 16 19:13
>>>             http.hpp -rw-r--r-- 1 root root 31756 Mar 16 19:13
>>>             image.hpp -rw-r--r-- 1 root root 6635 Mar 26 22:49
>>>             ini.hpp -rw-r--r-- 1 root root 12218 Mar 8 21:42
>>>             iptc.hpp -rw-r--r-- 1 root root 5182 Mar 16 19:13
>>>             jp2image.hpp -rw-r--r-- 1 root root 19023 Mar 16 19:13
>>>             jpgimage.hpp -rw-r--r-- 1 root root 5851 Mar 8 21:42
>>>             matroskavideo.hpp -rw-r--r-- 1 root root 12541 Mar 8
>>>             21:42 metadatum.hpp -rw-r--r-- 1 root root 5307 Mar 8
>>>             21:42 mrwimage.hpp -rw-r--r-- 1 root root 5827 Mar 15
>>>             22:30 orfimage.hpp -rw-r--r-- 1 root root 5347 Mar 8
>>>             21:42 pgfimage.hpp -rw-r--r-- 1 root root 5414 Mar 16
>>>             19:13 pngimage.hpp -rw-r--r-- 1 root root 6642 Mar 8
>>>             21:42 preview.hpp -rw-r--r-- 1 root root 12500 Mar 16
>>>             19:13 properties.hpp -rw-r--r-- 1 root root 5788 Mar 8
>>>             21:42 psdimage.hpp -rw-r--r-- 1 root root 9718 Mar 8
>>>             21:42 quicktimevideo.hpp -rw-r--r-- 1 root root 5230 Mar
>>>             15 22:30 rafimage.hpp -rw-r--r-- 1 root root 8616 Mar 15
>>>             22:30 riffvideo.hpp -rw-r--r-- 1 root root 5719 Mar 15
>>>             22:30 rw2image.hpp -rw-r--r-- 1 root root 6571 Apr 26
>>>             16:09 rwlock.hpp -rw-r--r-- 1 root root 49 Aug 5 23:39
>>>             svn_version.h -rw-r--r-- 1 root root 9077 Mar 8 21:42
>>>             tags.hpp -rw-r--r-- 1 root root 5035 Mar 8 21:42
>>>             tgaimage.hpp -rw-r--r-- 1 root root 9122 Mar 16 19:13
>>>             tiffimage.hpp -rw-r--r-- 1 root root 21751 Mar 8 21:42
>>>             types.hpp -rw-r--r-- 1 root root 1912 Mar 16 19:13
>>>             utilsvideo.hpp -rw-r--r-- 1 root root 61535 Mar 16 19:13
>>>             value.hpp -rw-r--r-- 1 root root 7897 Mar 16 19:13
>>>             version.hpp -rw-r--r-- 1 root root 5362 Mar 8 21:42
>>>             webpimage.hpp -rw-r--r-- 1 root root 16837 Mar 8 21:42
>>>             xmp.hpp -rw-r--r-- 1 root root 4398 Mar 8 21:42
>>>             xmpsidecar.hpp Qt5 Install Path : /usr digiKam Install
>>>             Path : /usr 
>>>
>>>
>>>
>>>     -- 
>>>     Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9
>>>     Mail gesendet. 
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20170811/322aefa8/attachment.html>


More information about the Digikam-users mailing list