Fixed. Thanks<br><br><div><span class="gmail_quote">2007/5/10, Mark Purcell <<a href="mailto:msp@debian.org">msp@debian.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
All,<br><br>Digikam 0.9.2-beta1 fails to build with libkexiv2 version 0.1.1:<br><br>[...]<br>Making all in dmetadata<br>make[5]: Entering directory `/home/mark/src/debian/kde-extras/build-area/digikam-0.9.2~beta1/obj-i486-linux-gnu/digikam/libs/dmetadata
'<br>/bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/home/mark/src/debian/kde-extras/build-area/digikam-0.9.2~beta1/./digikam/libs/dmetadata -I../../.. -I/home/mark/src/debian/kde-extras/build-area/digikam-
0.9.2~beta1/./digikam/libs/dimg -I/home/mark/src/debian/kde-extras/build-area/digikam-0.9.2~beta1/./digikam/digikam -I/usr/include/kde   -I/usr/include/kde   -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 -DNDEBUG -DNO_DEBUG -O2 -g -Wall -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  -c -o 
dmetadata.lo /home/mark/src/debian/kde-extras/build-area/digikam-0.9.2~beta1/./digikam/libs/dmetadata/dmetadata.cpp<br>/home/mark/src/debian/kde-extras/build-area/digikam-0.9.2~beta1/./digikam/libs/dmetadata/dmetadata.cpp:
 In member function 'int Digikam::DMetadata::getImageRating() const':<br>/home/mark/src/debian/kde-extras/build-area/digikam-0.9.2~beta1/./digikam/libs/dmetadata/dmetadata.cpp:215: error: passing 'const Digikam::DMetadata' as 'this' argument of 'bool KExiv2Iface::KExiv2::getExifTagLong(const char*, long int&)' discards qualifiers
<br>make[5]: *** [dmetadata.lo] Error 1<br><br>With libkexiv2 0.1.4 it builds fine, however digikam configure only<br>checks for libkexiv2 > 0.1 :-(<br><br>I suggest the following patch:<br><br>--- configure.in.orig   2007-05-10 08:26:
02.000000000 +0100<br>+++ <a href="http://configure.in">configure.in</a>        2007-05-10 08:26:34.000000000 +0100<br>@@ -278,7 +278,7 @@<br>    # check for libkexiv2<br>    have_libkexiv2=no<br><br>-   KDE_PKG_CHECK_MODULES(LIBKEXIV2, libkexiv2 >= 
0.1,<br>+   KDE_PKG_CHECK_MODULES(LIBKEXIV2, libkexiv2 >= 0.1.4,<br>                          have_libkexiv2=yes, have_libkexiv2=no)<br><br>    if test "x$have_libkexiv2" = "xno"; then<br>@@ -653,7 +653,7 @@
<br> if test "x$have_libkexiv2" != "xyes"; then<br>   echo "-- libkexiv2 library found........ NO"<br>   echo ""<br>-  echo "digiKam needs libkexiv2 library >= 0.1. You need to install libkexiv2 first"
<br>+  echo "digiKam needs libkexiv2 library >= 0.1.4. You need to install libkexiv2 first"<br>   echo "libkexiv2 website is at <a href="http://www.kipi-plugins.org">http://www.kipi-plugins.org</a>"
<br>   echo ""<br>   all_tests=bad<br><br>Thanks,<br>Mark<br><br>_______________________________________________<br>Digikam-devel mailing list<br><a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br><br><br></blockquote></div><br>