[Digikam-devel] svn compile error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] svn compile error

Arnd Baecker
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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] svn compile error

Gilles Caulier-2
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
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] svn compile error

Marcel Wiesweg
Am Freitag 29 September 2006 11:53 schrieb Gilles Caulier:

> 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 ?

Yes, sure. I was not aware this was added only in 3.4. It's fixed in SVN,
using KDE_IS_VERSION macro.

Marcel

>
> Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] svn compile error

Arnd Baecker
Hi,

On Sat, 30 Sep 2006, Marcel Wiesweg wrote:

> Am Freitag 29 September 2006 11:53 schrieb Gilles Caulier:
> > 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 ?
>
> Yes, sure. I was not aware this was added only in 3.4. It's fixed in SVN,
> using KDE_IS_VERSION macro.

Many thanks! The compile works fine now.

Concerning kipi gpssync: It was not installed by the usual
 svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/libs
 cd libs
 make -f Makefile.cvs
 ./configure --prefix=$DKPATH --with-extra-includes=$DKPATH/include/
 make
 make install

I had to manually

cd libs/kipi-plugins/gpssync
make
make install

Not a real problem to me, but I wanted to mention it at least.

Best,

Arnd

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel