[Digikam-users] digikam-0.9.0 does not compile with KDE 3.2

Gilles Caulier caulier.gilles at kdemail.net
Wed Jan 3 10:48:45 GMT 2007


Marcel,

What do you think about to support again old KDE 3.x releases ?

Gilles


On Wednesday 03 January 2007 05:14, Moritz D. Klingholz wrote:
> Program:	digikam
> Version:	0.9.0 (using KDE 3.2.1)
> Installed from:	tarball
> Compiler:	gcc 3.3.3
> OS:		Linux
>
> I fetched digikam-0.9.0.tar.bz2 from sourceforge and tried to compile with
> gcc-3.3.3 using KDE 3.2.1 on a partially updated SuSE 9.1. It configures
> fine but compiles with two errors and a couple of warnings.
>
> Warnings are due to libstdc++ not being patched to support hidden
> visibility even though configure said it would disable hidden visibility.
> This does no harm but would be nicer without warnings.
>
> The first error is due to digikam/libs/dialogs/deletedialog.cpp using
> member 'del' from class 'KStdGuiItem' and using 'setButtonGuiItem'
> introduced with KDE 3.3.
>
> The other error is due to digikam/digikam/digikamapp.cpp using member
> 'synchronousRun' from class 'KIO::NetAccess' introduced with KDE 3.4.
>
> Since source seems to be preparted for use with KDE < 3.3 and since
> dependencies section in README states "KDE >= 3.x" this behaviour might be
> a bug. For reference I append an extract from make outout.
>
> By the way: If you still maintain older versions you also may which to add
> a semicolon to line 73 in file digikam/digikam/imageproperties.cpp in
> release digikam-0.8.2. That version than compiles fine with KDE 3.2.1 and I
> need only to solve two undefined references to libkipi-0.1.4.
>
>
> Regards, Moritz
>
>
> ./configure && make -i
> [...]
> make[4]: Entering directory `/usr/src/digikam-0.9.0/digikam/libs/dialogs'
> if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../digikam/libs/dimg
> -I../../../digikam/digikam -I../../../digikam/libs/dimg/filters
> -I../../../digikam/libs/widgets/common
> -I../../../digikam/libs/widgets/metadata
> -I../../../digikam/libs/widgets/iccprofiles
> -I../../../digikam/libs/widgets/imageplugins
> -I../../../digikam/utilities/imageeditor/canvas -I/opt/kde3/include
> -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT 
> -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -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 deletedialog.lo -MD -MP -MF
> ".deps/deletedialog.Tpo" -c -o deletedialog.lo deletedialog.cpp; \ then mv
> -f ".deps/deletedialog.Tpo" ".deps/deletedialog.Plo"; else rm -f
> ".deps/deletedialog.Tpo"; exit 1; fi deletedialog.cpp: In member function
> `void
>    Digikam::DeleteDialog::slotShouldDelete(bool)':
> deletedialog.cpp:234: error: 'class KStdGuiItem' has no member named 'del'
> deletedialog.cpp:234: error: `setButtonGuiItem' undeclared (first use this
>    function)
> deletedialog.cpp:234: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> make[4]: [deletedialog.lo] Error 1 (ignored)
> [...]
> make[3]: Entering directory `/usr/src/digikam-0.9.0/digikam/digikam'
> if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../digikam/sqlite
> -I../../digikam/libs/histogram -I../../digikam/libs/levels
> -I../../digikam/libs/curves -I../../digikam/libs/themeengine
> -I../../digikam/libs/widgets/common -I../../digikam/libs/thumbbar
> -I../../digikam/libs/jpegutils -I../../digikam/libs/dcraw
> -I../../digikam/libs/dimg -I../../digikam/libs/dmetadata
> -I../../digikam/libs/imageproperties -I../../digikam/libs/threadimageio
> -I../../digikam/libs/dialogs -I../../digikam/utilities/cameragui
> -I../../digikam/utilities/imageeditor/editor
> -I../../digikam/utilities/imageeditor/canvas
> -I../../digikam/utilities/splashscreen -I../../digikam/utilities/setup
> -I../../digikam/ -I../../digikam/libs/dialogs -I/opt/kde3/include  
> -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   
> -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscri
> pts -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
> digikamapp.lo -MD -MP -MF ".deps/digikamapp.Tpo" -c -o digikamapp.lo
> digikamapp.cpp; \ then mv -f ".deps/digikamapp.Tpo" ".deps/digikamapp.Plo";
> else rm -f ".deps/digikamapp.Tpo"; exit 1; fi [...]
> digikamapp.cpp: In member function `void
>    Digikam::DigikamApp::slotDownloadImages()':
> digikamapp.cpp:1179: error: 'class KIO::NetAccess' has no member named '
>    synchronousRun'
> make[3]: [digikamapp.lo] Error 1 (ignored)
> [...]
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users



More information about the Digikam-users mailing list