Python 2.0b2 and Redhat 7.0

Jeremy Hylton jeremy at beopen.com
Mon Oct 9 16:23:19 EDT 2000


[Tim reports compile problems in intobject.c caused by
/usr/include/bits/xopen_lim.h defined LONG_BIT to be 64.]

This is a known bug with some versions of GCC and/or glibc.  The
definition for LONG_BIT is clearly wrong and you should report that
bug to whoever is responsible for it.

The Python 2.0 release candidate 1 release does not provide a
work-around, but does about the compilation with a #error if LONG_BIT
is bogus.  It seems unreasonable to maintain hacks in the source tree
to work around obvious bugs in header files.  

If you need to compile right now, I would suggest hacking the source
code yourself to set LONG_BIT to 32. 

Jeremy




More information about the Python-list mailing list