[Zope] FreeBSD "new" bugg

Ng Pheng Siong ngps@post1.com
Sat, 10 Feb 2001 00:50:34 +0800


On Fri, Feb 09, 2001 at 11:55:06AM +0200, Neil Blakey-Milner wrote:
> On Fri 2001-02-09 (09:00), Johan Carlsson wrote:
> > Can anyone tell me what the "new" bugg is and
> > how to solve it when installing Zope from source
> > on a FreeBSD?
> 
> You need to reinstall the python-1.5.2 package, as it doesn't come with
> the 'new' module.  The python-1.5.2_1 package has the 'new' module -
> just cvsup ports and build it from ports/lang/python15.

I did the following, which was easier than cvsup for me, bandwidth-wise:

0. I assume you have the FreeBSD python-1.5.2 package installed.
1. Unpack Python 1.5.2 source.
2. Copy /usr/local/lib/python1.5/config's Makefile and Setup to
   your Python 1.5.2 source tree.
3. Uncomment the "new" module in Setup.
4. Build the module.
5. Copy newmodule.so to /usr/local/lib/python1.5/lib-dynload.

Voila!


> Zope 2.3.0 works from ports so long as the 'new' module is in your
> python. (I maintain the ports skeleton for Zope on FreeBSD).

Zope 2.3.0 seems also to run with Python 2.0 on FreeBSD.

-- 
Ng Pheng Siong <ngps@post1.com> * http://www.post1.com/home/ngps