[PyKDE] Problems building PyQt3.1

Phil Thompson phil at river-bank.demon.co.uk
Tue Apr 16 16:43:15 BST 2002


Roeland Rengelink wrote:
> 
> Hi,
> 
> I have problems building PyQt-3.1 for Python2.2 and Qt3.0.3 under RH Linux.
> 
> configure and make seem to run succesfully, but make install gives:
> 
> <snip>
> Libraries have been installed in:
>    /data/software/lib/python2.2/site-packages
> <snip>
> make[3]: Entering directory `/data/software/packages/PyQt-3.1/qt'
> (cd /tmp; PYTHONPATH=/data/software/lib/python2.2/site-packages:/data/software/lib/python2.2/site-packages /data/software/bin/python -c "import qt")
> Traceback (most recent call last):
>   File "<string>", line 1, in ?
>   File "/data/software/lib/python2.2/site-packages/qt.py", line 47, in ?
>     import libqtc
> ImportError: /data/software/lib/python2.2/site-packages/libqtcmodule.so: undefined symbol: __ti8sipProxy
> 
> i.e, importing libqtc fails with undefined symbols.
> 
> It appears that __ti8sipProxy is the only symbol in the __ti*sip*
> family that is undefined,
> 
> > nm libqtcmodule.so | grep "U __ti[0-9]*sip"
>          U __ti8sipProxy
> 
> This suggests to me that an individual object file was omitted in
> linking. Unfortunately I haven't been able to deduce where this symbol
> should have been defined. Am I missing something obvious?

Sounds like you have built SIP with Qt support disabled. Check the
output of configure.

Phil





More information about the PyQt mailing list