compiling Python 2.x.x on redHat 7.0

Michal Seta mis at creazone.com
Sat Oct 6 09:04:52 CEST 2001


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