[Zope-Coders] HEAD broken

Tres Seaver tseaver@zope.com
31 Jan 2003 12:08:06 -0500


On Fri, 2003-01-31 at 12:02, Andreas Jung wrote:
> yetix@/develop/DC/sandboxes/Berlin2003(43)% !p
> python2.2 wo_pcgi.py

You may be seeing "guts on the table":  "whoa, piggies" will be going
away soon, in favor of Chris McDonough's "configure; make; make install"
stuff.
> 
> ---------------------------------------------------------------------------
> ---
> Deleting '.pyc' and '.pyo' files recursively under
> /home/develop/DC/sandboxes/Berlin2003...
> Done.
> 
> ---------------------------------------------------------------------------
> ---
> Compiling python modules
> 
> ---------------------------------------------------------------------------
> ---
> Building extension modules
> cp ./lib/python/Setup20 ./lib/python/Setup
> 
> ------------------------------------------------
> Compiling extensions in lib/python
> cp /opt/python-2.2.2/lib/python2.2/config/Makefile.pre.in .
> cp: cannot stat `/opt/python-2.2.2/lib/python2.2/config/Makefile.pre.in':
> No such file or directory
> Traceback (most recent call last):
>   File "wo_pcgi.py", line 117, in ?
>   File "wo_pcgi.py", line 105, in main
>   File "/home/develop/DC/sandboxes/Berlin2003/inst/build_extensions.py",
> line 102, in ?
>     make('lib','python')
>   File "/home/develop/DC/sandboxes/Berlin2003/inst/do.py", line 133, in make
>     do("cp %s ." % wheres_Makefile_pre_in())
>   File "/home/develop/DC/sandboxes/Berlin2003/inst/do.py", line 104, in do
>     if i and picky: raise SystemError, i
> SystemError: 256

This is a symptom of building via "old" mechanisms with a "new" Python.
Try this:

  $ python2.2.2 setup.py build_ext --inplace

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com