With the release of RedHat 8.0, a lot of good things have changed, with the manner in which they have dropped old legacy versions of Python 1.x, Perl 3.x and other OLD script sets. In addition, mod_python is now (supposedly) working correctly as an integrated module for Apache 2+. Will it be difficult to get a working Zope/mod_python duo? Is it possible at all? -------------------------------------- Goeldi.com - Internet Services -------------------------------------- www.goeldi.com web@goeldi.com Tel +41-61-7330555 Fax +41-61-7330556 --------------------------------------
At 03:06 AM 10/3/02, Stephan Goeldi wrote:
With the release of RedHat 8.0, a lot of good things have changed, with the manner in which they have dropped old legacy versions of Python 1.x, Perl 3.x and other OLD script sets. In addition, mod_python is now (supposedly) working correctly as an integrated module for Apache 2+.
Will it be difficult to get a working Zope/mod_python duo? Is it possible at all?
On RH 7.x python 1.5.x is the binary "python" python 2.1.3 installs as "python2.1" and python 2.2 installs as "python2" I guess on RH 8.0 python 2.1.3 will still be "python2.1", python 2.2 will be "python", "python 2.2" and "python2" :-0 Zope and mod_python shouldn't be a problem. They should co-exist peacefully using two different versions of python that are also co-existing peacefully on the same machine :-) Adam
On RH 7.x python 1.5.x is the binary "python" python 2.1.3 installs as "python2.1" and python 2.2 installs as "python2"
I guess on RH 8.0 python 2.1.3 will still be "python2.1", python 2.2 will be "python", "python 2.2" and "python2" :-0
Is python 2.1.x installed with RH8.0? I would guess that there is only one python installed by default. To have a zope (and some others) dedicated python2.1 version would require a bit of RPM fiddling manually. Am I wrong? By the way, is there a simple what of getting them to coexist? Or rather, how do you get them to coexist? Peter --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.391 / Virus Database: 222 - Release Date: 2002-09-19
Is python 2.1.x installed with RH8.0? I would guess that there is only one python installed by default. To have a zope (and some others) dedicated python2.1 version would require a bit of RPM fiddling manually. Am I wrong?
By the way, is there a simple what of getting them to coexist? Or rather, how do you get them to coexist?
# tar zxvf Python-2.1.3.tgz # cd Python-2.1.3 # CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2 $CFLAGS" ./configure # make # make altinstall now you have python2.1 installed as python2.1 binary in /usr/local/bin/python2.1 and libs in /usr/local/lib/python2.1/ With large file support... /Magnus
The python2.1-2.1.3 SRPM from python.org should build fine on RH8.0. The binary RPMS thus created will install python 2.1.3 as "python2.1" by default, just as they did on RH 7.x. This will not interfere with an existing python 1.5.x or 2.2.x installation # RPM build options: # # --without-binsuffix -- Do not name executable "python2.1". # --without-tkinter -- Do not build Tkinter package. # --with-pymalloc -- Enable pymalloc memory allocator (may break Zope). # --with-idlesuffix -- Install idle as "idle2". # --without-lfs -- Disable Large File Support. Adam PS. Where are people getting their RH8.0 ISOs from? I have yet to find an ftp mirror that isn't swamped and running at 4KB/s At 02:26 AM 10/4/02, Magnus Heino wrote:
Is python 2.1.x installed with RH8.0? I would guess that there is only one python installed by default. To have a zope (and some others) dedicated python2.1 version would require a bit of RPM fiddling manually. Am I wrong?
By the way, is there a simple what of getting them to coexist? Or rather, how do you get them to coexist?
# tar zxvf Python-2.1.3.tgz
# cd Python-2.1.3
# CFLAGS='-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' OPT="-g -O2 $CFLAGS" ./configure
# make
# make altinstall
now you have python2.1 installed as python2.1 binary in /usr/local/bin/python2.1 and libs in /usr/local/lib/python2.1/
With large file support...
/Magnus
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Fri, 2002-10-04 at 06:48, Adam Manock wrote:
PS. Where are people getting their RH8.0 ISOs from? I have yet to find an ftp mirror that isn't swamped and running at 4KB/s
The local CompUSA ... ;^) -- Bill Anderson Linux in Boise Club http://www.libc.org Amateurs built the Ark, professionals built the Titanic. Amateurs build Linux, professionals build Windows(tm).
Stephan Goeldi wrote:
Zope doesn't run on mod_python. Why would you want it to?
Why not? There is mod_perl which is very good. I would be interested in the dis-/advantages of using it.
You're attempting to compare apples and oranges. cheers, Chris
participants (6)
-
Adam Manock -
Bill Anderson -
Chris Withers -
Magnus Heino -
Peter Bengtsson -
Stephan Goeldi