Compiling KDE 3.0 under Debian
I am trying to compile KE 3.0 in a Debian (woody+sid ) box in a local
directory and I have problems when compiling kdelibs. I have followed the
instructions in http://women.kde.org/projects/coding/kde2+3.html .
qt-copy and kdesupport compile fine, but kdelibs does not. I get the
following error :
make[3]: Entering directory `/usr/local/kde3/kde-cvs/kdelibs/dcop/dcopidl2cpp'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../libltdl
-I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile
-I/usr/local/qt-copy/include -I/usr/X11R6/include -I/usr/local/kde3/include
-DQT_THREAD_SUPPORT
-D_REENTRANT -O2 -fno-exceptions -fno-check-new -ftemplate-depth-99
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
-c main.cpp
In file included from main.cpp:32:
main.h:29: type specifier omitted for parameter
main.h:29: parse error before `)'
main.h:34: type specifier omitted for parameter
main.h:34: parse error before `,'
main.h:39: type specifier omitted for parameter
main.h:39: parse error before `,'
main.cpp: In function `int main(int, char **)':
main.cpp:95: `QDomDocument' undeclared (first use this function)
main.cpp:95: (Each undeclared identifier is reported only once
main.cpp:95: for each function it appears in.)
main.cpp:95: parse error before `;'
main.cpp:96: `doc' undeclared (first use this function)
main.cpp:98: `QDomElement' undeclared (first use this function)
main.cpp:98: parse error before `='
and some more messages.
QDomDocument and QDomElement seem to be defined in qdom.h, so I do not
understand why they are not recognized in main.cpp file.
Has somebody installed KDE 3.0 in a Debian box locally and suceeded?.
Pablo de Vicente
Reply to: