LONG_BIT problem

Gil Hauer gilh at sympatico.ca
Thu Mar 22 19:07:20 EST 2001


Hi,

I've having a problem building Python 2.0 on RedHat 7.0. 

gcc version is:
	Reading specs from /local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
	gcc version 2.95.3 20010315 (release)

glibc versions are:
	glibc-2.2-12
	glibc-devel-2.1.92-14
	glibc-common-2.2-12

The error message I'm getting is:

gcc -g -O2 -Wall -Wstrict-prototypes -I./../Include -I..
-DHAVE_CONFIG_H   -c -o node.o node.c
cpp0: In file included from ../Include/Python.h:54,
                 from node.c:3:
../Include/pyport.h:390:74: #error "LONG_BIT definition appears wrong
for platform (bad gcc config?)."

Can anyone help with this?

Thanks in advance,
	Gil




More information about the Python-list mailing list