[Digikam-devel] [Bug 147626] 0.9.2 fails to build

Me darkvision at gmx.info
Fri Sep 7 20:27:01 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147626         




------- Additional Comments From darkvision gmx info  2007-09-07 21:26 -------
Hi...

Thx for the hint. I did rebuild subversion using the --disable-neon-version-check and subversion did work now. I followed the steps and started to build the libs using:

# ./configure --prefix=/opt/kde
# make

Make started to build libkexiv2 which i had allready installed in the same version (0.1.5). But the build did fail:

make  all-recursive
make[1]: Entering directory `/root/svn2/libs'
Making all in libkexiv2
make[2]: Entering directory `/root/svn2/libs/libkexiv2'
Making all in libkexiv2
make[3]: Entering directory `/root/svn2/libs/libkexiv2/libkexiv2'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include   -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; \
then mv -f ".deps/kexiv2.Tpo" ".deps/kexiv2.Plo"; else rm -f ".deps/kexiv2.Tpo"; exit 1; fi
kexiv2.cpp:57: warning: ignoring #pragma GCC visibility
kexiv2.cpp:65: warning: ignoring #pragma GCC visibility
kexiv2.cpp: In member function `bool 
   KExiv2Iface::KExiv2::setExifThumbnail(const QImage&, bool)':
kexiv2.cpp:685: error: type specifier omitted for parameter
kexiv2.cpp:685: error: syntax error before string constant
kexiv2.cpp:686: error: request for member `setAutoDelete' in `
   KExiv2Iface::thumbFile', which is of non-aggregate type `KTempFile ()(...)'
kexiv2.cpp:687: error: request for member `name' in `KExiv2Iface::thumbFile', 
   which is of non-aggregate type `KTempFile ()(...)'
kexiv2.cpp:689: error: request for member `name' in `KExiv2Iface::thumbFile', 
   which is of non-aggregate type `KTempFile ()(...)'
kexiv2.cpp: In member function `virtual bool 
   KExiv2Iface::KExiv2::setImagePreview(const QImage&, bool)':
kexiv2.cpp:1125: error: type specifier omitted for parameter
kexiv2.cpp:1125: error: syntax error before string constant
kexiv2.cpp:1126: error: request for member `setAutoDelete' in `
   KExiv2Iface::previewFile', which is of non-aggregate type `KTempFile ()(...)
   '
kexiv2.cpp:1128: error: request for member `name' in `KExiv2Iface::previewFile
   ', which is of non-aggregate type `KTempFile ()(...)'
kexiv2.cpp:1130: error: request for member `name' in `KExiv2Iface::previewFile
   ', which is of non-aggregate type `KTempFile ()(...)'
distcc[3774] ERROR: compile kexiv2.cpp on localhost failed
make[3]: *** [kexiv2.lo] Error 1
make[3]: Leaving directory `/root/svn2/libs/libkexiv2/libkexiv2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/svn2/libs/libkexiv2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/svn2/libs'
make: *** [all] Error 2

No idea why the build fails sind i compiled 0.1.5 from the official tarball and that did build fine. Since i had all deps installed i left the libs directory and went over to digikam:

# make Makefile.cvs
# ./configure --prefix=/opt/kde

Ok, i need to install libkdcraw-0.1.2. On the KDE-imaging mailing list i found a link to an testing tarball, http://mail.kde.org/pipermail/kde-imaging/2007-August/005458.html . I installed that using the usual commands.

then i tried again:


# ./configure --prefix=/opt/kde
# make
...
Making all in dmetadata
make[4]: Entering directory `/root/svn2/graphics/digikam/libs/dmetadata'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../digikam/libs/dimg -I../../../digikam/digikam -I/opt/kde/include   -I/opt/kde/include   -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include   -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 `bool 
   Digikam::DMetadata::loadUsingDcraw(const QString&)':
dmetadata.cpp:87: error: 'class KDcrawIface::DcrawInfoContainer' has no member 
   named 'owner'
dmetadata.cpp:88: error: 'class KDcrawIface::DcrawInfoContainer' has no member 
   named 'owner'
distcc[32271] ERROR: compile dmetadata.cpp on localhost failed
make[4]: *** [dmetadata.lo] Error 1
make[4]: Leaving directory `/root/svn2/graphics/digikam/libs/dmetadata'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/svn2/graphics/digikam/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/svn2/graphics/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/svn2/graphics'
make: *** [all] Error 2

Markus



More information about the Digikam-devel mailing list