[review] Re: [PyKDE] Compiing pyKDE-3.11alpha5 on kde3.2.1

Jim Bublitz jbublitz at nwinternet.com
Fri Apr 23 20:08:07 BST 2004


On Friday April 23 2004 06:51, Joachim Werner wrote:

> > Trying to compile pyKDE-3.11alpha5 I got this error message:
> > Generating the C++ source for the kdecore module...
> > sip: KPty is undefined
> > Error: Unable to create the C++ code.

> This should go away if you create a symlink from extra/kde320
> to extra/kde321.

That's interesting - I don't see why that would make a difference 
to sip, since sip doesn't use h files. The symlink is a good 
solution too.

> Here is how I have got things running on SUSE 9.1 final
> x86-64:

> - add the symlink to kde321
> - apply the little patch mentioned here:
   
> http://mats.imk.fraunhofer.de/pipermail/pykde/2004-April/00758
>1.html - provide the path to the KDE lib directory (on 64bit
> systems it's /opt/kde3/lib64 instead of /opt/kde3/lib)

The -n switch to configure.py should handle the KDE lib path.

> There was one additional glitch on 64bit: make install used
> the wrong Python path, so I ended up with the PyKDE stuff in
> /usr/lib/python2.3/site-packages instead of
> /usr/lib64/python2.3/site-packages. I am still investigating
> where I can change that.

The -d switch to configure.py should handle the install dir. I 
haven't tested either -n or -d.

> I'm going to try to provide unofficial rpm builds on SUSE
> LINUX as time permits, starting from the first non-alpha
> release of PyKDE.

Cool!

> If anybody has got example code written in PyKDE or (even
> better) a working template that could be integrated into
> KDevelop I'd be happy to get it. Currently we only have a
> (rather simple) Qt project in KDevelop.

Jim




More information about the PyQt mailing list