Building Python2.1 - LONG_BIT error message

Martin von Loewis loewis at
Thu Aug 2 18:38:19 CEST 2001

Boey Pak Cheong <hlboey at> writes:

> From my limited knowledge, I looked at pyport.h and figured that
> LONG_BIT must be defined somewhere else since sizeof(long) is defined as
> 4. But I just can't figure out where. Has anyone faced this problem and
> found a solution or workaround. Please help.

That's a bug in the glibc pre-release version that was shipped with
Redhat 7. You need to update glibc, as Redhat also advises you to do.


More information about the Python-list mailing list