Compiling PyQT-2.2

Marcus Urban MURBAN at
Sat Dec 16 12:45:23 EST 2000

I've been trying to build PyQt for several days now and it continues to
fail during the "make install" process. SIP compiles just fine. No
complaints during ./configure or make/install. PyQt configures fine, too,
with no complaints. The make process succeeds. But "make install" aborts.
And yes, QTDIR is set correctly.

/bin/sh ../mkinstalldirs /usr/local/lib/python2.0/site-packages
 /usr/bin/ginstall -c -m 644 ./ /usr/local/lib/python2.0/site-packages/
make  install-data-hook
make[3]: Entering directory `/home/urban/py/PyQt-2.2/qt'
(cd /tmp; PYTHONPATH=/usr/local/lib/python2.0/site-packages:/usr/local/lib/python2.0/site-packages python -c "import qt")
Traceback (innermost last):
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.0/site-packages/", line 43, in ?
    import libqtc
ImportError: /usr/local/lib/ undefined symbol: PyObject_Init
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/home/urban/py/PyQt-2.2/qt'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/home/urban/py/PyQt-2.2/qt'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/urban/py/PyQt-2.2/qt'
make: *** [install-recursive] Error 1

More information about the Python-list mailing list