[PyQt] PyKDE3 compilation under Karmic fails [SOLVED]

kb9vqf at pearsoncomputing.net kb9vqf at pearsoncomputing.net
Mon Oct 19 18:49:36 BST 2009


> Date: Mon, 19 Oct 2009 11:49:42 +0200
> From: "Hans-Peter Jansen" <hpj at urpla.net>
> Subject: Re: [PyQt] PyKDE3 compilation under Karmic fails
> To: pyqt at riverbankcomputing.com
> Message-ID: <200910191149.42720.hpj at urpla.net>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> 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

Thanks for the pointer!  I looked closely at what python2.6-dbg needs vs.
python2.6, and sure enough the Ubuntu packagers recently split out the SIP
debug files into the package python-sip4-dbg.  Installing that package
before building PyKDE3 repaired the issue.

Tim



More information about the PyQt mailing list