Poll: Zope and Suse Linux
Hi all, does anyone here uses Zone installed on Suse Linux? What's your impressions? Particular pros/cons? Thanks
On 7/8/05, Negroup - <negroup@gmail.com> wrote:
Hi all, does anyone here uses Zone installed on Suse Linux? What's your impressions? Particular pros/cons?
There are difference between different unixes, Linux/MacOSX/Solaris/xBSD. But all linuxes seems to work equally well. It's usally easiest to avoid the Zope packages that many linuxes has, and install from source. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
2005/7/8, Lennart Regebro <regebro@gmail.com>:
There are difference between different unixes, Linux/MacOSX/Solaris/xBSD. But all linuxes seems to work equally well.
I asked this because I know there where, in the past, some issues using RH9 due to threading library, and to avoid surprises I'm interested to know if someone use Zope on Suse (that I'll begin to use in the near future) without problems.
It's usally easiest to avoid the Zope packages that many linuxes has, and install from source.
Of course! Thanks
Negroup - wrote:
Hi all, does anyone here uses Zone installed on Suse Linux? What's your impressions? Particular pros/cons? It comes with a script to manage multiple Zopes, which is very useful. I have around 50 separate Zope/Plones running for student teaching.
The only negative that I know of comes with SuSE 9.3 Pro. Zope is compiled with Python 2.4! All my attempts to build Zope from scratch with Python 2.3.5 have failed on SuSE 9.3. I never had problems with building things from scratch before though. Tony
Thanks _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Eur Ing A.M.Addyman, School of Computing, Science and Engineering University of Salford, Salford, M5 4WT
--On 8. Juli 2005 11:57:34 +0100 Tony Addyman <A.M.Addyman@salford.ac.uk> wrote:
The only negative that I know of comes with SuSE 9.3 Pro. Zope is compiled with Python 2.4!
Why do these bastards ship Zope with an unsupported Python version... unbelievable! Maybe a reason *not* to use Suse. -aj
The only negative that I know of comes with SuSE 9.3 Pro. Zope is compiled with Python 2.4!
Why do these bastards ship Zope with an unsupported Python version... unbelievable! Maybe a reason *not* to use Suse.
he he. I think the equivalent of using deb packages (or alike) to install and maintain your zope is like create and maintain a zclass project: you get started quickly but very soon you grow out of it and the ceiling can't be raised without breaking the roof. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
Peter Bengtsson wrote:
The only negative that I know of comes with SuSE 9.3 Pro. Zope is compiled with Python 2.4!
Why do these bastards ship Zope with an unsupported Python version... unbelievable! Maybe a reason *not* to use Suse.
he he. I think the equivalent of using deb packages (or alike) to install and maintain your zope is like create and maintain a zclass project: you get started quickly but very soon you grow out of it and the ceiling can't be raised without breaking the roof.
Does your technical expertise match your sense of humour? I have built Python and Zope from source in the past, but that was always on a system which had shipped with an earlier version of Python. In this case building from source generates the following error when you start Zope. This was python2.3.5 tar file from python.org and zope-2.7.5, from zope.org. All the advice on the Web talks about removing old code, because DbTab is now integrated. The error message was: DBTab.ClassFactories.autoClassFactory could not be imported. Line 844 of zope.conf. Removing python-2.4 from the system is not an option. Too many thinks link in to it. Tony Addyman -- Eur Ing A.M.Addyman, School of Computing, Science and Engineering University of Salford, Salford, M5 4WT
Tony Addyman wrote:
Peter Bengtsson wrote:
The only negative that I know of comes with SuSE 9.3 Pro. Zope is compiled with Python 2.4!
Why do these bastards ship Zope with an unsupported Python version... unbelievable! Maybe a reason *not* to use Suse.
he he. I think the equivalent of using deb packages (or alike) to install and maintain your zope is like create and maintain a zclass project: you get started quickly but very soon you grow out of it and the ceiling can't be raised without breaking the roof.
Does your technical expertise match your sense of humour? I have built Python and Zope from source in the past, but that was always on a system which had shipped with an earlier version of Python. In this case building from source generates the following error when you start Zope. This was python2.3.5 tar file from python.org and zope-2.7.5, from zope.org. All the advice on the Web talks about removing old code, because DbTab is now integrated. The error message was:
DBTab.ClassFactories.autoClassFactory could not be imported. Line 844 of zope.conf.
Removing python-2.4 from the system is not an option. Too many thinks link in to it. Tony Addyman
I'm not sure if this is the case, but it looks like, for one reason or another, your zope is starting with a different python from the one with which it was compiled. A problem I often encountered when having different python on a server, and with python compiled with enable-shared switch on (you can check this by running ldd against the python executable). If the library path find is not correctly set, you will end starting your newly compiled python with another python library... HTH Regards Marco
On Fri, Jul 08, 2005 at 04:01:23PM +0100, Tony Addyman wrote:
Removing python-2.4 from the system is not an option. Too many thinks link in to it.
No need to remove anything. Just build python 2.3 and install it in /usr/local (the default). Then build zope from source like so: ./configure --with-python=/usr/local/bin/python2.3 --prefix=... make make install Does that not work? I don't see why this is any different from the usual case of the distro-provided python or zope being too old. -- Paul Winkler http://www.slinkp.com
When installing from the source, Python does offer a "make altinstall" which is terrific for installing a newer or older version of Python alongside an existing installation. For example, Fedore Core 4 comes with Python 2.4 and as far as I can tell, doing a "make altinstall" with the 2.3.5 tarball puts it alongside 2.4 quite nicely. At any rate, I've had no problems compiling, installing and running Zope 2.7.6 and 2.8 with it. HTH On 7/8/05, Paul Winkler <pw_lists@slinkp.com> wrote:
On Fri, Jul 08, 2005 at 04:01:23PM +0100, Tony Addyman wrote:
Removing python-2.4 from the system is not an option. Too many thinks link in to it.
No need to remove anything. Just build python 2.3 and install it in /usr/local (the default).
Then build zope from source like so:
./configure --with-python=/usr/local/bin/python2.3 --prefix=... make make install
Does that not work? I don't see why this is any different from the usual case of the distro-provided python or zope being too old.
--
Paul Winkler http://www.slinkp.com
Garth B. wrote:
When installing from the source, Python does offer a "make altinstall" which is terrific for installing a newer or older version of Python alongside an existing installation. For example, Fedore Core 4 comes with Python 2.4 and as far as I can tell, doing a "make altinstall" with the 2.3.5 tarball puts it alongside 2.4 quite nicely. At any rate, I've had no problems compiling, installing and running Zope 2.7.6 and 2.8 with it. HTH
I will certainly give it a try. Many thanks. Tony
On 7/8/05, Paul Winkler <pw_lists@slinkp.com> wrote:
On Fri, Jul 08, 2005 at 04:01:23PM +0100, Tony Addyman wrote:
Removing python-2.4 from the system is not an option. Too many thinks link in to it.
No need to remove anything. Just build python 2.3 and install it in /usr/local (the default).
Then build zope from source like so:
./configure --with-python=/usr/local/bin/python2.3 --prefix=... make make install
Does that not work? I don't see why this is any different from the usual case of the distro-provided python or zope being too old.
--
Paul Winkler http://www.slinkp.com
-- Eur Ing A.M.Addyman, School of Computing, Science and Engineering University of Salford, Salford, M5 4WT
Paul Winkler wrote:
On Fri, Jul 08, 2005 at 04:01:23PM +0100, Tony Addyman wrote:
Removing python-2.4 from the system is not an option. Too many thinks link in to it.
No need to remove anything. Just build python 2.3 and install it in /usr/local (the default).
If only it was that simple. It has always been that simple in the past, but then my local python was newer than the one shipped with the distro.
Then build zope from source like so:
./configure --with-python=/usr/local/bin/python2.3 --prefix=... make make install
Does that not work? I don't see why this is any different from the usual case of the distro-provided python or zope being too old.
I have not tried the --with-python argument, because the configure detected my python 2.3.5 in /usr/local. Doing ./configure --prefix, make, then make install didn't produce any errors, but attempting to run zope did. I will try the --with-python argument next week, and the altinstall suggested by another helpful person. Many thanks for your support. I will feel much more comfortable with the right version of python under my zope. Tony -- Eur Ing A.M.Addyman, School of Computing, Science and Engineering University of Salford, Salford, M5 4WT
Why do these bastards ship Zope with an unsupported Python version... unbelievable! Maybe a reason *not* to use Suse.
he he. I think the equivalent of using deb packages (or alike) to install and maintain your zope is like create and maintain a zclass project: you get started quickly but very soon you grow out of it and the ceiling can't be raised without breaking the roof.
Does your technical expertise match your sense of humour? I have built Python and Zope from source in the past, but that was always on a system which had shipped with an earlier version of Python. In this case building from source generates the following error when you start Zope. This was python2.3.5 tar file from python.org and zope-2.7.5, from zope.org. All the advice on the Web talks about removing old code, because DbTab is now integrated. The error message was:
To simplify me statement: - I've had problems with deb packaged zope's - other people complain about pre-packaged packages - building from source has a threshold hassle level worth taking - building from source is better if you're serious about your installation -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
On Friday 08 July 2005 08:01 am, Tony Addyman wrote:
Peter Bengtsson wrote:
The only negative that I know of comes with SuSE 9.3 Pro. Zope is compiled with Python 2.4!
Why do these bastards ship Zope with an unsupported Python version... unbelievable! Maybe a reason *not* to use Suse.
he he. I think the equivalent of using deb packages (or alike) to install and maintain your zope is like create and maintain a zclass project: you get started quickly but very soon you grow out of it and the ceiling can't be raised without breaking the roof.
Does your technical expertise match your sense of humour? I have built Python and Zope from source in the past, but that was always on a system which had shipped with an earlier version of Python. In this case building from source generates the following error when you start Zope. This was python2.3.5 tar file from python.org and zope-2.7.5, from zope.org. All the advice on the Web talks about removing old code, because DbTab is now integrated. The error message was:
DBTab.ClassFactories.autoClassFactory could not be imported. Line 844 of zope.conf.
Removing python-2.4 from the system is not an option. Too many thinks link in to it. Tony Addyman
I have never had any problems with the Debian python packages, I suggest you use them. Debian is perfectly happy to have 2.4 and 2.3 side by side (and 2.1 and 1.5 even). However, you should certainly build your zope and associated products from source. Alec
On 7/8/05, Alec Mitchell <apm13@columbia.edu> wrote:
I have never had any problems with the Debian python packages, I suggest you use them. Debian is perfectly happy to have 2.4 and 2.3 side by side (and 2.1 and 1.5 even). However, you should certainly build your zope and associated products from source.
Note that some weirdo have decided that "distutils" is a development package, so you need to install both the python packages and the python-dev packages, always. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
Tony Addyman wrote:
Negroup - wrote:
Hi all, does anyone here uses Zone installed on Suse Linux? What's your impressions? Particular pros/cons? It comes with a script to manage multiple Zopes, which is very useful. I have around 50 separate Zope/Plones running for student teaching.
The only negative that I know of comes with SuSE 9.3 Pro. Zope is compiled with Python 2.4! All my attempts to build Zope from scratch with Python 2.3.5 have failed on SuSE 9.3. I never had problems with building things from scratch before though.
I have sorted out the build from scratch. I installed python 2.3 as an altinstall as suggested, and tried using --with-python on the zope configuration. Both of these may have helped. Certainly, the suggestions encouraged me to have one more go - and I found the problem! It was so easy when I found it, too. I have a large number of existing zope instances, each already has their own zopectl script. These were created before I migrated to SuSE 9.3, so the script has PYTHON=/usr/bin/python. On SuSE 9.2 /usr/bin/python was python 2.3. So, even though I built everything with python 2.3.5 the scripts were still trying to use python 2.4 to run things. After I edited the scripts all was well. That is on my test server. The production server has another 50 or so Zope instances. It all makes work for the working man to do (as the song says) Thanks to everyone for their suggestions and support. Tony
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Eur Ing A.M.Addyman, School of Computing, Science and Engineering University of Salford, Salford, M5 4WT
participants (9)
-
Alec Mitchell -
Andreas Jung -
Garth B. -
Lennart Regebro -
Marco Bizzarri -
Negroup - -
Paul Winkler -
Peter Bengtsson -
Tony Addyman