Anyone have success installing Python 2.1 on RedHat 7.1?

Louis louis at decipherinc.com
Mon Aug 27 18:37:00 EDT 2001


I cannot get it to run properly.  After all of the dependency errors go
away, still have this:

creating Setup
creating Setup.local
creating Makefile
+ make
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
Bad exit status from /var/tmp/rpm-tmp.4044 (%build)

towards the end of the install.  I have tried installing from the regular
tarball, binary RPM, and srcRPM.

Can anyone shed some light on how to get around this?

Thanks,

Louis





More information about the Python-list mailing list