[PyKDE] build of PyQt-x11-gpl-3.6 fails
Joe Van Andel
vanandel at atd.ucar.edu
Tue Jun 3 18:47:01 BST 2003
Phil Thompson wrote:
> On Tuesday 03 June 2003 4:49 pm, Joe Van Andel wrote:
>
>>With Python 2.2.1
>>gcc version 3.2.2
>>sip 3.6 (build 86)
>>Qt-3.1.2
>>Redhat Linux 9.0
>>
>># make
>>cd qt && /usr/bin/make -f Makefile
>>make[1]: Entering directory `/nexrad2pc/tmp/PyQt/qt'
>>g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL
>>-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/qt-3.1.2/mkspecs/default -I.
>>-I. -I/usr/include/python2.2 -I/opt/qt-3.1.2/include -o qtcmodule.o
>>qtcmodule.cpp
>>sip/qobject.sip: In function `PyObject* sipSubClass_QObject(const
>>QObject*)':
>>sip/qobject.sip:269: cannot convert `PyObject**' to `PyObject*' in
>> initialization
>>make[1]: *** [qtcmodule.o] Error 1
>>make[1]: Leaving directory `/nexrad2pc/tmp/PyQt/qt'
>>make: *** [sub-qt] Error 2
>>
>>Thanks much, I'd appreciate any assistance
>
>
> I suspect that you have a sip.h from an older version of sip getting in the
> way.
>
> Phil
Thanks for the help. I also had to update
/usr/include/python2.2/sipint.h &
/usr/include/python2.2/sipQt.h,
and now the compilation works.
--
Joe VanAndel
National Center for Atmospheric Research
http://www.atd.ucar.edu/~vanandel/
Internet: vanandel at ucar dot edu
More information about the PyQt
mailing list