Re: Stuck trying to build kdepim
I took a look at kdelibs/kdeui/klineeditdlg.cpp and noticed the line 26
has this:
#undef Unsorted // Required for --enable-final (qdir.h)
You may want to give that a try with the kalarm/editdlg.cpp
-James
On Mon, 2002-11-18 at 13:23, Alan Chandler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Help
>
> I have slowly managed to build .debs of all of kde except kdebindings and
> kdepim. kdebindings I can live with, but kdepim is particularly an area I
> want to test.
>
> I am pretty up to date with the CVS version, and I am using the debian way (ie
> using dpkg-buildpackage -b -uc -us to build the debs (using g++-3.2 and I
> have build and then installed debs back to qt-copy)
>
> It gets to the point of building kalarm and it fails with the messages below
>
> It looks to be going wrong in editdlg.cpp which includes <qdir.h> someway down
> its list of includes. I can't find anything obviously wrong with the code
> and it doesn't look like the kde cvs has had any recent changes.
>
> The initial lines it is reporting as wrong in qdir.h are just blank lines.
>
> Since when does the compiler take blank lines as the end of a statement?
>
> ========================================================
>
> make[4]: Entering directory `/root/kde/kdepim/obj-i386-linux/kalarm'
> creating kalarm.all_cpp.cpp ...
> source='kalarm.all_cpp.cpp' object='kalarm.all_cpp.o' libtool=no \
> depfile='.deps/kalarm.all_cpp.Po' tmpdepfile='.deps/kalarm.all_cpp.TPo' \
> depmode=gcc3 /bin/sh ../../admin/depcomp \
> g++-3.2 -DHAVE_CONFIG_H -I. -I../../kalarm -I.. -I../.. -I../libical/src
> - -I../libkdepim -I/usr/include/kde -I/usr/include/qt -I/usr/X11R6/include
> - -I/usr/include/gtk-1.2 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
> - -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
> - -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> - -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions
> - -fno-check-new -c -o kalarm.all_cpp.o `test -f kalarm.all_cpp.cpp || echo
> '../../kalarm/'`kalarm.all_cpp.cpp
> In file included from kalarm.all_cpp.cpp:3:
> ../../kalarm/kalarmapp.cpp: In static member function `static int
> KAlarmApp::isTextFile(const KURL&)':
> ../../kalarm/kalarmapp.cpp:1512: warning: passing negative value `-1' for
> argument 1 of `KFileItem::KFileItem(unsigned int, unsigned int, const
> KURL&,
> bool)'
> ../../kalarm/kalarmapp.cpp:1512: warning: passing negative value `-1' for
> argument 2 of `KFileItem::KFileItem(unsigned int, unsigned int, const
> KURL&,
> bool)'
> In file included from ../../kalarm/editdlg.cpp:42,
> from kalarm.all_cpp.cpp:4:
> /usr/include/qt/qdir.h: At global scope:
> /usr/include/qt/qdir.h:79: warning: comma at end of enumerator list
> /usr/include/qt/qdir.h:79: parse error before numeric constant
> /usr/include/qt/qdir.h:85: missing ';' before right brace
> /usr/include/qt/qdir.h:87: parse error before `)' token
> /usr/include/qt/qdir.h:88: parse error before `const'
> /usr/include/qt/qdir.h:90: parse error before `const'
> /usr/include/qt/qdir.h:92: destructors must be member functions
> ....
> and a lot more errors before eventually giving up
>
> - --
> Alan Chandler
> alan@chandlerfamily.org.uk
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE92TAKuFHxcV2FFoIRAnT+AKCOpbdWnYXtrw7H7ksnkJaGgx49NQCfeF55
> aF79/nnctwPMwIlELsl5VzM=
> =TmQ7
> -----END PGP SIGNATURE-----
--
James Greenhalgh <jgreenhalgh@opendoorsoftware.com>
Open Door Software Inc.
Reply to: