[PyKDE] PyQt build problem

Phil Thompson phil at river-bank.demon.co.uk
Mon Oct 21 12:43:00 BST 2002


On Monday 21 October 2002 11:18 am, katagiri wrote:
> Hi,
>
> I have a problem with building PyQt-x11-gpl-3.4 using Qt-2.3.2
> on Linux. I have not OpenGL, and got an error as blow.
> I want to skip the building of qtgl module.
>
>
> $ python build.py -b /opt/PyQt-3.4
>
> g++ -c -pipe -O2 -DNO_DEBUG -fno-exceptions -I.
> -I/opt/python/include/python2.2 -I/usr/lib/qt-2.3.2/include
> -I/usr/X11R6/include -o qttest.o qttest.cpp g++  -o qttest qttest.o  
> -L/usr/lib/qt-2.3.2/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lXext -lX11
> -lm qttest.o: In function `main':
> qttest.o(.text+0x23): undefined reference to `QGLWidget::QGLWidget(QWidget
> *, char const *, QGLWidget const *, unsigned int)' collect2: ld returned 1
> exit status
> make: *** [qttest] error 1
> ***************************************************************************
>*** The qtgl module will not be built.
> ***************************************************************************
>*** rm -f qttest.o     qttest
> rm -f *~ core
> ***************************************************************************
>*** Using existing features file.
> ***************************************************************************
>***
> ***************************************************************************
>*** Generating the C++ source for the qt module.
> ***************************************************************************
>***
> ***************************************************************************
>*** Error: /home/opensrc/PyQt-x11-gpl-3.4/sip failed with an exit code of
> 127.
> ***************************************************************************
>***
>
>
> Qt-2.3.2
> sip-x11-gpl-3.4
> PyQt-x11-gpl-3.4
> Python-2.2.2
> Linux 2.4.18

The problem has nothing to do with OpenGL. It looks like build.py can't find 
the sip binary.

Phil




More information about the PyQt mailing list