Message: previous - next
Month: January 2011

Howto build pykde after removed or prior kde3 install?

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 26 Jan 2011 14:46:53 -0600

   How do I get pykde to use the right dcopobject.h from trinity svn in order 
to successfully build it after removing my prior kde3 install? I ask because I 
read that you MUST remove prior KDE3 installs before building trinity. I did 
that. I also patch qt3 for 3.3.8c and I have it installed. However when you 
run 'python' it grabs the kde4 install information:

gcc version 4.5.2
concatenating files

KDE base directory is /usr
KDE include directory is /usr/include
KDE lib directory is /usr/lib
lib directory is lib

and then fails during make because it can't find the right dcopobject.h:

Creating top level Makefile...
make[1]: Entering directory 
g++ -c -Wno-deprecated-declarations -pipe -fPIC -march=x86-64 -mtune=generic 
-I../extra/kde353 -I/usr/include -I/usr/include/python2.7 
-I/opt/qt/mkspecs/default -I/opt/qt/include -I/usr/X11R6/include -o 
sipdcoppart0.o sipdcoppart0.cpp
sip/dcop/dcopobject.sip:30:24: fatal error: dcopobject.h: No such file or 
compilation terminated.
make[1]: *** [sipdcoppart0.o] Error 1
make[1]: Leaving directory 
make: *** [all] Error 2

   I know I am missing something basic concerning setting up my build 
environment. I can't just add something like:

-I /home/david/arch/pkg/trinity/kdelibs/dcop

to the dcop Makefile because it then fails to find tqobject.h and so on. So I 
need a push in the right direction. Anybody have a reference, a link, or some 
notes squirreled away that would help cure my ignorance here?

   Any help would be greatly appreciated. I'm more than willing to RTFM, if I 
just know which FM to read :-)

David C. Rankin, J.D.,P.E.