[Digikam-devel] Problem building Digikam 4 on Ubuntu cannot find stdaddressbook.h

Gilles Caulier caulier.gilles at gmail.com
Wed Aug 6 05:13:32 BST 2008


Oups

I have just found that kdepimlibs detection have been commented in
digikam/CMakeLists.txt. fixed in svn

Gilles

2008/8/6 Gilles Caulier <caulier.gilles at gmail.com>:
> 2008/8/6 Geoff King <gsking1 at gmail.com>:
>> Hello,
>> I'm not sure if this is a bug or some issue with my system.
>> I cannot build digikam4 this week due to the error below.  It looks as
>> though cmake does not find the stdaddressbook.h even though
>> kdepimlibs5-dev is installed and I checked to make sure it was there.
>> It was working fine until a few days ago when kubuntu updated to kde4.1.
>> Any ideas???
>>
>> I'm using ubuntu 8.04 and digikam4 was building fine last week.
>> Thanks, Geoff
>>
>> digiKam 0.10.0-beta3 dependencies results
>> --
>> --  Qt4 SQL module found........... YES
>> --  libgphoto2 library found....... YES
>> --  libtiff library found.......... YES
>> --  libpng library found........... YES
>> --  libjasper library found........ YES
>> --  liblcms library found.......... YES
>> --  libkipi library found.......... YES
>> --  libkexiv2 library found........ YES
>> --  libkdcraw library found........ YES
>> --  libkdepimlibs library found.... NO
>> --
>> --  digiKam will be compiled without address book support.
>> --
>> --  libmarblewiget library found... YES
>> --  liblensfun library found....... YES
>> --  digiKam will be compiled...
>>
>
> The non detection is a problem with cmake script from KDELibs used to
> detect libkdepimlibs
>
> I can reproduce the problem here.
>
> The current version of script is
>
> http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindKdepimLibs.cmake?view=markup
>
>>
>> Then after a few minutes......
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfolderview.cpp:585:
>> undefined reference to `KABC::AddressBook::Iterator::~Iterator()'
>> CMakeFiles/digikam_bin.dir/tagfilterview.o: In function
>> `Digikam::TagFilterView::slotABCContextMenu()':
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1089:
>> undefined reference to `KABC::StdAddressBook::self()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1091:
>> undefined reference to `KABC::AddressBook::begin()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1093:
>> undefined reference to `KABC::AddressBook::Iterator::operator->()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1093:
>> undefined reference to `KABC::Addressee::formattedName() const'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1091:
>> undefined reference to `KABC::AddressBook::Iterator::operator++()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1091:
>> undefined reference to `KABC::AddressBook::end()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1091:
>> undefined reference to
>> `KABC::AddressBook::Iterator::operator!=(KABC::AddressBook::Iterator
>> const&) const'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1091:
>> undefined reference to `KABC::AddressBook::Iterator::~Iterator()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1091:
>> undefined reference to `KABC::AddressBook::Iterator::~Iterator()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1094:
>> undefined reference to `KABC::AddressBook::Iterator::~Iterator()'
>> /home/gsking/programs/src/digikam4/graphics/digikam/digikam/tagfilterview.cpp:1094:
>> undefined reference to `KABC::AddressBook::Iterator::~Iterator()'
>> collect2: ld returned 1 exit status
>> make[2]: *** [digikam/digikam/digikam] Error 1
>> make[1]: *** [digikam/digikam/CMakeFiles/digikam_bin.dir/all] Error 2
>> make: *** [all] Error 2
>
> For this one i cannot reproduce here the problem. digiKam is never
> compiled using libkdepimlibs
>
> Can you give me the content of your config-digikam.h ?
>
> Can you purge your root CMakeCache.txt file and try again ?
>
> Best
>
> Gilles Caulier
>



More information about the Digikam-devel mailing list