Re: another problem building python 0.9.9 on AIX 3.2.2

Sjoerd Mullender (Sjoerd.Mullender@cwi.nl)
Tue, 07 Sep 1993 18:40:45 +0200

On Tue, Sep 7 1993 "Steven D. Majewski" wrote:

> Well - I got timemodule to compile.
> The entire build process completes without any errors, and I have
> an executable python 0.9.9 image, but when I try to import posix
> it get:
> ImportError: no module named posix
>
> I can't run the regression tests because of the error, but
> other things that don't import posix appear to work.
> ( I was building 0.9.9 so I could use some of the new Class
> features, and I was playing around with these for an evening
> before I decided to run the tests before trying to rebuild
> with X11 and GL support. )
>
> posixmodule.c compiles without any error messages and
> it is linked into the image.
>
> my ADDCFLAGS are:
> ADDCFLAGS= -DHAVE_STDLIB -DNOALTTZ -DOLDTZ -DAIX
>
> ( The AIX is defined for my kludge to get timemodule to compile -
> see previous message. )
>
>
> - Steve Majewski

Apparently USE_POSIX didn't get defined in config.c. You can have a
look there to see under which circumstances USE_POSIX is defined. My
guess is that "unix" is not defined. I suppose that the ifdefs in
config.c should be improved, but for the time being you can try
defining "unix" yourself, or change config.c to check for another
value.

Sjoerd Mullender
CWI, dept. CST, Kruislaan 413, 1098 SJ Amsterdam, Netherlands
email: Sjoerd.Mullender@cwi.nl fax: +31 20 592 4199
phone: +31 20 592 4127 telex: 12571 mactr nl