tar jxf Python-2.4.tar.bz2 cd Python-2.4 ./configure --prefix=/usr make make test make install
252 tests OK. 1 test failed: test_shutil 37 tests skipped: test_aepack test_al test_applesingle test_bsddb test_bsddb185 test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_gl test_imgfile test_ioctl test_linuxaudiodev test_locale test_macfs test_macostools test_nis test_normalization test_ossaudiodev test_pep277 test_plistlib test_scriptpackages test_socket_ssl test_socketserver test_sunaudiodev test_tcl test_timeout test_unicode_file test_urllib2net test_urllibnet test_winreg test_winsound 4 skips unexpected on linux2: test_tcl test_locale test_ioctl test_bsddb
real | user | sys | |
configure | 4m15.493s | 2m11.010s | 1m56.590s |
make | 24m47.794s | 23m10.260s | 1m0.210s |
make test | 51m46.606s | 43m9.780s | 4m22.580s |
cd /usr/bin ls -lt |head -rwxr-xr-x 2 root root 3073879 Feb 9 02:37 python -rwxr-xr-x 2 root root 3073879 Feb 9 02:37 python2.4
rm python2.4
strip -p python ls -lt |head -rwxr-xr-x 1 root root 1156048 Feb 9 02:37 python
jun@kuro:~$ python Python 2.4 (#1, Feb 9 2005, 01:33:51) [GCC 2.95.3 20010315 (release)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> print 1+1 2 >>>