Building Python2.1 - LONG_BIT error message

Boey Pak Cheong hlboey at pl.jaring.my
Thu Aug 2 17:43:50 CEST 2001


I have a serious problem trying to build Python 2.1 on my Athlon running

Linux (RH 7.0). Make fails with error message : 'LONG_BIT definitions
appear wrong for platform (bad gcc/glibc config?)'

>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.

Thanks.

P.C. Boey




More information about the Python-list mailing list