[PyKDE] PyQt build problem

katagiri katagiri at teikokupr.co.jp
Mon Oct 21 12:20:01 BST 2002


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

Thanks for any help.

--
Eiji Katagiri




More information about the PyQt mailing list