problem compiling kdeartwork

Dave Robbins drobbins at drobbins.net
Wed Feb 5 20:29:00 GMT 2003


Hello All,

I'm trying to compile kde 3.1 from scatch on a redhat 8.0 system
arts/kdelibs/kdebase went fine
I went about compiling the other packages in alphabetical order so did
kdeadmin, no sweat. kdeartwork was next. Ran ./configure with no
problem. Got a ways into the compile and things broke compiling
Openlook.cpp. Here's some output. It appears the compiler is using the
kde header files from the original kde that came on the system. I have
KDEDIR set to point to the new stuff. What do I need to do to make it
use the proper header files???

Dave



make[2]: Entering directory
`/home/drobbins/kde3.1/kdeartwork-3.1/kwin-styles'
Making all in openlook
make[3]: Entering directory
`/home/drobbins/kde3.1/kdeartwork-3.1/kwin-styles/openlook'
source='OpenLook.cpp' object='OpenLook.lo' libtool=yes \
depfile='.deps/OpenLook.Plo' tmpdepfile='.deps/OpenLook.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/kde/include
-I/home/drobbins/kde3.1/qt-x11-eval-3.1.1/include -I/usr/X11R6/include  
-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 -O2 -fno-exceptions -fno-check-new  -c -o OpenLook.lo `test
-f 'OpenLook.cpp' || echo './'`OpenLook.cpp
OpenLook.cpp:38:28: kwin/workspace.h: No such file or directory
OpenLook.cpp:39:26: kwin/options.h: No such file or directory
In file included from OpenLook.cpp:41:
OpenLook.h:27:25: kwin/client.h: No such file or directory
In file included from OpenLook.cpp:41:
OpenLook.h:33: namespace `KWinInternal' undeclared
OpenLook.h:38: parse error before `{' token
OpenLook.h:39: virtual outside class declaration
OpenLook.h:39: non-member function `const char* className()' cannot have
`const
   ' method qualifier
OpenLook.h:39: virtual outside class declaration
OpenLook.h:39: virtual outside class declaration
OpenLook.h:39: virtual outside class declaration
OpenLook.h:39: virtual outside class declaration
OpenLook.h: In function `QObject* qObject()':
OpenLook.h:39: invalid use of `this' in non-member function
OpenLook.h: At global scope:
OpenLook.h:39: parse error before `private'
OpenLook.h:52: destructors must be member functions
OpenLook.h:52: `void OpenLook()' redeclared as different kind of symbol
OpenLook.h:32: previous declaration of `OpenLook'
OpenLook.h:32: previous non-function declaration `OpenLook'


___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list