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