LONG_BIT error when compiling python2.0

Enrico Spinielli enrico.spinielli at marconi.com
Thu Mar 8 09:46:37 CET 2001

Hi all,
I am trying to install python2.0 on RedHat 7.0 Linux.
I got the sources and successfully run ./configure
but after a little while down in the compilation I got
the following error message:
gcc -g -O2 -Wall -Wstrict-prototypes -I./../Include -I.. -DHAVE_CONFIG_H   -c -o node.o node.c
In file included from ../Include/Python.h:54,
from node.c:3:
../Include/pyport.h:390:2: #error "LONG_BIT definition appears wrong for platform (bad gcc config?)."
make[1]: *** [node.o] Error 1
make[1]: Leaving directory `/mysrc/Python-2.0/Parser'
make: *** [Parser] Error 2

I am using gcc2.96-54

Any idea about a possible solution?
In the meanwhile I'll install gcc2.96-69 and retry...

Thanks a million

More information about the Python-list mailing list