[Python-Dev] bsddb185 module changes checked in

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Fri Jun 27 22:30:45 CEST 2003

On 07 May 2003 19:48:41 +0200, rumours say that martin at v.loewis.de
(Martin v. Löwis) might have written:

>Jack Jansen <Jack.Jansen at cwi.nl> writes:
>> On SGI Irix 6.5 (MIPSpro Compilers: Version 7.2.1) it tries to build
>> it, and fails. It complains about "u_int" and such not being
>> defined. There's magic at the top of /usr/include/db.h for defining
>> various types optionally, and that's as far as my understanding
>> went.
>I would not be worried about that too much. An Irix user who cares
>about that will propose a solution, if there are Irix users who care
>about that.

This is because the 7.x compilers need a
#define _BSD_TYPES
in order to define u_int (among other things).
socketmodule.c also fails with various errors, and I'm still looking
into it (from time to time, whenever I can).
These can be fixed easily locally, but I'm trying to find a more generic
patch (I'm trying to follow the configure logic) in order to accomodate
with the pecularities of MIPSPro (the key is /usr/include/standards.h...
all these _XOPEN4, _XOPEN5, _XPG, _BSD, _SGI_SOURCE ifdef chains...)
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.

More information about the Python-list mailing list