Anyone have success installing Python 2.1 on RedHat 7.1?

Ignacio Vazquez-Abrams ignacio at openservices.net
Mon Aug 27 20:06:28 EDT 2001


On Mon, 27 Aug 2001, Louis wrote:

> 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

IIRC, I grabbed the python2-2.1.1-1 SRPM from rawhide. They seem to have a
newer release now though:

  ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/python2-2.1.1-2.src.rpm

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list