> > Has ne1 ever succeeded using wxPython on wxWindows/GTK+/HPUX platform ...
> > thank you for sending me your comments and problems encountered
> Have you tried it yet? Please tell us your experiences and any problems
> run into so we can help.
Here's some info on building wxGTK on HPUX. There were some followup
messages as well. You can find them on www.egroups.com.
First of all thanks to everybody who has contributed to the wxWindows
We use it already for some time now on MSW and a bit shorter on Linux.
we rewrite some older applications we also need to have wxwindows
some other workstations.
This message reports how we managed to get wxGTK running on our HP
We hope that the following comments may be usefull for other users. Our
was fairly pragmatical: just tried to adapt the configure file,
code to get it working. It may be that others have better solutions.
let us know.
machine: HP J5000
OS: HP-UX 10.20
Compilers: aCC and cc (for C++ and C), aCC: HP ANSI C++ B3910B A.01.21
make: gnu make
Using g++ and gcc instead, configure immediately failed because it could
recognise the machine and OS.
Using aCC also as C-compiler, you will need to do a lot of type-casting
code. Without CFLAGS -Ae, it will not recognise some less ancient C.
In the configure file the program to determine the major/minor release
of gtk+ failed, because of the 'exit()' statement. Apparently the
for this function is in 'stdlib.h' and we added this to the configure
With this change configure worked. Using gnu-make the compilation
Since there where an enormous amount of warnings, we decided to add the
-w to the CPPFLAGS and CFLAGS in src/make.env .
In the file common/string.cpp it appeared that function 'vsnprintf' was
defined although it was found by configure. At line 137 the same
made as for _AIX:
extern "C" int vsnprintf(char* str, size_t n, const char* format,
Now all files compiled fine. During subsequent installation the option
on the install command was not recognised and all directories had to be
Next the demos were tried:
In wxpoem, the file wxpoem.h was not in the distribution.
In life, the class definition in file game.h at line 53 was refused. It
still not clear to us what could be the reason for this.
In the samples a number of files contained enumerations, where the last
item was followed by a comma. aCC did not like that. The files are
caret/caret.cpp line 131
help/demo.cpp line 105
html/about/about.cpp line 77
html/test/test.cpp line 78
In drawing, the file pat4.bmp and some others were missing.
In grid, the file that should be called grid.cpp was called test.cpp.
In html/test the file i18n.gif was missing.
In internat, the file fr/internat.mo was missing.
The samples and demos that compiled and linked after all, did also
work correctly (as far as we have seen).
Ton van den Boogaard Herman van Corbach
A.H. van den Boogaard
University of Twente
Dept. of Mechanical Engineering
P.O. Box 217
7500 AE Enschede