Re: [Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-09 Thread Lennart Regebro
On 7/8/05, Alec Mitchell <[EMAIL PROTECTED]> 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/
___
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 )


Re: [Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-08 Thread Alec Mitchell
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
___
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 )


Re: [Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-08 Thread Peter Bengtsson
> >>
> >> 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
___
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 )


Re: [Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-08 Thread Paul Winkler
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
___
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 )


Re: [Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-08 Thread Marco Bizzarri

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
begin:vcard
fn:Marco Bizzarri
n:Bizzarri;Marco
org:Icube S.r.l.
adr:;;via Ridolfi 15;Pisa;PI;56124;Italy
email;internet:[EMAIL PROTECTED]
title:Amministratore Delegato
tel;work:+39-050-970-207
tel;fax:+39-050-3136-588
tel;cell:+39-348-640-4861
x-mozilla-html:FALSE
url:http://notenotturne.blogspot.com/
version:2.1
end:vcard

___
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 )


[Zope] Re: Re: Poll: Zope and Suse Linux

2005-07-08 Thread Tony Addyman
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

___
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 )