RedHat 7.0 LONG_BIT compilation error

Mark Hatasaka hatasaka at libertysw.com
Sat Feb 10 04:12:49 EST 2001


I'm trying to compile Python 2.0 on RedHat 7.0 i386, but keep getting the following LONG_BIT error.

gcc -g -O2 -Wall -Wstrict-prototypes -I./../Include -I.. -DHAVE_CONFIG_H   -c -o listnode.o listnode.c
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 `/usr/Python-2.0/Parser'
make: *** [Parser] Error 2
[root at Piglet Python-2.0]#

I've applied the latest RedHat gcc updates (gcc-2.96-69)

I've run the following commands

marke clean

rm config.cache

./configure

make



Any suggestions would be greatly appreciated.

Mark



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20010210/db209a25/attachment.html>


More information about the Python-list mailing list