python and QT

Scott Lanning slanning at buphy.bu.edu
Tue May 21 16:53:01 EDT 2002


On Mon, 20 May 2002, Brad Noyes wrote:
>Hi All,
>I need to learn python for my job, and i decided to learn it using
>the pythong bindings for QT/KDE. I downloaded amd compiled PyQT, but
>the make install fails with
>
>make[3]: Entering directory `/home/brad/source/PyQt-3.2.4/qt'
>(cd /tmp;
>PYTHONPATH=/usr/lib/python1.5/site-packages:/usr/lib/python1.5/site-packages
>/usr/bin/python -c "import qt")
>Traceback (innermost last):
>  File "<string>", line 1, in ?
>  File "/usr/lib/python1.5/site-packages/qt.py", line 46, in ?
>    import libsip ImportError:
>/usr/lib/python1.5/site-packages/libsip.so: undefined symbol:
>PyObject_DEL make[3]: *** [install-data-hook] Error 1
>
>can anyone sugest ways to debug/fix this? I installed libsip from
>source just before i tried PyQT, it compiled and installed fine, so
>don't understand why i would get an 'undefined symbol:' error if it
>compiled fine.

Where was the new libsip.so installed?
I guess there might be two versions installed,
and the version found was already installed for python 1.5
so is too old and doesn't contain the symbol PyObject_DEL.
Also, python is up to 2.2.1 now, why not upgrade it?

-- 
homepage: http://world.std.com/~slanning/
very bored, please hire me :)




More information about the Discuss mailing list