Francois Barriere wrote:
> 
> 
> 
> Charles Riley wrote:
>> 
>> 
>> 
>> Charles Riley wrote:
>>> 
>>> Hi,
>>> 
>>> I'm setting up a server to run plone using CentOS 5.  The python that
>>> comes with CentOS 5 is version 2.4.3.
>>> I'd like to install the 3.1 beta, but I see that it requires python
>>> 2.4.4.  Normally, I'd just make a 2.4.5 rpm (which is the last 2.4
>>> source release of python) and install it alongside 2.4.3, then use the
>>> --with-python in zope (and pil and so on) to force the use of python
>>> 2.4.5. 
>>> 
>>> 
>> 
>> I resolved this - Since the major python version is the same, I
>> downloaded redhat's python srpm, changed the spec file to match 2.4.5 vs.
>> 2.4.3, made sure all the redhat-specific patches would apply, and rebuilt
>> the rpm against the 2.4.5 sources.  Works like a champ.
>> 
>> 
> 
>    On our side, we have finally installed a separate python under
> /usr/local. The Python libs/extensions are installed with it and we can
> manage to change the version of Python (and the releated libs) without
> impacting the system's Python.
> It can sound dirty, but for a limited amount of software its very flexible
> and still manageable.
> I have to admit, we use RedHat-EL 4 which contains an even older version
> of Python.
> 
> Francois.
> 
Hi Fancois,

I do something similar on RHEL3 and 4 servers.. The system python is
something like 2.3.3 on those machines.  I create a python 2.4.5 rpm that
installs as "python2.4"  (the libs also reference that name eg
/usr/lib/python2.4/..)
Then I just configure zope using --with-python=$(which python2.4).  I do the
same thing with python 2.5 for non-zope applications where I want the python
2.5 goodies.

On a redhat system it is nice to have python in an rpm.. Makes it easy to
upgrade when python.org releases fixes.
I can put up my spec file and maybe a quick howto if anyone is interested..
python.org hasn't released rpms for quite a while now.

Come to think of it, I pretty much convert anything I install on a redhat
system to rpm.

Charles

-- 
View this message in context: 
http://www.nabble.com/Plone-3.x-and-Redhat-CentOS-tp16420921s15482p16497892.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to