[PyQt] PyKDE3 compilation under Karmic fails
Hans-Peter Jansen
hpj at urpla.net
Mon Oct 19 10:49:42 BST 2009
Am Montag 19 Oktober 2009 schrieb Timothy Pearson:
> 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
>
>
> 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
I guess, that your are using two different python environments, one with and
the other without sip installed.
Look yourself:
-rw-r--r-- 1 root root 87156 15. Okt 14:16 /usr/lib/python/site-packages/sipconfig.py
-rw-r--r-- 1 root root 3332 15. Okt 14:16 /usr/lib/python/site-packages/sipdistutils.py
-rwxr-xr-x 1 root root 86600 15. Okt 14:16 /usr/lib/python/site-packages/sip.so*
but my installations are simple minded: I use just one python (and not even python3).
Pete
More information about the PyQt
mailing list