Python 2.5.2 RedHat Enterprise Linux 4 RPM’s

I’ve successfully built Python 2.5.2 RPM’s for RedHat Enterprise Linux 4 (Nahant).  The package is named python25 as not to conflict with the system’s python package.

Other than some minor tweaks to the patch process to account for the location of X11 libraries and db4.2, the only major change is that the pyexpat module is statically linked against libexpat.a since expat version 1.95.8 is required and not available in RHEL4.  If you build my SRPM, you’ll need to download an SRPM for expat-1.95.8 then build and install expat-devel-1.95.8 or greater.  Once present, the python25 SRPM will statically link in the correct version of the library.

The SRPM: python25-2.5.2-1.el4.src.rpm

Tags: , , ,  

2 Comments

  1. In order to build:

    rpmbuild –define ‘__python_ver 25′ –define ‘dist .el4′ -ba ~/redhat/SPECS/python.spec

  2. Could you please update tour srpm for Python 2.5.4?

Leave a comment

You must be logged in to post a comment.