Hi
How would i upgrade python to python2.6.4 using a yum repository ( on all my servers ) and cause manual configuration is time consuming, i am using cent OS 5.4 32 bit
Is there an already available repository to do this.?
------------------------------------------------------------------------------
I had tried to install it using contemporary method ( ./configure ; make ;make install) .. but i get the following error when trying to upgrade .
make : : : ar cr libpython2.6.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib libpython2.6.a gcc -pthread -Xlinker -export-dynamic -o python \ Modules/python.o \ libpython2.6.a -lpthread -ldl -lutil -lm libpython2.6.a(posixmodule.o): In function `posix_tmpnam': /tmp/Python-2.6.4/./Modules/posixmodule.c:7180: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' libpython2.6.a(posixmodule.o): In function `posix_tempnam': /tmp/Python-2.6.4/./Modules/posixmodule.c:7135: warning: the use of `tempnam' is dangerous, better use `mkstemp' running build running build_ext
Failed to find the necessary bits to build these modules: bsddb185 sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name.
running build_scripts
=================================================================
any reference / tips will be of great help
Agnello George wrote:
Hi
How would i upgrade python to python2.6.4 using a yum repository ( on all my servers ) and cause manual configuration is time consuming, i am using cent OS 5.4 32 bit
Is there an already available repository to do this.?
Hi
Python26 is available from EPEL repository: python26-2.6.5-3.el5
mg.
Is there an already available repository to do this.?
The EPEL repository has a python26 package that you can install in parallel of base python.
You can then also use python-virtualenv (also in EPEL) to add the Python modules you would need: virtualenv -p /usr/bin/python26 /path/to/your/virtualenv/dir
Hi, Agnello! (2010/10/05 17:32), Agnello George wrote:
Is there an already available repository to do this.?
Fedora EPEL repository has python 2.6.5 python26-2.6.5-3.el5.i386.rpm
Other repository: There is python 2.6.4 but not be maintained. http://lmacken.fedorapeople.org/rpms/python26-2.6.4-20.el5.i386.rpm http://mirror.its.dal.ca/ius/stable/Redhat/5/i386/python26-2.6.4-1.ius.paral...
Tsuyoshi.
From: Agnello George agnello.dsouza@gmail.com
How would i upgrade python to python2.6.4 using a yum repository ( on all my servers ) and cause manual configuration is time consuming, i am using cent OS 5.4 32 bit Is there an already available repository to do this.?
Google says by example: http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/
JD
On Tue, Oct 5, 2010 at 3:18 PM, John Doe jdmls@yahoo.com wrote:
From: Agnello George agnello.dsouza@gmail.com
How would i upgrade python to python2.6.4 using a yum repository ( on all
my
servers ) and cause manual configuration is time consuming, i am using
cent OS
5.4 32 bit Is there an already available repository to do this.?
Google says by example: http://chrislea.com/2009/09/09/easy-python-2-6-django-on-centos-5/
JD
I did a yum install gcc* , then it installed all the required dependencies .
Then make and make install worked correctly .
Then i had to symbolically link it .
ln -s /usr/local/bin/python2.6 /usr/bin/python
On Tue, Oct 05, 2010 at 03:46:12PM +0530, Agnello George wrote:
I did a yum install gcc* , then it installed all the required dependencies .
Then make and make install worked correctly .
Then i had to symbolically link it .
ln -s /usr/local/bin/python2.6 /usr/bin/python
That's the worst possible "solution" you could have applied.
The system is completely dependent on the version of python supplied with it (2.4.3) and by replacing it with 2.6 you have effectively broken large parts of it.
Why not just go with the version is EPEL that has been previously recommended in this thread? It installs side-by-side with the system supplied python and as such doesn't break anything.
There is the added bonus that the EPEL supplied python will actually get updated.
John
On Tue, Oct 5, 2010 at 3:54 PM, John R. Dennison jrd@gerdesas.com wrote:
On Tue, Oct 05, 2010 at 03:46:12PM +0530, Agnello George wrote:
I did a yum install gcc* , then it installed all the required
dependencies .
Then make and make install worked correctly .
Then i had to symbolically link it .
ln -s /usr/local/bin/python2.6 /usr/bin/python
That's the worst possible "solution" you could have applied. The system is completely dependent on the version of python supplied with it (2.4.3) and by replacing it with 2.6 you have effectively broken large parts of it. Why not just go with the version is EPEL that has been previously recommended in this thread? It installs side-by-side with the system supplied python and as such doesn't break anything. There is the added bonus that the EPEL supplied python will actually get updated.
Ok , I think I will go with the EPEL :)
i had done the installation on VM test machine ..
Thanks for all the help