[PyKDE] Build error: SIP 4.0rc2 + PyQt 3.10 + Python 2.3.3 on Redhat 8.0

Phil Thompson phil at riverbankcomputing.co.uk
Sun Jan 18 13:55:00 GMT 2004


On Sunday 18 January 2004 12:37 pm, Jahn Otto Næsgaard Andersen wrote:
> Hi, I have downloaded the latest sources of
>
> SIP 4.0rc2
> PyQt 3.10
> Python 2.3.3
>
> on a Redhat 8.0 box. I am using Qt 3.0.5. Python and SIP compiles and
> install without problems using the "new" build method described in
>
> PyQt's README file, but PyQt fails:
> > python configure.py
>
> [lots of output]
>
> > make
>
> [lots of output]
>
> g++ -c -pipe -fPIC -I/usr/include/fontconfig -I/usr/include/Xft2 -O2
> -march=i386 -mcpu=i686 -fno-use-cxa-atexit -fno-exceptions -Wall -W
> -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I.
> -I/usr/local/include/python2.3 -I/usr/lib/qt3-gcc3.2/include
> -I/usr/X11R6/include -o sipqtQWMatrix.o sipqtQWMatrix.cpp
> sipqtQWMatrix.cpp: In function `PyObject*
> slot_QWMatrix___mul__(PyObject*,
>    PyObject*)':
> sipqtQWMatrix.cpp:548: `sipClass_QRegion' undeclared (first use this
> function)
> sipqtQWMatrix.cpp:548: (Each undeclared identifier is reported only once
> for
>    each function it appears in.)
> make[1]: *** [sipqtQWMatrix.o] Error 1
> make[1]: Leaving directory `/home/jotto/download/PyQt-x11-gpl-3.10/qt'
> make: *** [all] Error 2
>
>
> Any ideas?

It's a SIP bug. Passing the -c flag to configure.py will probably work around 
it. Or upgrade to a newer version of Qt.

Phil




More information about the PyQt mailing list