[PyKDE] Re: can't build pyqt-2.5 with python-2.2
Alan Eldridge
alane at geeksrus.net
Mon Sep 24 12:13:08 BST 2001
That was a long output. Here's the fun bit pointed out.
>/bin/sh ../libtool --mode=install /usr/local/bin/shtool install libqtglcmodule.la /tmp/PyQt-2.5-root/usr/lib/python2.2/site-packages/libqtglcmodule.la
>libtool: install: warning: relinking `libqtglcmodule.la'
**** OK, Relinking? WHY?
>cd /home/alane/rpm/BUILD/PyQt-2.5-Qt-NC/qtgl; /bin/sh ../libtool --mode=relink c++ -fno-exceptions -O2 -o libqtglcmodule.la -rpath /usr/lib/python2.2/site-packages -release 2.5 qtglcmodule.lo sipqtglQGLWidget.lo sipqtglQGLContext.lo sipqtglQGLFormat.lo sipqtglQGL.lo -L../qt -lqtcmodule -L/usr/lib/qt-2.3.1/lib -lsip -lqt -L/usr/X11R6/lib -lSM -lICE -lX11
>gcc -shared qtglcmodule.lo sipqtglQGLWidget.lo sipqtglQGLContext.lo sipqtglQGLFormat.lo sipqtglQGL.lo -Wl,--rpath -Wl,/usr/lib/python2.2/site-packages -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/qt-2.3.1/lib -L/home/alane/rpm/BUILD/PyQt-2.5-Qt-NC/qt -L/usr/lib/python2.2/site-packages -lqtcmodule -lsip -lqt -lSM -lICE -lX11 -Wl,-soname -Wl,libqtglcmodule-2.5.so -o .libs/libqtglcmodule-2.5.so
>/usr/bin/ld: cannot find -lqtcmodule
>collect2: ld returned 1 exit status
>libtool: install: error: relink `libqtglcmodule.la' with the above command before installing it
**** AWWW SHIT, now we're pretty pretty much hosed from here on out....
>libtool: install: warning: remember to run `libtool --finish /usr/lib/python2.2/site-packages'
>/bin/sh ../mkinstalldirs /tmp/PyQt-2.5-root/usr/lib/python2.2/site-packages
> /usr/local/bin/shtool install -m 644 ./qtgl.py /tmp/PyQt-2.5-root/usr/lib/python2.2/site-packages/qtgl.py
>make install-data-hook
>make[3]: Entering directory `/home/alane/rpm/BUILD/PyQt-2.5-Qt-NC/qtgl'
>(cd /tmp; PYTHONPATH=/tmp/PyQt-2.5-root/usr/lib/python2.2/site-packages:/tmp/PyQt-2.5-root/usr/lib/python2.2/site-packages /usr/bin/python -O -c "import qtgl")
>Traceback (most recent call last):
> File "<string>", line 1, in ?
> File "/tmp/PyQt-2.5-root/usr/lib/python2.2/site-packages/qtgl.py", line 6, in ?
> import libqtglc
>ImportError: No module named libqtglc
Well, of course not, silly! We barfed trying to relink it for some ungodly
reason earlier.
--
Alan Eldridge
from std_disclaimer import *
More information about the PyQt
mailing list