[Digikam-users] yatc: libkexiv2 0.1.7

Simon Oosthoek s.oosthoek at xs4all.nl
Sat Jan 3 12:38:26 GMT 2009


Simon Oosthoek wrote:
> Mikolaj Machowski wrote:
>> Dnia Wednesday 31 December 2008, Simon Oosthoek napisaƂ:
>>> yatc = yet another trouble compiling ;-)
>>>
>>> I thought I'd give the newer versions a go, since I was running digikam
>>> 0.9.5 svn from a while ago...
>>>
>>> Starting with exiv2 0.18, configure/make/install went well.
>>>
>>> then libkexiv2-0.1.7, configure went well, but then I got this: (see
>>> bottom)
>>>
>>> I think it's got a problem with exiv2, but I'm not sure...
>>>
>>> I'm running kubuntu 8.04.1, so kde 3.5.10
>>>
>>> Any suggestions for me to try?
>> You probably have two version of exiv2 on your computer: one from
>> package and one compiled by yourself. Enforce removing of package and
>> problems should vanish.
>>
> 
> Actually, I did try that, but perhaps I need to be more thorough?
> I'll give it another try when I have some more time/attention for it ;-)
> 

This time I thorougly removed all exiv2 related packages, files and
directories from /usr (except the libkexiv2 related files, since I
figured they would be overwritten and were not required for compiling
libkexiv2-0.1.7)

Then I installed exiv2-0.18 from the compiled sources and this is what I
get when doing a find /usr -name "*exiv2*":

/usr/include/libkexiv2
/usr/include/libkexiv2/kexiv2.h
/usr/include/libkexiv2/libkexiv2_export.h
/usr/lib/pkgconfig/libkexiv2.pc
/usr/lib/libkexiv2.so.5.0.0
/usr/lib/libkexiv2.so.3.1.0
/usr/lib/libkexiv2.so.3
/usr/lib/libkexiv2.so
/usr/lib/libkexiv2.la
/usr/lib/libkexiv2.so.5
/usr/local/bin/exiv2
/usr/local/include/exiv2
/usr/local/lib/pkgconfig/exiv2.pc
/usr/local/lib/libexiv2.so.5.2.0
/usr/local/lib/libexiv2.so.5
/usr/local/lib/libexiv2.so
/usr/local/lib/libexiv2.la
/usr/local/lib/libexiv2.a
/usr/local/share/man/man1/exiv2.1
/usr/local/share/locale/de/LC_MESSAGES/exiv2.mo
/usr/local/share/locale/pl/LC_MESSAGES/exiv2.mo
/usr/local/share/locale/fr/LC_MESSAGES/exiv2.mo
/usr/local/share/locale/ru/LC_MESSAGES/exiv2.mo
/usr/local/share/locale/sk/LC_MESSAGES/exiv2.mo
/usr/local/share/locale/es/LC_MESSAGES/exiv2.mo
/usr/local/share/locale/fi/LC_MESSAGES/exiv2.mo


After running configure, I still get the compile errors from libkexiv2:

make  all-recursive
make[1]: Entering directory `/home/simon/src/kde3/libkexiv2-0.1.7'
Making all in libkexiv2
make[2]: Entering directory `/home/simon/src/kde3/libkexiv2-0.1.7/libkexiv2'
Making all in libkexiv2
make[3]: Entering directory
`/home/simon/src/kde3/libkexiv2-0.1.7/libkexiv2/libkexiv2'
/bin/bash ../../libtool --silent --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H -I. -I../.. -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 -fexceptions  -MT kexiv2.lo -MD -MP -MF
.deps/kexiv2.Tpo -c -o kexiv2.lo kexiv2.cpp
kexiv2.cpp: In member function 'QByteArray
KExiv2Iface::KExiv2::getExif() const':
kexiv2.cpp:221: error: 'class Exiv2::ExifData' has no member named 'copy'
kexiv2.cpp: In member function 'QByteArray
KExiv2Iface::KExiv2::getIptc(bool) const':
kexiv2.cpp:258: error: 'class Exiv2::IptcData' has no member named 'copy'
kexiv2.cpp: In member function 'bool KExiv2Iface::KExiv2::setExif(const
QByteArray&)':
kexiv2.cpp:289: error: 'class Exiv2::ExifData' has no member named 'load'
kexiv2.cpp: In member function 'bool KExiv2Iface::KExiv2::setIptc(const
QByteArray&)':
kexiv2.cpp:312: error: 'class Exiv2::IptcData' has no member named 'load'
kexiv2.cpp: In member function 'bool
KExiv2Iface::KExiv2::setExif(Exiv2::DataBuf)':
kexiv2.cpp:335: error: 'class Exiv2::ExifData' has no member named 'load'
kexiv2.cpp: In member function 'bool
KExiv2Iface::KExiv2::setIptc(Exiv2::DataBuf)':
kexiv2.cpp:358: error: 'class Exiv2::IptcData' has no member named 'load'
kexiv2.cpp: In member function 'QImage
KExiv2Iface::KExiv2::getExifThumbnail(bool) const':
kexiv2.cpp:617: error: 'class Exiv2::ExifData' has no member named
'copyThumbnail'
kexiv2.cpp: In member function 'bool
KExiv2Iface::KExiv2::setExifThumbnail(const QImage&, bool)':
kexiv2.cpp:697: error: 'class Exiv2::ExifData' has no member named
'setJpegThumbnail'
kexiv2.cpp: In member function 'QByteArray
KExiv2Iface::KExiv2::getExifTagData(const char*) const':
kexiv2.cpp:1292: error: 'class Exiv2::ExifData' has no member named
'byteOrder'
make[3]: *** [kexiv2.lo] Error 1
make[3]: Leaving directory
`/home/simon/src/kde3/libkexiv2-0.1.7/libkexiv2/libkexiv2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/simon/src/kde3/libkexiv2-0.1.7/libkexiv2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/src/kde3/libkexiv2-0.1.7'
make: *** [all] Error 2

To me, it's pretty rare that packages don't compile after running
configure like this. So I guess there's a bug somewhere...

I hope someone can give me a hint to look further into this problem!

Thnx

Simon



More information about the Digikam-users mailing list