[Digikam-users] Error when compiling 0.9.2-beta3

Gandalf Lechner gandalf.lechner at esi.ac.at
Sun Jun 10 20:16:32 BST 2007


On Sunday 10 June 2007 20:57:56 Gilles Caulier wrote:
> If you have the right version, well there an installation problem in your
> computer about libkexiv2. Are you sure to have only one version of
> libkexiv2 installed on your computer ?

ah I had to uninstall libkexiv2 0.1 manually, it wasn't replaced when 
compiling the newer version (which I expected). Well now it works and I am 
going to have a look at the new digikam right now - thanks for your help!

Gandalf


>
> Gilles
>
> 2007/6/10, Gandalf Lechner <gandalf.lechner at esi.ac.at>:
> > Gilles, thanks for your quick answer. I downloaded and compiled libkexiv2
> > version 0.1.5 which I found through the link on the digikam page before
> > compiling digikam and receiving that error. Is 0.1.5 not the latest
> > version
> > anymore? Or do I need to somehow uninstall an earlier version of
> > libkexiv2?
> > (I am on kubuntu, if that's of any relevance)
> >
> > Regards,
> >
> > Gandalf
> >
> > On Sunday 10 June 2007 20:16:57 Gilles Caulier wrote:
> > > Gandalf,
> > >
> > > Just update to last libkexiv2 release, and all will be fine...
> > >
> > > Gilles Caulier
> > >
> > >  Lechner <gandalf.lechner at esi.ac.at>:
> > > > 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
> > > >
> > > >
> > > > _______________________________________________
> > > > Digikam-users mailing list
> > > > Digikam-users at kde.org
> > > > https://mail.kde.org/mailman/listinfo/digikam-users
> >
> > --
> >
> > Gandalf Lechner
> > Erwin Schroedinger Institute for Mathematical Physics
> > Boltzmanngasse 9
> > A-1090 Vienna
> > Austria
> >
> > phone: ++43-(0)1-4277 28268 (office)
> > skype: gandalflechner
> > fax: ++43-(0)1-4277 28299 (institute)
> > mail: gandalf.lechner at esi.ac.at
> > _______________________________________________
> > Digikam-users mailing list
> > Digikam-users at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-users



-- 

Gandalf Lechner
Erwin Schroedinger Institute for Mathematical Physics
Boltzmanngasse 9
A-1090 Vienna
Austria

phone: ++43-(0)1-4277 28268 (office)
skype: gandalflechner
fax:   ++43-(0)1-4277 28299 (institute)
mail:  gandalf.lechner at esi.ac.at



More information about the Digikam-users mailing list