Hi, I'm trying to get PyKDE working on my Gentoo Linux box. Using the ebuilds provided by Gentoo, things do not seem to get into a working state. So I tried building Sip, PyQT and PyKDE myself, using the latest sources packages from the website.
Following the install instructions, I finally arrived at the following combination: QT 3.3.8-r4 (Gentoo Ebuilds) KDE 3.5.7-r3 (Gentoo Ebuilds) Sip 4.7.3 (built from source) PyQT 3.17.4 (built from source) PyKDE 3.16.0 (built from source, patched for Sip >= 4.7) Unfortunately, this combination does not work either: ================================================== python importTest.py Testing PyKDE module imports Modules built: dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml kspell kdeprint kmdi Importing: dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts Traceback (most recent call last): File "importTest.py", line 20, in ? exec ("import " + mod) File "<string>", line 1, in ? ImportError: /usr/lib/python2.4/site-packages/kparts.so: undefined symbol: _ZNK14konsoleFactory9classNameEv =================================================== _ZNK14konsoleFactory9classNameEv translates to konsoleFactory::className(), but this method does not appear anywhere in the PyKDE sources. I even tried removing all occurrences of the konsoleFactory class, but this did not fix the problem. I configured PyKDE like this: python configure.py -k /usr/kde/3.5 PyKDE version 3.16.0 ------- Python include directory is /usr/include/python2.4 Python version is 2.4.4 sip version is 4.7.3 (4.7.3) Qt directory is /usr/qt/3 Qt version is 3.3.8 PyQt directory is /usr/share/sip PyQt version is 3.17.4 (3.17.4) gcc version 4.1.1 concatenating files KDE base directory is /usr/kde/3.5 KDE include directory is /usr/kde/3.5/include KDE lib directory is /usr/kde/3.5/lib lib directory is lib *** True KDE version is 0x30507 -- building for KDE 0x30503 *** KDE version is 3.5.3 (0x30503) 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 kdefx kdeui kio kresources kabc kutils kfile kparts khtml kspell kdeprint kmdi ... So, what is going wrong here?? Thanks for any hints, Dik _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt