python2.0 and redhat 7.0

gillet at scripps.edu gillet at scripps.edu
Wed Nov 15 02:08:30 CET 2000


Dear all,

I am trying to compile Pyhton2.0 on linux Redhat 7.0.
I got the following error:

Entering directory `/tsri/python/src/Python-2.0/i86Linux2/Parser'
gcc -g -O2 -Wall -Wstrict-prototypes -I../../Parser/../Include -I..
-DHAVE_CONFIG_H   -c -o node.o ../../Parser/node.c
In file included from ../../Include/Python.h:54,
                 from ../../Parser/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


I am think the long_bit is set to 64, so that might be the problem.
but I do not know how to resolve it.
So How can I fix it?

thanks

Alexandre Gillet







More information about the Python-list mailing list