<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ok thanks a lot for your patience, now I got digikam5 and libkipi to
compile for the first time :)<br>
One thing that might again be something I did wrong, as I am new to
cmake/make: Strangely the -DENABLE_AKONADICONTACTSUPPORT=off does
not seem to have an effect. As long as the akonadi libraries are
found it gets compiled with support for akonadi resulting in the
same error as before. This can be solved by deinstalling those
libraries. For reference here the command I used:<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/digikam/
-DCMAKE_BUILD_TYPE=debug -DENABLE_INTERNALMYSQL=on
-DENABLE_MYSQLSUPPORT=on -DENABLE_AKONADICONTACTSUPPORT=off .<br>
<br>
<div class="moz-cite-prefix">On 02/03/16 05:12, Gilles Caulier
wrote:<br>
</div>
<blockquote
cite="mid:CAHFG6sG=O5ewLj_Z+0nduuAfSY8bdJePm80q+U=F+kCwv-pRnA@mail.gmail.com"
type="cite">
<div dir="ltr">The test code do not need to be compiled in client
computer. It's for developper only... There is a cmake flag to
disable it : -DBUILD_TESTING=OFF
<div><br>
</div>
<div>Gilles Caulier</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-03-01 20:00 GMT+01:00 Simon Frei <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:freisim93@gmail.com" target="_blank">freisim93@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Thanks for taking the
time to look at my problems, unfortunately I need to ask
again:<br>
Cmake aborts when libkipi is not found. So I tried to
build libkipi from the most recent package 15.12.2 and I
run into the following error:<br>
<br>
[ 58%] Linking CXX executable kipicmd<br>
/usr/bin/ld: cannot open output file kipicmd: Is a
directory<br>
collect2: error: ld returned 1 exit status<br>
tests/CMakeFiles/kipicmd.dir/build.make:250: recipe for
target 'tests/kipicmd' failed<br>
make[2]: *** [tests/kipicmd] Error 1<br>
CMakeFiles/Makefile2:230: recipe for target
'tests/CMakeFiles/kipicmd.dir/all' failed<br>
make[1]: *** [tests/CMakeFiles/kipicmd.dir/all] Error 2<br>
Makefile:138: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
By googling I determined that the problem is, that ld
tries to create an executable named kipicmd in tests/ but
there is already a directory of that name in there with
the "main.cpp" in it. Changing the folder name doesn't
work as make needs the main.cpp. A workaround is to rename
the output name in /tests/CMakeFiles/kipicmd.dir/link.txt
to kipicmd2 (same for kxmlkipicmd), then it builds to 100%
but fails installing.<br>
<br>
Again any hints appreciated.
<div>
<div class="h5"><br>
<br>
<br>
<div>On 01/03/16 15:49, Gilles Caulier wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">See this report :
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://bugs.kde.org/show_bug.cgi?id=359897"
rel="noreferrer" style="font-size:12.8px"
target="_blank">https://bugs.kde.org/show_bug.cgi?id=359897</a><br>
</div>
<div><br>
</div>
<div>libkipi is optional. If library is not found,
the kipi support will be disabled.</div>
<div><br>
</div>
<div>Gilles Caulier</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-02-29 22:41
GMT+01:00 Simon Frei <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:freisim93@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:freisim93@gmail.com">freisim93@gmail.com</a></a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> That is
weird, the README states that the akonadi
contacts part (which I do not need) is
disabled by default and I used "cmake
-DENABLE_MYSQLSUPPORT=on .". Anyway, I now
explicitly disabled it by "make
-DENABLE_MYSQLSUPPORT=on
-DENABLE_AKONADICONTACTSUPPORT=off ." and
now the error is with kipiinterface.cpp (see
new attachment), which I guess is part of
libkipi and thus non-optional?
<div>
<div><br>
<br>
<div>On 29/02/16 20:09, Gilles Caulier
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Problem is with you <span style="color:rgb(0,0,0);font-family:'Courier New',Courier,monospace,arial,sans-serif;font-size:14px;white-space:pre-wrap">libKF5AkonadiContact.so.</span>
<div><span style="color:rgb(0,0,0);font-family:'Courier New',Courier,monospace,arial,sans-serif;font-size:14px;white-space:pre-wrap">
</span></div>
<div><span style="color:rgb(0,0,0);font-family:'Courier New',Courier,monospace,arial,sans-serif;font-size:14px;white-space:pre-wrap">Why do you want to enable this feature which is a very small part of digiKam : the way to get contacts list from Kontact application to populate Tags... It still experimental. You can forget it for the moment. Turn of the option with cmake at configuration time. Look README for details.</span></div>
<div><span style="color:rgb(0,0,0);font-family:'Courier New',Courier,monospace,arial,sans-serif;font-size:14px;white-space:pre-wrap">
</span></div>
<div><span style="color:rgb(0,0,0);font-family:'Courier New',Courier,monospace,arial,sans-serif;font-size:14px;white-space:pre-wrap">Gilles Caulier</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-02-29
7:40 GMT+01:00 Simon Frei <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:freisim93@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:freisim93@gmail.com">freisim93@gmail.com</a></a>></span>:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">As all
dependencies are available in
the debian repos, I tried to
build digikam5. Cmake runs
smoothly and finds everything,
but make aborts at various
stages, curiously not the same
ones every run. I first thougth
that using many cores (-j 4) is
problematic, but the problem
remains without it. The output
of make in the latter case is
attached. I appreciate any hints
about where to investigate and
please ask for what additional
information you need.<br>
<br>
Cheers,<br>
Simon<br>
<br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Digikam-devel@kde.org"
target="_blank">Digikam-devel@kde.org</a><br>
<a moz-do-not-send="true"
href="https://mail.kde.org/mailman/listinfo/digikam-devel"
rel="noreferrer"
target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Digikam-devel mailing list
<a moz-do-not-send="true" href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a>
<a moz-do-not-send="true" href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Digikam-devel@kde.org"
target="_blank">Digikam-devel@kde.org</a><br>
<a moz-do-not-send="true"
href="https://mail.kde.org/mailman/listinfo/digikam-devel"
rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Digikam-devel mailing list
<a moz-do-not-send="true" href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a>
<a moz-do-not-send="true" href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a moz-do-not-send="true"
href="https://mail.kde.org/mailman/listinfo/digikam-devel"
rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Digikam-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/digikam-devel">https://mail.kde.org/mailman/listinfo/digikam-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>