Compiling Python 2.2 for HPUX 10.20 does not work

Martin von Loewis loewis at informatik.hu-berlin.de
Tue Mar 5 04:39:26 EST 2002


pekka niiranen <krissepu at vip.fi> writes:

> I tried the build script below in HP-UX 10.20
> ( HP-UX B.10.20 A 9000/777 2002144332 two-user license)
> and got the following errors during make:
> 
> cc -Ae -c -DNDEBUG -O -I. -I./Include -DHAVE_CONFIG_H  -o
> Modules/python.o Modules/python.c
> (Bundled) cc: warning 480: The -A option is available only with the
> C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The -O option is available only with the
> C/ANSI C product; ignored.

It seems that you are using the bundled compiler. Python source code
is ANSI C, you need an ANSI C compiler to compile it. Try either the
HP ANSI C compiler, or gcc (the former being recommended).

Regards,
Martin



More information about the Python-list mailing list