[PyKDE] problem setting up PyKDE on mdk9.1

caffeine at tuxfamily.org caffeine at tuxfamily.org
Fri Oct 3 18:25:00 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Hi,

I'm trying to setup PyKDE on my Mandrake 9.1/python 2.2 box but so far I 
had no luck. I grabbed all the RPMs at sourceforge, they installed fine 
but when I started to play around with a test script I got:

Traceback (most recent call last):
  File "testpykde.py", line 5, in ?
    from kdecore import *
  File "/usr/lib/python2.2/site-packages/kdecore.py", line 33, in ?
    import libkdecorec
ImportError: /usr/lib/python2.2/site-packages/libkdecorecmodule.so: 
undefined symbol: _ZNK10KAboutData18copyrightStatementEv

same problem when importing kdeui. PyQt seems to work fine, though. So I 
decided to compile PyKDE myself, grabbed the source, and grabbed PyQt 
source since I needed the sip files to generate KDE bindings.
The C++ files were generated, but the compile itself went wrong on kio:

cd kio && "/usr/bin/make" -f Makefile
make[1]: Entering directory `/home/sylvain/PyKDE-3.7-4/kio'
g++ -c -pipe -w -O2 -fomit-frame-pointer -pipe -march=i586 
- -mcpu=pentiumpro -fomit-frame-pointer -ffast-math -fforce-addr 
- -fno-strength-reduce -funroll-loops -D_REENTRANT -fPIC  
- -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions 
- -I/usr/lib/qt3//mkspecs/default -I. -I../extra/kde310 -I. 
- -I/usr/include/python2.2 -I/usr/include -I../extra/kde310/kio 
- -I/usr/include/kio -I../kdecore -I/usr/lib/qt3//include -o kiohuge0.o 
kiohuge0.cpp
/usr/include/kservice.h: In constructor `sipKService::sipKService(const 
KService&)':
/usr/include/kservice.h:47: `KService::KService(const KService&)' is 
private
sipkioKServicePtr.cpp:159: within this context
make[1]: *** [kiohuge0.o] Erreur 1
make[1]: Leaving directory `/home/sylvain/PyKDE-3.7-4/kio'
make: *** [sub-kio] Erreur 2

I'm pretty puzzled... Do I need to compile PyQt, SIP... by hand ? 

I don't like my first post to a ML being a request for help, but this 
one is just too strong for me...
Thanks for any help,
sylvain

- -- 
Est-ce contribuer à la banalisation de la violence que de vendre des 
fers à repasser ?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/fb9uK/qAVOpQGPYRAvdCAJsEgy5iN2onVcxXxcKN5rWzyyMvXgCgoXdU
eBhrH0FcsQdGdFiKzhaixjU=
=7+Mj
-----END PGP SIGNATURE-----




More information about the PyQt mailing list