trinity-users@lists.pearsoncomputing.net

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
Guys,

   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 configure.py' 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
<snip>

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

<snip>
Creating top level Makefile...
Creating pykdeconfig.py...
make[1]: Entering directory 
`/home/david/arch/pkg/trinity-notes/pykde3/src/PyKDE-3.16.7/dcop'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -march=x86-64 -mtune=generic 
-O2 -pipe -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. 
-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 
directory
compilation terminated.
make[1]: *** [sipdcoppart0.o] Error 1
make[1]: Leaving directory 
`/home/david/arch/pkg/trinity-notes/pykde3/src/PyKDE-3.16.7/dcop'
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.