[Zope] FYI about Zope 2.3.x and FreeBSD

Rob Miller rob@kalistra.com
Thu, 29 Mar 2001 13:59:12 -0800


R. David Murray wrote:

> A couple of us on the IRC channel were trying to get Zope 2.3
> running on FreeBSD.  2.2.x works fine.  2.3.x sometimes seems to
> fail to run.  Both of us got an error importing module 'new', but
> for one of us zope 2.3.0a2 still ran, while for the other it wouldn't
> start.  2.3.1b3 failed to start for the one 2.3.0a2 ran for.

I got 2.3.1b3 to run on FreeBSD 4.2-STABLE using Python 1.5.2 just the 
other day.  I installed Python from the ports tree and ran into the same 
problem you did... error importing module 'new'.  But then I went into 
the '/usr/ports/lang/python15/work/Python-1.5.2/Modules' directory, 
uncommented the 'new newmodule.c' line in the 'Setup' file, and did a 
'make' from the '/usr/ports/lang/python15/work/Python-1.5.2' folder. 
Finally, I copied the resultant 'newmodule.so' into
'/usr/local/lib/python1.5/lib-dynload' by hand.  After that, Zope 
started up w/ no troubles.

-r