[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Re: can't build pyqt-2.5 with python-2.2
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2001-09-27 20:13:03
[Download RAW message or body]

Alan Eldridge wrote:
> 
> 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.

I haven't tried Python 2.2 yet - I don't know if that introduces any
funnies.

Why are you using PyQt-2.5-Qt-NC on a UNIX system? I'm not saying it
won't work - but it's certainly never been tested. As you have Qt v2.3.1
installed then PyQt-2.5.tar.gz is the best tarball for you.

Phil


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic