PyQt 3.1 Compilation Problems

James Lamanna jlamanna at its.caltech.edu
Sat Apr 27 15:54:29 EDT 2002


I have QT 3.0.3 installed (using a Debian package).
I've download and compiled libsip.
However, when I try to compile PyQt-3.1 (for Qt 3.x), I get the 
following error on 'make install':

/bin/sh ../mkinstalldirs /usr/lib/python2.1/site-packages
  /usr/bin/install -c -m 644 qt.py /usr/lib/python2.1/site-packages/qt.py
make  install-data-hook
make[3]: Entering directory `/home/james/PyQt-3.1/qt'
(cd /tmp; 
PYTHONPATH=/usr/lib/python2.1/site-packages:/usr/lib/python2.1/site-packages 
/usr/bin/python -c "import qt")
Traceback (most recent call last):
   File "<string>", line 1, in ?
   File "/usr/lib/python2.1/site-packages/qt.py", line 47, in ?
     import libqtc
ImportError: /usr/lib/python2.1/site-packages/libqtcmodule.so: undefined 
symbol: metaObject__C9QSGIStyle
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/home/james/PyQt-3.1/qt'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/home/james/PyQt-3.1/qt'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/james/PyQt-3.1/qt'
make: *** [install-recursive] Error 1

Any ideas how this would be resolved?
Thanks.

--James Lamanna






More information about the Python-list mailing list