[Tutor] Make python 2.1.1 on Redhat 7.0

Kalle Svensson kalle@gnupung.net
Thu, 26 Jul 2001 00:39:39 +0200


Sez David Kennedy:
> The following error message is displayed trying to make python 2.1.1 on 
> Redhat 7.0
> gcc -c -g -O2 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H 
> -o Modules/python.o Modules/python.c
> In file included from Include/Python.h:54,
> from Modules/python.c:3:
> Include/pyport.h:422:2: #error "LONG_BIT definition appears wrong for 
> platform (bad gcc/glibc config?)."
> make: *** [Modules/python.o] Error 1

This is a prblem with the glibc and gcc in Redhat 7.0.  Upgrade to the
latest versions from Redhat.  They're available on
ftp://your-favourite-redhat-mirror/redhat/linux/updates/7.0/en/os/i386/
or something like that.

Peace,
  Kalle
-- 
Free Dmitry Sklyarov! -- http://www.freedmitry.org/
PGP fingerprint: 0C56 B171 8159 327F 1824 F5DE 74D7 80D7 BF3B B1DD
 [ Not signed due to lossage.  Blame Microsoft Outlook Express. ]