A base LFS system can be used as a development platform, however the base system only includes language support for C, C++ and Perl. This chapter provides instructions to build many popular programming environments to greatly expand your system's development capabilities.
The Python package contains the Python development environment. This is useful for object-oriented programming, writing scripts, prototyping large programs or developing entire applications.
Download (HTTP): http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2
Download (FTP): ftp://ftp.python.org/pub/python/2.4/Python-2.4.tar.bz2
Download MD5 sum: 44c2226eff0f3fc1f2fedaa1ce596533
Download size: 7.8 MB
Estimated disk space required: 133 MB
Estimated build time: 1.01 SBU
Required patch: http://www.linuxfromscratch.org/blfs/downloads/6.0/Python-2.4-gdbm-1.patch
Required patch for Berkeley DB: http://www.linuxfromscratch.org/blfs/downloads/6.0/Python-2.4-db43-1.patch
Required patch (see http://www.python.org/security/PSF-2005-001/): http://www.python.org/security/PSF-2005-001/patch.txt
If you have Berkeley DB installed and wish to utilize it, apply the following patch:
patch -Np1 -i ../Python-2.4-db43-1.patch
Install Python by running the following commands:
patch -Np0 -i ../patch.txt &&
patch -Np1 -i ../Python-2.4-gdbm-1.patch &&
./configure --prefix=/usr --enable-shared &&
make
Now, as the root user:
make install