<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [PyKDE] PyQT on HPUX</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>> Hello, I am trying in vain to get PyQT to run on HPUX 11. The </FONT>
<BR><FONT SIZE=2>> troublesome</FONT>
<BR><FONT SIZE=2>> file is pyuic3/form.cpp. First it references the std </FONT>
<BR><FONT SIZE=2>> <iostream> header, but</FONT>
<BR><FONT SIZE=2>> bails out because the Makefile doesn't include the proper </FONT>
<BR><FONT SIZE=2>> path. Afterward</FONT>
<BR><FONT SIZE=2>> adding that in by hand it found <iostream> just fine, but now </FONT>
<BR><FONT SIZE=2>> a bunch of</FONT>
<BR><FONT SIZE=2>> other errors are thrown in <memory>, such as:</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> aCC -c</FONT>
<BR><FONT SIZE=2>> +DAportable -w -D__STRICT_ANSI__ -O -D_POSIX_C_SOURCE=199506L </FONT>
<BR><FONT SIZE=2>> -D_HPUX_SOURCE</FONT>
<BR><FONT SIZE=2>> -DUIC -DQT_INTERNAL_XML -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG </FONT>
<BR><FONT SIZE=2>> -DQT_THREAD_SU</FONT>
<BR><FONT SIZE=2>> PPORT -DQT_SHARED </FONT>
<BR><FONT SIZE=2>> -I/disk2/mikes/qt-x11-commercial-3.2.3/mkspecs/default -I.</FONT>
<BR><FONT SIZE=2>> -I. -I. -I/usr/local/include/python2.3 </FONT>
<BR><FONT SIZE=2>> -I/disk2/mikes/qt-x11-commercial-3.2</FONT>
<BR><FONT SIZE=2>> .3/src/3rdparty/zlib </FONT>
<BR><FONT SIZE=2>> -I/disk2/mikes/qt-x11-commercial-3.2.3/include -I/opt/a</FONT>
<BR><FONT SIZE=2>> CC/include_std -o form.o form.cpp</FONT>
<BR><FONT SIZE=2>> Error 403: "/opt/aCC/include_std/memory", line 551 # </FONT>
<BR><FONT SIZE=2>> Undeclared variable</FONT>
<BR><FONT SIZE=2>> 'size_t'.</FONT>
<BR><FONT SIZE=2>> Perhaps 'size_t' as in "typedef unsigned long size_t"</FONT>
<BR><FONT SIZE=2>> ["/usr/include/sys/_size_t.h", line 33] was intended.</FONT>
<BR><FONT SIZE=2>> inline _STD_RW::pair<void*, _RWSTD_C::size_t></FONT>
<BR><FONT SIZE=2>> ^^^^^^^^^^^^^^^^</FONT>
<BR><FONT SIZE=2>> Error 321: "/opt/aCC/include_std/memory", line 551 # A type </FONT>
<BR><FONT SIZE=2>> argument was</FONT>
<BR><FONT SIZE=2>> expected</FONT>
<BR><FONT SIZE=2>> in the specialization of template 'pair'.</FONT>
<BR><FONT SIZE=2>> inline _STD_RW::pair<void*, _RWSTD_C::size_t></FONT>
<BR><FONT SIZE=2>> ^^^^^^^^^^^^^^^^</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> blah, blah, blah...</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Anyone know what's going on?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Mike</FONT>
</P>
<P><FONT SIZE=2>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.</FONT></P>
<P> <FONT SIZE=2>Michal</FONT>
</P>
</BODY>
</HTML>