[PyKDE] PyKDE and KDE 3.4.0

Karsten Vieth k.vieth at gmail.com
Thu Apr 7 22:25:15 BST 2005


Trying to install PyKDE with KDE 3.4.0

*************************************
PyKDE-snapshot20050316]# python configure.py

     PyKDE version 4.0.0
           -------

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

sip version is 4.2.1 (4.2.1)

Qt directory is /usr/lib/qt-3.3
Qt version is 3.3.4

PyQt directory is /usr/share/sip
PyQt version is snapshot-20050311 (3.14.1)

KDE base directory is /usr
KDE include directory is /usr/include/kde
KDE lib directory is /usr/lib
lib directory is lib
KDE version is 3.4.0 (0x30400)

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...
Creating the Makefile for the dcop module...

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

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

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

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

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

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

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

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

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

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

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

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

Creating top level Makefile...
Creating pykdeconfig.py...
*************************************

Finished without errors.
make && make install work without errors, but when i test import, the
script fails:

*************************************
PyKDE-snapshot20050316]# python importTest.py

Testing PyKDE module imports

Modules built:
  dcop kdecore kdesu kdefx kdeui kio kutils kfile kparts khtml kspell
kdeprint kmdi

Importing:

dcop
kdecore
kdesu
Traceback (most recent call last):
  File "importTest.py", line 19, in ?
    exec ("import " + mod)
  File "<string>", line 1, in ?
ImportError: /usr/lib/python2.3/site-packages/kdesu.so: undefined
symbol: _ZN7KCookie16setDcopTransportERK8QCString
*************************************

Don't know what to change to get it working.




More information about the PyQt mailing list