compiling Python 2.x.x on redHat 7.0

Emile van Sebille emile at fenx.com
Sat Oct 6 11:07:21 EDT 2001


This may be the same problem I had last year.  Look in xopen_lim.h for

#define LONG_BIT    64

and change the 64 to 32.

HTH,

--

Emile van Sebille
emile at fenx.com

---------
"Michal Seta" <mis at creazone.com> wrote in message
news:B7E42554.4AFE%mis at creazone.com...
> Hi All.
>
> The time came to upgrade Python to a version 2.x.
>
> I tried to compile but any major version 2 I take gives the same error:
> #error "LONG_BIT definition appears wrong for platform (bad gcc config?)"
>
> Apparently the libc/gcc gives the LONG_BIT 64 instead of 32 on some
> platforms.  How can this be fixed/corrected?
>
> RedHat7.0, Celeron 533 MHz, gcc version 2.96.
>
> Thanks in advance.
>
>
> ./Mike
>




More information about the Python-list mailing list