pyKDE won't build

S

Steven

Hi folks,
I'm trying to install pyKDE.
python, pyQT and sip are installed and working.

I run python build.py and get the error shown at the end.
sip -V gives 3.10.1 (3.10.1-192)
PyQt version is 3.11

From the traceback it detects the wrong sip version, but I don't know how to
make it detect the correct version. There is only one version of sip on my
system. (slackware linux 9.1)
I don't understand python, but need pyKDE to make something else work.

Any help greatfully appreciated,

Steven

-------------startofpaste-------

Building PyKDE 3.8 on linux2.

Python version is 2.3
Python parent directory is /usr/lib/python2.3
Python library directory is /usr/lib/python2.3/config
Python include directory is /usr/include/python2.3

Home directory is /home/sr

sip code generator path (sip) is /usr/bin
sip version is 3.1
sip lib directory (libsip*) is /usr/lib/python2.3/site-packages
sip include directory (sipQt.h) is /usr/include/python2.3

Qt3 parent directory is /usr/lib/qt-3.2.3
Qt3 lib directory (libqt-mt.so.3) is /usr/lib/qt-3.2.3/lib
Qt3 include directory (qglobal.h) is /usr/lib/qt-3.2.3/include
Qt version is 3.2.3

PyQt lib directory is /usr/lib/python2.3/site-packages
PyQt lib version is 3.11
PyQt sip files directory is /usr/local/PyQt-x11-gpl-3.11/sip
PyQt sip version is 3.11.0

KDE3 parent directory is /opt/kde
KDE3 library directory (libkdecore.so) is /opt/kde/lib
KDE3 include directory (kapplication.h) is /opt/kde/include
KDE version is 3.2.1

make program is make
Makefile generator path (qmake) is /usr/lib/qt-3.2.3/bin
Install directory is /usr/lib/python2.3/site-packages


An internal error occured. Review the installation documentation or
report all the output from the program, including the traceback,
to the PyKDE mailing list: <[email protected]>. Thanks.


Traceback (most recent call last):
File "build.py", line 1038, in ?
main (sys.argv)
File "build.py", line 990, in main
dis.sanity (Release, opts)
File "build/discover.py", line 724, in sanity
raise DiscoverError, msg % (self.sipBin.vers, "this", base)
discover.DiscoverError: sip version (3.1) not compatible with this version
(3.8)

------------------end--------
 
D

David Boddie

Steven said:
Hi folks,
I'm trying to install pyKDE.
python, pyQT and sip are installed and working.

I run python build.py and get the error shown at the end.
sip -V gives 3.10.1 (3.10.1-192)
PyQt version is 3.11

Unfortunately, PyKDE 3.8 isn't guaranteed to work with versions of SIP or
PyQt later than SIP 3.8 and PyQt 3.8. A later version of PyKDE which works
with both KDE 3.2 and more recent versions of PyQt and SIP is scheduled
for release in the near future. Meanwhile, you might want to try getting
hold of compatible versions of PyQt and SIP.
From the traceback it detects the wrong sip version, but I don't know how to
make it detect the correct version. There is only one version of sip on my
system. (slackware linux 9.1)

This all sounds familiar. You may want to take a look at the PyKDE mailing
list archives at

http://mats.imk.fraunhofer.de/pipermail/pykde/

or even subscribe and repost details of your problem there.
I don't understand python, but need pyKDE to make something else work.

Hopefully, you won't need to understand Python to get it all working,
although you may wish to look at it more closely once you see what can be
achieved with Python, PyQt and PyKDE.

David
 
S

Steven

David said:
Unfortunately, PyKDE 3.8 isn't guaranteed to work with versions of SIP or
PyQt later than SIP 3.8 and PyQt 3.8. A later version of PyKDE which works
with both KDE 3.2 and more recent versions of PyQt and SIP is scheduled
for release in the near future. Meanwhile, you might want to try getting
hold of compatible versions of PyQt and SIP.
This all sounds familiar. You may want to take a look at the PyKDE mailing
list archives at

http://mats.imk.fraunhofer.de/pipermail/pykde/

or even subscribe and repost details of your problem there.

Hopefully, you won't need to understand Python to get it all working,
although you may wish to look at it more closely once you see what can be
achieved with Python, PyQt and PyKDE.

David

I've now got earlier versions of pyQt and sip, which I'll use until a new
version of pyKDE becomes available.

Thanks for the info

Steven
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top