[PyKDE] PyQt-2.4 make is confused

Phil Thompson phil at river-bank.demon.co.uk
Sat May 5 16:27:13 BST 2001


I'm not suggesting this will fix it, but there is an install problem
with 2.4 if you ran configure with --with-python=... The problem is that
"make install" will use "python" to do the install rather than the
interpreter you specified using "--with-python=".

Phil

Albert Wagner wrote:
> 
> PyQt-2.4 configured and compiled without errors, but the install went crazy.
> Can anyone tell me what "make install" was trying to do here?  qt.py at line
> 43 is:
> 
> import libqtc
> 
> yet, as seen below, it didn't install any libqtc
> 
> Thanks ahead for any help.
> ========================================
> $ make install
> Making install in qt
> make[1]: Entering directory `/root/pkg/python/PyQt-2.4/qt'
> make[2]: Entering directory `/root/pkg/python/PyQt-2.4/qt'
> /bin/sh ../mkinstalldirs /usr/local/lib/python2.1/site-packages
>  /bin/sh ../libtool  --mode=install /usr/bin/install -c  libqtcmodule.la
> /usr/local/lib/python2.1/site-packages/libqtcmodule.la
> /usr/bin/install -c .libs/libqtcmodule-2.4.so
> /usr/local/lib/python2.1/site-packages/libqtcmodule-2.4.so
> (cd /usr/local/lib/python2.1/site-packages && rm -f libqtcmodule.so && ln -s
> libqtcmodule-2.4.so libqtcmodule.so)
> /usr/bin/install -c .libs/libqtcmodule.lai
> /usr/local/lib/python2.1/site-packages/libqtcmodule.la
> PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/python2.1/site-packages
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib/python2.1/site-packages
> <more>
> ----------------------------------------------------------------------
> /bin/sh ../mkinstalldirs /usr/local/lib/python2.1/site-packages
>  /usr/bin/install -c -m 644 qt.py /usr/local/lib/python2.1/site-packages/qt.py
> make  install-data-hook
> make[3]: Entering directory `/root/pkg/python/PyQt-2.4/qt'
> (cd /tmp;
> PYTHONPATH=/usr/local/lib/python2.1/site-packages:/usr/local/lib/python2.1/site-packages
> python -O -c "import qt")
> Traceback (most recent call last):
>   File "<string>", line 1, in ?
>   File "/usr/local/lib/python2.1/site-packages/qt.py", line 43, in ?
>     import libqtc
> ImportError: shared object not open
> make[3]: *** [install-data-hook] Error 1
> 
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.gmd.de
> http://mats.gmd.de/mailman/listinfo/pykde




More information about the PyQt mailing list