Python 2.5.2 RedHat Enterprise Linux 4 RPM’s
Posted in Linux on 10/22/2008 11:32 am by jmccune
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
10/22/2008 at 11:34 am
In order to build:
rpmbuild –define ‘__python_ver 25′ –define ‘dist .el4′ -ba ~/redhat/SPECS/python.spec
02/11/2009 at 8:52 am
Could you please update tour srpm for Python 2.5.4?