[CentOS] Pyhton Install location/building rpm

Leonel Nunez leonel at enelserver.com
Thu Mar 9 15:04:05 UTC 2006


Sanjay Arora wrote:
> Hello All
>
> I need to install Python 2.4.2 for installing Zope. What is the
> location for python that should be given in the ./configure --prefix
> directive?
>
> /usr/lib is for python libraries..isn't it and thats where I find most
> of python installed except for the python binary in /sbin
>
> Should I uninstall the normal python installed in Centos 4.2 by
> default before installing from source?
>
> Can someone guide me about how to create a source rpm for Python &
> Zope and where to find the spec files? Please note that this is my
> first attempt at building rpm of any kind, so please give me links
> accordingly. I would like to maintain latest stable release of Python
> & Zope and if possible, build their rpm and contribute the same to
> centos contrib repo, since I will be building it anyway. Please guide.
> I will also need someone to test the rpm, before releasing into
> contrib, if it is wanted.
>
> With regards.
> Sanjay.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>   


You can install python 2.4 from source  and installit  on /opt/python-2.4
then when install zope  tell that  python is on  /opt/python-2.4
this way you don't  touch your system files wich can be broken after  
python install



leonel




More information about the CentOS mailing list