[Digikam-devel] svn compile error

Gilles Caulier caulier.gilles at kdemail.net
Fri Sep 29 10:53:06 BST 2006


Arnd, 

I think this is relevant of a change from Marcel to fix a digiKam kioslave 
bug.

In fact, `UDS_LOCAL_PATH' is defined in KIO namespace :

http://developer.kde.org/documentation/library/3.5-api/kdelibs-apidocs/kio/kio/html/namespaceKIO.html

If you use KDE 3.3.2, you cannot compile digikam because this value have been 
defined only after KDE 3.4. The question is : there is an alternative to do 
the same thing in the implementation using KDE 3.3.x.

Note : here i can compile digikam using KDE 3.4.2 API...

My viewpoint is that we need to be compatible with KDE 3.3.x until we port 
digiKam to Qt 4.0/KDE4.0. Marcel, your viewpoint ?

Gilles

On Friday 29 September 2006 11:41, Arnd Baecker wrote:
> Hi,
>
> after reading about all the nice improvements on the GPS side
> I wanted to update my installation. However, get the following
> error when compiling from svn:
>
> make[2]: Entering directory
> `/tmp/abaecker/digikam/graphics/digikam/kioslave'
> if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../digikam/libs/jpegutils
> -I../../digikam/libs/dimg -I../../digikam/libs/dmetadata
> -I../../digikam/libs/dcraw -I../../digikam/digikam -I/usr/include/kde
> -I/usr/share/qt3/include -I/usr/X11R6/include
> -I/home/abaecker/NBB/SOFTWARE/digikam/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 -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT
> digikamalbums.lo -MD -MP -MF ".deps/digikamalbums.Tpo" \
>   -c -o digikamalbums.lo `test -f 'digikamalbums.cpp' || echo
> './'`digikamalbums.cpp; \
> then mv -f ".deps/digikamalbums.Tpo" ".deps/digikamalbums.Plo"; \
> else rm -f ".deps/digikamalbums.Tpo"; exit 1; \
> fi
> digikamalbums.cpp: In member function `bool
>    kio_digikamalbums::createUDSEntry(const QString&, KIO::UDSEntry&)':
> digikamalbums.cpp:1153: error: `UDS_LOCAL_PATH' undeclared in namespace
> `KIO'
> make[2]: *** [digikamalbums.lo] Error 1
> make[2]: Leaving directory
> `/tmp/abaecker/digikam/graphics/digikam/kioslave'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/tmp/abaecker/digikam/graphics/digikam'
> make: *** [install-recursive] Error 1
>
> Previous compiles (approx 2 weeks ago) worked fine.
>
> Best, Arnd
>
> P.S. This is on debian sarge with KDE 3.3.2
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel




More information about the Digikam-devel mailing list