[Digikam-users] Error when compiling 0.9.2-beta3

Gandalf Lechner gandalf.lechner at esi.ac.at
Sun Jun 10 19:01:13 BST 2007


Hello everyone,

when trying to compile digikam 0.9.2-beta3 with all its new and exciting 
features I experience the following problem :( 

configure works fine and says

-- digiKam configure results -------------------
-- libsqlite3 library found....... YES
-- libgphoto2 library found....... YES
-- libkipi library found.......... YES
-- libtiff library found..... .... YES
-- libpng library found........... YES
-- libjasper library found........ YES
-- liblcms library found.......... YES
-- libkexiv2 library found........ YES
-- libkdcraw library found........ YES
------------------------------------------------

Good - your configure finished. Start make now

But make runs into some problem. For the end of its output, see below. Do you 
have an idea how to resolve this problem? Is it due to some wrong 
configuration on my side (although ./configure seems to work ok), or a bug in 
the digikam code?
By the way, is the release date for 0.9.2 already fixed? If it will be 
released soon, I can propably wait a few more days and avoid compilation 
problems.

Thanks in advance,

Gandalf

--------------------------------
end of make output:
--------------------------------
[...]
make[4]: Verlasse 
Verzeichnis '/home/gandalf/down/digikam-0.9.2-beta3/digikam/libs/whitebalance'
Making all in dmetadata
make[4]: Betrete 
Verzeichnis '/home/gandalf/down/digikam-0.9.2-beta3/digikam/libs/dmetadata'
if /bin/bash ../../../libtool --silent --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../digikam/libs/dimg -I../../../digikam/digikam   -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE  -MT 
dmetadata.lo -MD -MP -MF ".deps/dmetadata.Tpo" -c -o dmetadata.lo 
dmetadata.cpp; \
        then mv -f ".deps/dmetadata.Tpo" ".deps/dmetadata.Plo"; else 
rm -f ".deps/dmetadata.Tpo"; exit 1; fi
dmetadata.cpp: In member function 'int Digikam::DMetadata::getImageRating() 
const':
dmetadata.cpp:216: error: passing 'const Digikam::DMetadata' as 'this' 
argument of 'bool KExiv2Iface::KExiv2::getExifTagLong(const char*, long 
int&)' discards qualifiers
make[4]: *** [dmetadata.lo] Fehler 1
make[4]: Verlasse 
Verzeichnis '/home/gandalf/down/digikam-0.9.2-beta3/digikam/libs/dmetadata'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse 
Verzeichnis '/home/gandalf/down/digikam-0.9.2-beta3/digikam/libs'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/gandalf/down/digikam-0.9.2-beta3/digikam'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/gandalf/down/digikam-0.9.2-beta3'
make: *** [all] Fehler 2





More information about the Digikam-users mailing list