[PyQt] PyKDE3 compilation under Karmic fails

Timothy Pearson kb9vqf at pearsoncomputing.net
Mon Oct 19 05:07:57 BST 2009


Hi,

I was wondering if anyone might be able to offer some insight regarding 
PyKDE3 and SIP.  When I try to build PyKDE under Ubuntu Karmic, the 
build fails, claiming it can't find SIP.

At the beginning of the compilation, it is detected properly:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

cd build-2.5 && python2.5 ../configure.py \
-c -u -k /opt/kde3 -o /opt/kde3/include/kde -n /opt/kde3/lib \
-v /opt/kde3/share/sip/kde3 -j 4

PyKDE version 3.16.6
-------

Python include directory is /usr/include/python2.5
Python version is 2.5.4

sip version is 4.9.1-snapshot-20091015 (4.9.1)

Qt directory is /usr/share/qt3
Qt version is 3.3.8

PyQt directory is /usr/share/sip/qt
PyQt version is 3.18.1 (3.18.1)

gcc version 4.4.1
concatenating files

KDE base directory is /opt/kde3
KDE include directory is /opt/kde3/include/kde
KDE lib directory is /opt/kde3/lib
lib directory is lib

*** True KDE version is 0x3050a -- building for KDE 0x30503 ***

KDE version is 3.5.3 (0x30503)

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

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

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Later on, it fails with:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

cd dbg-build-2.6 && python2.6-dbg ../configure.py \
		-c -u -k /opt/kde3 -o /opt/kde3/include/kde -n /opt/kde3/lib \
		-v /opt/kde3/share/sip/kde3 -j 4
Can't find sipconfig.py (expected in sys.path)
Have you built the correct version of sip?
[16829 refs]
make: *** [dbg-build-2.6/configure-stamp] Error 255
dpkg-buildpackage: error: debian/rules build gave error exit status 2

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


The full build log is available here: 
http://launchpadlibrarian.net/33924400/buildlog_ubuntu-karmic-amd64.python-kde3-kde3_3.16.3-0ubuntu2_FAILEDTOBUILD.txt.gz

I need to rebuild this ASAP; the Ubuntu release is on the 29th of this 
month and I just found this problem a few days ago.  I am not a Python 
programmer, so I don't know where to even begin in tracking this down.

Thanks in advance for any help you can provide!

Timothy Pearson
KDE3.5 Maintainer/Developer
[C/C++/Qt, not Python ;-)]


More information about the PyQt mailing list