Re: Building Python 1.0 beta on AIX

Guido.van.Rossum@cwi.nl
Tue, 18 Jan 1994 17:38:16 +0100

> Finally got around to giving it a couple of tries:

Thanks!

> In building python 1.0 beta on AIX 3.2 with gcc, the build fails
> on two modules: timemodule.c and md5module.c
>
> The problem with timemodule.c is with an undefined "altzone" ,
> which is not in aix's /usr/include/time.h.

The next release (either 1.0.0 BETA 6 or the definitive 1.0.0) will
test for the existence of altzone in the configure script. For the
convenience of Python programmers, altzone will be defined as
timezone-3600 if not defined.

> Module 'md5module.c' failed to compile due to :
> ./md5module.c:189: conflicting declarations of `MD5type'
> ./md5module.c:40: `MD5type' previously declared here

This will also be fixed, in an AIX independent way. The typeobject
will always be static, the forward declaration will either be extern
or static depending on whether the compiler handles static correctly
-- checked in the configure script. (Standard C requires static
forward, but some old compilers allocate two copies of the object in
this case :-( ).

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>