[PyKDE] Some issues building PyKDE on RH7.3

Pedro RODRIGUEZ pedro_rodriguez at club-internet.fr
Thu Nov 13 09:42:01 GMT 2003


These are some issues I had to compile PyKDE 3.8.0 (with /PyQt 3.8.1/sip 3.8
on RedHat 7.3 with Kde 3.1.4 (KDE-Redhat - Fedora)).

in discovery.py: sip search patch is limited to /usr/local/bin, /usr/bin
-> if there is an older version of sip is installed at one of these places
   (I think it leads to the problem of missing 'dcop' directory)
-> my sip is in an another (personal) directory, not at system level, and is
   available through my path

in build.py, the 'split' (-j #) option does not work
-> catSplit variable is not declared as global in initGlobals,
    so the option is noop (without this option, on a 256 Mo, the 11 Mo of
    kdeuihuge0.cpp won't compile... well, the time it may have taken wasn't
    compatible with my patience... swapping issues ;)

in pykpanelapplet.pro, /usr/include/python2.2 and /usr/lib/python2.2 
    path hardwired
in testPythonize.pro, /opt/kde3/include and /usr/lib/python2.2 
    path hardwired

When using the split option, there was an issue when compiling the kdecore
pyArgvToC and updatePyArgv prototypes may be missing for some
kdecorehugeN.cpp (manually added in order to compile)

When running PyKDE example 'uisample.py', there is an issue (probably with
the kde libraries). The error message is :
ImportError: /mnt/wrk/python/lib/python2.2/site-packages/libkdecorecmodule.so: 
    undefined symbol: manage__19KAcceleratorManagerP7QWidget
To resolve the missing symbol, I need to run :
    LD_PRELOAD=/usr/lib/libkdeui.so.4.1.0 python uisampler.py


Hope this can help other people that would like to give a try to PyKDE.

Regards,
Pedro




More information about the PyQt mailing list