[PyKDE] Trouble configuring on Mandrake

Greg Meyer mdklists at gkmweb.com
Sat Mar 5 23:21:28 GMT 2005


I am having trouble installing PyKDE on two machines.  One is a Mandrake 10.1 
upgraded to KDE 3.3.2 and the other is a current Cooker with KDE 3.3.2.  In 
both cases PyQt, PyQt-devel, sip and sip-devel are installed.  Both give 
similar errors when running the configure.py script.

First the 10.1 (the cooker output is below)

$ python configure.py

     PyKDE version 3.11.3
           -------

Python include directory is /usr/include/python2.3
Python version is 2.3.3

sip version is 3.10.2 (3.10.2)

Qt directory is /usr/lib/qt3/
Qt version is 3.3.2

PyQt directory is /usr/share/sip
PyQt version is 3.12 (3.12.0)

KDE base directory is /usr
KDE include directory is /usr/include
KDE lib directory is /usr/lib
KDE version is 3.3.2 (0x30302)

PyKDE modules will be installed in /usr/lib/python2.3/site-packages
PyKDE .sip files will be installed in /usr/share/sip

PyKDE modules to be built:
   dcop kdecore kdesu kdefx kdeui kio kutils kfile kparts khtml kspell 
kdeprint kmdi

Generating the C++ source for the dcop module...
Compiling dcop.py...
Creating the Makefile for the dcop module...

Generating the C++ source for the kdecore module...
sip: KPty is undefined
Error: Unable to create the C++ code.

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

and the cooker

$ python ./configure.py

     PyKDE version 3.11.3
           -------

Python include directory is /usr/include/python2.4
Python version is 2.4.0

sip version is 4.2 (4.2.0)

Qt directory is /usr/lib/qt3/
Qt version is 3.3.4

PyQt directory is /usr/share/sip
PyQt version is 3.14 (3.14.0)

KDE base directory is /usr
KDE include directory is /usr/include
KDE lib directory is /usr/lib
KDE version is 3.3.2 (0x30302)

PyKDE modules will be installed in /usr/lib/python2.4/site-packages
PyKDE .sip files will be installed in /usr/share/sip

PyKDE modules to be built:
   dcop kdecore kdesu kdefx kdeui kio kutils kfile kparts khtml kspell 
kdeprint kmdi

Generating the C++ source for the dcop module...
Creating the Makefile for the dcop module...

Generating the C++ source for the kdecore module...
sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope with 
the same Python name
Error: Unable to create the C++ code.



-- 
/g

"Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read" -Groucho Marx




More information about the PyQt mailing list