[Digikam-users] workflow?
Gilles Caulier
caulier.gilles at kdemail.net
Wed Mar 8 14:43:50 GMT 2006
Interresing. I suspect that you use gcc 4.1... right ?
I have never tried to compile with gcc 4.1. Here i use mandriva 2006 :
[gilles at localhost dany]$ gcc -v
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-languages=c,c++,ada,f95,objc,java --host=i586-mandriva-linux-gnu
--with-system-zlib --enable-long-long --enable-__cxa_atexit
--enable-clocale=gnu --disable-libunwind-exceptions --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo
--disable-libjava-multilib
Thread model: posix
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
[gilles at localhost dany]$
And there is no problem like this (I'm compiling digikam all days).
Gilles
>
> On Tue, 7 Mar 2006, Mikolaj Machowski wrote:
> > Dnia wtorek, 7 marca 2006 09:07, Arnd Baecker napisaĆ:
> > > To test these features would mean to use svn, right?
> > > (should be no problem, will check tomorrow)
> >
> > Works and compiles OK. Didn't notice stability problems.
>
> With the huge list of improvements I could not resist to try this out.
> I used this script (slightly modified compared
> to the one at http://www.digikam.org/?q=download/svn):
>
> ####################################
> #!/bin/sh -xve
>
> DKPATH=/home/abaecker/NBB/SOFTWARE/digikam3
>
> echo Get, compile and install required libs
> svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/libs
> cd libs
> make -f Makefile.cvs
> ./configure --prefix=$DKPATH
> make
> make install
> cd ..
>
> echo Get, compile and install digikam
> #http://websvn.kde.org/branches/stable/extragear/graphics/digikam/
> #svn co -N
> svn://anonsvn.kde.org/home/kde/branches/stable/extragear/graphics
>
> #http://websvn.kde.org/trunk/extragear/graphics/digikam/
> svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/
> cd graphics
> svn up digikam
> svn up digikamimageplugins
> svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
> make -f Makefile.cvs
> ./configure --prefix=$DKPATH --with-extra-includes=$DKPATH/include \
> --with-extra-libs=$DKPATH/lib
> make
> make install
> ###########################
>
> ... and get the error message below.
>
> Am I missing something simple (some dependency?) or is the code just
> in the middle of changes?
> (should questions concerning the trunk be better placed on the devel
> mailing list?)
>
> Many thanks,
>
> Arnd
>
>
> Making install in loaders
> make[4]: Entering directory
> `/tmp/abaecker/digikam/graphics/digikam/libs/dmetadata/loaders'
> if /bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++
> -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../digikam/libs/dmetadata
> -I../../../../digikam/libs/dimg -I/usr/include/kde
> -I/usr/share/qt3/include -I/usr/X11R6/include
> -I/home/abaecker/NBB/SOFTWARE/digikam3/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
> -fexceptions -MT dmetaloader.lo -MD -MP -MF ".deps/dmetaloader.Tpo" \
> -c -o dmetaloader.lo `test -f 'dmetaloader.cpp' || echo
> './'`dmetaloader.cpp; \
> then mv -f ".deps/dmetaloader.Tpo" ".deps/dmetaloader.Plo"; \
> else rm -f ".deps/dmetaloader.Tpo"; exit 1; \
> fi
> In file included from ../../../../digikam/libs/dmetadata/dmetadata.h:30,
> from dmetaloader.cpp:44:
> ../../../../digikam/libs/dimg/dimg.h:36:28: digikam_export.h: No such file
> or directory
> In file included from ../../../../digikam/libs/dimg/dimg.h:37,
> from ../../../../digikam/libs/dmetadata/dmetadata.h:30,
> from dmetaloader.cpp:44:
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:24:28:
> digikam_export.h: No such file or directory
> In file included from ../../../../digikam/libs/dimg/dimg.h:37,
> from ../../../../digikam/libs/dmetadata/dmetadata.h:30,
> from dmetaloader.cpp:44:
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:30: error: syntax
> error
> before `{' token
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:37: error: ISO C++
> forbids
> declaration of `RAWQuality' with no type
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:38: error: ISO C++
> forbids
> declaration of `RGBInterpolate4Colors' with no type
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:39: error: ISO C++
> forbids
> declaration of `SuperCCDsecondarySensor' with no type
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:40: error: ISO C++
> forbids
> declaration of `unclipColors' with no type
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:41: error: ISO C++
> forbids
> declaration of `cameraColorBalance' with no type
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:42: error: ISO C++
> forbids
> declaration of `automaticColorBalance' with no type
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:45: error: destructors
> must
> be member functions
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:47: error: parse error
> before `public'
> ../../../../digikam/libs/dimg/rawdecodingsettings.h:73: error: parse error
> before `}' token
> In file included from ../../../../digikam/libs/dimg/dimg.h:38,
> from ../../../../digikam/libs/dmetadata/dmetadata.h:30,
> from dmetaloader.cpp:44:
> ../../../../digikam/libs/dimg/dimgloaderobserver.h:26:28:
> digikam_export.h: No such file or directory
> In file included from ../../../../digikam/libs/dimg/dimg.h:38,
> from ../../../../digikam/libs/dmetadata/dmetadata.h:30,
> from dmetaloader.cpp:44:
> ../../../../digikam/libs/dimg/dimgloaderobserver.h:34: error: syntax error
> before `{' token
> ../../../../digikam/libs/dimg/dimgloaderobserver.h:43: error: virtual
> outside
> class declaration
> ../../../../digikam/libs/dimg/dimgloaderobserver.h:50: error: virtual
> outside
> class declaration
> ../../../../digikam/libs/dimg/dimgloaderobserver.h:53: error: parse error
> before `}' token
> In file included from ../../../../digikam/libs/dimg/dimg.h:39,
> from ../../../../digikam/libs/dmetadata/dmetadata.h:30,
> from dmetaloader.cpp:44:
> ../../../../digikam/libs/dimg/dcolor.h:30:28: digikam_export.h: No such
> file or directory
> In file included from ../../../../digikam/libs/dimg/dimg.h:39,
> from ../../../../digikam/libs/dmetadata/dmetadata.h:30,
> from dmetaloader.cpp:44:
> ../../../../digikam/libs/dimg/dcolor.h:36: error: syntax error before `{'
> token
> ../../../../digikam/libs/dimg/dcolor.h:46: error: ISO C++ forbids
> declaration
> of `DColor' with no type
> ../../../../digikam/libs/dimg/dcolor.h: In function `int
> Digikam::DColor(const
> uchar*, bool)':
> ../../../../digikam/libs/dimg/dcolor.h:46: error: `setColor' undeclared
> (first
> use this function)
> ../../../../digikam/libs/dimg/dcolor.h:46: error: (Each undeclared
> identifier
> is reported only once for each function it appears in.)
> ../../../../digikam/libs/dimg/dcolor.h: At global scope:
> ../../../../digikam/libs/dimg/dcolor.h:50: error: ISO C++ forbids
> declaration
> of `DColor' with no type
> ../../../../digikam/libs/dimg/dcolor.h: In function `int
> Digikam::DColor(int,
> int, int, int, bool)':
> ../../../../digikam/libs/dimg/dcolor.h:50: error: only constructors take
> base
> initializers
> ../../../../digikam/libs/dimg/dcolor.h:51: confused by earlier errors,
> bailing out
> make[4]: *** [dmetaloader.lo] Error 1
> make[4]: Leaving directory
> `/tmp/abaecker/digikam/graphics/digikam/libs/dmetadata/loaders'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory
> `/tmp/abaecker/digikam/graphics/digikam/libs/dmetadata'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/tmp/abaecker/digikam/graphics/digikam/libs'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/tmp/abaecker/digikam/graphics/digikam'
> make: *** [install-recursive] Error 1
>
> _______________________________________________
> 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