RE: [Zope] Python 2.3.3 vs. Python 2.3.4
perhaps an rpm -Uvh rather than an rom -ivh is a better idea when upgrading?
I am literally terrified of overwriting the Fedora Core 1 System python in this manner (this is a production system). If I did that, FC1 would be trashed, as lots relys on the older version of Python. I have no way to judge if what you suggest is safe of not, except some vague Q&A's at python.org that might suggest that it is. My understanding is that -ivh will install alongside previous versions as opposed to upgrading them, and thus is a safer option.
Build python This is maybe what I should do. Can and one provide definitive insight into how to do this alongside the existing FC1 python. The two python versions must be completely separate, or the system is toast.
I'm guessing something along the lines of: cd python2.4 configure --prefix=/where/should/I/put/python? make make install Per above, I need help with the prefix-- what should the path to the new python be? There shold be no chance of overwriting the system python. Thanks! Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678
Build python This is maybe what I should do. Can and one provide definitive insight into how to do this alongside the existing FC1 python. The two python versions must be completely separate, or the system is toast.
If you take a look at the Python sources from python.org or simply run ./configure --help it will tell you all those details. There is no rocket science involved. By default, if no separate --prefix option is specified, everything will go under /usr/local, so there is no clash whatsoever. jens --------------- Jens Vagelpohl jens@zetwork.com Software Engineer +49-(0)441-36 18 14 38 Zetwork GmbH http://www.zetwork.com/
On Mon, Jan 17, 2005 at 06:49:41PM +0100, Jens Vagelpohl wrote:
By default, if no separate --prefix option is specified, everything will go under /usr/local, so there is no clash whatsoever.
That's what I've been doing for years. Works fine. -- Paul Winkler http://www.slinkp.com
hpinson@indepthl.com wrote:
perhaps an rpm -Uvh rather than an rom -ivh is a better idea when upgrading?
I am literally terrified of overwriting the Fedora Core 1 System python in this manner (this is a production system). If I did that, FC1 would be trashed, as lots relys on the older version of Python. I have no way to judge if what you suggest is safe of not, except some vague Q&A's at python.org that might suggest that it is. My understanding is that -ivh will install alongside previous versions as opposed to upgrading them, and thus is a safer option.
Build python
This is maybe what I should do. Can and one provide definitive insight into how to do this alongside the existing FC1 python. The two python versions must be completely separate, or the system is toast.
I'm guessing something along the lines of:
cd python2.4 configure --prefix=/where/should/I/put/python? make make install
BTW, *nobody* suggested using Pythhon 2.4; the suggestion was to use Python 2.3.4, which contained at least one known "stability / crash fix" exercised by Zope.
Per above, I need help with the prefix-- what should the path to the new python be? There shold be no chance of overwriting the system python.
Try '/opt/zope', or some such. It really doesn't matter, as long as it isn't '/usr' (which is where FC puts the "stock" Python). If you pass no prefix at all, Python's 'configure' will assume '/usr/local', which would work, too. Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com
hpinson@indepthl.com wrote:
perhaps an rpm -Uvh rather than an rom -ivh is a better idea when upgrading?
I am literally terrified of overwriting the Fedora Core 1 System
I suggest that you check where the default python is installed with commands like `whereis python`. Most likely it will be in /usr/bin/python. If that is the case, you could install the up-to-date version in /usr/local. Otherwise any directory that you have write permission will suffice.
This is maybe what I should do. Can and one provide definitive insight into how to do this alongside the existing FC1 python. The two python versions must be completely separate, or the system is toast.
I'm guessing something along the lines of:
cd python2.4
2.4 or 2.3.4 (in the title)! Pay attention to version numbers.
configure --prefix=/where/should/I/put/python? make make install
Per above, I need help with the prefix-- what should the path to the new python be? There shold be no chance of overwriting the system python.
--prefix=/usr/local # but do the check first, I have no experience with FC1 distro. You can also rename the python binaries to python2.4 (post-install) to avoid confusion amongst the maitenance team. regards, Senra -- Rodrigo Senra MSc Computer Engineer rodsenra@gpr.com.br GPr Sistemas Ltda http://www.gpr.com.br
participants (5)
-
hpinson@indepthl.com -
Jens Vagelpohl -
Paul Winkler -
Rodrigo Dias Arruda Senra -
Tres Seaver