[Zope-dev] python w/o py_malloc

Steve Alexander steve@cat-box.net
Fri, 31 Aug 2001 09:32:22 +0100


Dario Lopez-Kästen wrote:

> Hello!
> 
> I am having my Zope.2.4.0 repeatedly restarting (using z-monitor).
> 
> I am using python 2.1.1 with Zope source-release. There was a discussion on
> the list recently about recompiling python w/o py_malloc, and that that
> would solve the problems.
> 
> How do I recompile python w/o py_malloc?
> 
> I've tried the python dist but couldn't find any docs...


I'm assuming you have a python source release, and that you're using a 
unix-like operating system.

You'd normally compile python by running

./configure
make
su root
make install

in the source directory of Python-2.1

Instead of just ./configure, run

./configure --without-pymalloc

You can use ./configure --help to see the list of configuration options.

--
Steve Alexander
Software Engineer
Cat-Box limited