[PyKDE] installation errors
Peter Horst
phorst at ointment.org
Thu Dec 20 23:40:25 GMT 2001
I'm trying to install PyQt-3.0 on a linux rh7.1 machine with Python 2.1,
Sip 3.0, and Qt 3.0 (installed at /usr/local/qt). It compiles, but I'm
getting the following errors at 'make install'. Can someone help me?
Thank you.
Making install in qt
make[1]: Entering directory `/usr/local/src/PyQt-3.0/qt'
make[2]: Entering directory `/usr/local/src/PyQt-3.0/qt'
/bin/sh ../mkinstalldirs /usr/lib/python2.1/site-packages
/bin/sh ../libtool --mode=install /usr/bin/install -c libqtcmodule.la /usr/lib/python2.1/site-packages/libqtcmodule.la
/usr/bin/install -c .libs/libqtcmodule.lai /usr/lib/python2.1/site-packages/libqtcmodule.la
/usr/bin/install -c .libs/libqtcmodule.a /usr/lib/python2.1/site-packages/libqtcmodule.a
ranlib /usr/lib/python2.1/site-packages/libqtcmodule.a
chmod 644 /usr/lib/python2.1/site-packages/libqtcmodule.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/python2.1/site-packages
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/python2.1/site-packages
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/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 `/usr/local/src/PyQt-3.0/qt'
(cd /tmp; PYTHONPATH=/usr/lib/python2.1/site-packages:/usr/lib/python2.1/site-packages /usr/bin/python -O -c "import qt")
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/python2.1/site-packages/qt.py", line 44, in ?
import libqtc
ImportError: No module named libqtc
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/usr/local/src/PyQt-3.0/qt'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/usr/local/src/PyQt-3.0/qt'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/src/PyQt-3.0/qt'
make: *** [install-recursive] Error 1
More information about the PyQt
mailing list