installing Zope and Python in userdir/linux
hi list, i am using Zope,Python and Plone for around 2 weeks now locally on an OSX machine. now i planned to port a rather big site to ZOPE, but i run into the following problem: our linux machine is running trustix TSL linux, which has python 2.2.3 installed system wide. Now, as i want to run the latest stable ZOPE version and also Plone 2.0.5, i am thinking about how to proceed.
The recommended versions at the moment (for Plone 2.0.x) are Python 2.3.3 or 2.3.4 and Zope 2.7.x
i was wondering if it is possible to install a current Python release in a local user dir and run ZOPE from that custom Python version? any clues or instructions how to do so? thanks! Matthias Tarasiewicz -- http://parasew.com http://5uper.net Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
Matthias Taras wrote:
hi list, i am using Zope,Python and Plone for around 2 weeks now locally on an OSX machine. now i planned to port a rather big site to ZOPE, but i run into the following problem: our linux machine is running trustix TSL linux, which has python 2.2.3 installed system wide. Now, as i want to run the latest stable ZOPE version and also Plone 2.0.5, i am thinking about how to proceed.
The recommended versions at the moment (for Plone 2.0.x) are Python 2.3.3 or 2.3.4 and Zope 2.7.x
i was wondering if it is possible to install a current Python release in a local user dir and run ZOPE from that custom Python version? any clues or instructions how to do so?
thanks! Matthias Tarasiewicz
Install Python from the source. Use the prefix-option when running configure, from Python's "./configure --help": By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc. You can specify an installation prefix other than `/usr/local' using `--prefix', for instance `--prefix=$HOME'. The same applies to Zope, but here the --with-python option is needed, too. See ./configure --help HTH, Wolfram
On 14.Feb 2005 - 13:02:01, Matthias Taras wrote:
i was wondering if it is possible to install a current Python release in a local user dir and run ZOPE from that custom Python version? any clues or instructions how to do so?
Sure, run Pythons configure script with --help, the --prefix option is what you're looking for. The same holds true for Zope installation. I did this on a SunOS, no problems.... Andreas -- Many changes of mind and mood; do not hesitate too long.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthias Taras wrote: | hi list, | i am using Zope,Python and Plone for around 2 weeks now locally on an OSX | machine. now i planned to port a rather big site to ZOPE, but i run into the | following problem: | our linux machine is running trustix TSL linux, which has python 2.2.3 | installed system wide. Now, as i want to run the latest stable ZOPE version | and also Plone 2.0.5, i am thinking about how to proceed. | | |>The recommended versions at the moment (for Plone 2.0.x) |>are Python 2.3.3 or 2.3.4 and Zope 2.7.x | | | i was wondering if it is possible to install a current Python release in a | local user dir and run ZOPE from that custom Python version? | any clues or instructions how to do so? Yes it is possible -- in fact, that is the recommended way to install Zope (depending on the vendor-supplied Python is a recipe for random headaches later). ~ $ cd /tmp ~ $ tar xzf Python-2.3.4.tgz ~ $ cd Python-2.3.4 ~ $ ./configure --prefix="/opt/zope" && make && sudo make install ~ $ cd .. ~ $ tar xzf Zope-2.7.4-0.tar.gz ~ $ cd Zope-2.7.4-0 ~ $ ./configure --with-python="/opt/zope/bin/python" \ ~ --prefix="/opt/zope" \ ~ && make && sudo make install Then run /opt/zope/mkzopeinstance and /opt/zope/mkzeoinstance to set up the instance homes for Zope and ZEO. Tres. - -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCEOqOGqWXf00rNCgRAmGVAJ0TdJJriZC+OR4N6zX601G4o/W3IwCcDxde +1Z9hlereqAdF81ovx3RTKo= =NPNS -----END PGP SIGNATURE-----
thanks tres, andreas and wolfram for helping me out! i will give it a try! greetings matthias Tres Seaver wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matthias Taras wrote: | hi list, | i am using Zope,Python and Plone for around 2 weeks now locally on an OSX | machine. now i planned to port a rather big site to ZOPE, but i run into the | following problem: | our linux machine is running trustix TSL linux, which has python 2.2.3 | installed system wide. Now, as i want to run the latest stable ZOPE version | and also Plone 2.0.5, i am thinking about how to proceed. | | |>The recommended versions at the moment (for Plone 2.0.x) |>are Python 2.3.3 or 2.3.4 and Zope 2.7.x | | | i was wondering if it is possible to install a current Python release in a | local user dir and run ZOPE from that custom Python version? | any clues or instructions how to do so?
Yes it is possible -- in fact, that is the recommended way to install Zope (depending on the vendor-supplied Python is a recipe for random headaches later).
~ $ cd /tmp ~ $ tar xzf Python-2.3.4.tgz ~ $ cd Python-2.3.4 ~ $ ./configure --prefix="/opt/zope" && make && sudo make install ~ $ cd .. ~ $ tar xzf Zope-2.7.4-0.tar.gz ~ $ cd Zope-2.7.4-0 ~ $ ./configure --with-python="/opt/zope/bin/python" \ ~ --prefix="/opt/zope" \ ~ && make && sudo make install
Then run /opt/zope/mkzopeinstance and /opt/zope/mkzeoinstance to set up the instance homes for Zope and ZEO.
Tres.
participants (5)
-
Andreas Pakulat -
Matthias Taras -
mt -
Tres Seaver -
Wolfram Kraus