[Zope] Zope "picky" on Redhat Linux with Python1.5.2 and 2.2
Shriek@gmx.co.uk
Shriek@gmx.co.uk
Sat, 16 Mar 2002 10:27:09 +0100 (MET)
I'm running Redhat Linux 7 and have installed Python2.2. However, the
default Python on my system is Python1.5.2 (ie. if you type "python" at the command
prompt, that's what you'll get). My scripts that wish to use Python2 usually
have to state it explicitly with #!/usr/bin/python2.
Why do I do this ? because Redhat use Python to create a lot of their
software programs and some of them apparently only work with Python1.5.2 (which is
what they distribute by default).
Anyways, I now wish to install Zope2.5.0. I first downloaded the linux
version Zope-2.5.0-linux2-x86 but notice that it is a precompiled binary and uses
an install script (named "install" unsurprisingly) which uses the
environmental Python home.
Knowing that Zope2.5 requires Python2 and won't work with Python1.5.2, I
decided it would be safer to get the Zope source, which I did and tried to
install with the command
/usr/bin/python2 w_pcgi.py
But then it failed with a rather funny-sounding "if i and picky" error.
cp: cannot stat `/usr/lib/python2.2/config/Makefile.pre.in': No such file or
directory
Traceback (most recent call last):
File "/usr/local/Zope-2.5.0/w_pcgi.py", line 39, in ?
if __name__=='__main__': main(sys.argv[0])
File "/usr/local/Zope-2.5.0/w_pcgi.py", line 37, in main
import wo_pcgi; wo_pcgi.main(me)
File "/usr/local/Zope-2.5.0/wo_pcgi.py", line 33, in main
import build_extensions
File "/usr/local/Zope-2.5.0/inst/build_extensions.py", line 30, in ?
make('lib','python')
File "/usr/local/Zope-2.5.0/inst/do.py", line 61, in make
do("cp %s ." % wheres_Makefile_pre_in())
File "/usr/local/Zope-2.5.0/inst/do.py", line 32, in do
if i and picky: raise SystemError, i
So, I'm wondering how should I install Python2.5 on Redhat linux ?
Use the binary Zope-2.5.0-linux2-x86 but then change my default Python to
Python2 and risk breaking some Redhat programs (!) ?
Or should it be possible to install from source as I have tried above ?
Thank you.
Stephen.
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net