I have got error at first when i tried to install python 2.4.3 in ubuntu 8.10
error is something like this:
/usr/bin/install -c -m 644 ./LICENSE /usr/local/lib/python2.4/LICENSE.txt
PYTHONPATH=/usr/local/lib/python2.4 \
./python -Wi -tt /usr/local/lib/python2.4/compileall.py \
-d /usr/local/lib/python2.4 -f \
-x ‘badsyntax|site-packages’ /usr/local/lib/python2.4
*** buffer overflow detected ***: ./python terminated
then i searched the net for solution i got this
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/286334
and the solution isgo inside the python 2.4.3 directory
$ ./configure CC=gcc-4.2 # works
$ ./configure OPT=”-g -O0″ # works
then
$ make
$sudo make install
then the python 2.4.3 will be installed
I need that version of python to run the bootstrap.py of plone svn
now I am happy that the buildout is running ..
Thanks
Hi Tareq,
Your advice works a charm for me on Ubuntu 9.04 as well. Only Python 2.6 gets installed on Jaunty, so any earlier Python will need to be compiled from source. Just remember to also do ’sudo apt-get install gcc-4.2′ before trying to compile on Jaunty, as only gcc-4.3 is installed by default.
Thanks a lot,
Jurgen
I love you, Tarek!
Giuseppe
thanks