[PyKDE] PyQT on HPUX

Michal Drozd MDrozd at legato.com
Mon Jan 12 15:40:00 GMT 2004


> Hello, I am trying in vain to get PyQT to run on HPUX 11. The 
> troublesome
> file is pyuic3/form.cpp. First it references the std 
> <iostream> header, but
> bails out because the Makefile doesn't include the proper 
> path. Afterward
> adding that in by hand it found <iostream> just fine, but now 
> a bunch of
> other errors are thrown in <memory>, such as:
> 
> aCC -c
> +DAportable -w -D__STRICT_ANSI__ -O -D_POSIX_C_SOURCE=199506L 
> -D_HPUX_SOURCE
>   -DUIC -DQT_INTERNAL_XML -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG 
> -DQT_THREAD_SU
> PPORT -DQT_SHARED 
> -I/disk2/mikes/qt-x11-commercial-3.2.3/mkspecs/default -I.
>  -I. -I. -I/usr/local/include/python2.3 
> -I/disk2/mikes/qt-x11-commercial-3.2
> .3/src/3rdparty/zlib 
> -I/disk2/mikes/qt-x11-commercial-3.2.3/include -I/opt/a
> CC/include_std -o form.o form.cpp
> Error 403: "/opt/aCC/include_std/memory", line 551 # 
> Undeclared variable
> 'size_t'.
>     Perhaps 'size_t' as in "typedef unsigned long size_t"
>     ["/usr/include/sys/_size_t.h", line 33] was intended.
>     inline _STD_RW::pair<void*, _RWSTD_C::size_t>
>                                 ^^^^^^^^^^^^^^^^
> Error 321: "/opt/aCC/include_std/memory", line 551 # A type 
> argument was
> expected
>     in the specialization of template 'pair'.
>     inline _STD_RW::pair<void*, _RWSTD_C::size_t>
>                                 ^^^^^^^^^^^^^^^^
> 
> blah, blah, blah...
> 
> Anyone know what's going on?
> 
> Mike

You need to pass -AA flag to aCC to use a lot of "new" C++ stuff.  Make sure
you have -AA in pyuic3's makefile's CXXFLAGS.  If not, then something didn't
configure properly.

	Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040112/db51193f/attachment.html


More information about the PyQt mailing list