[Zope] Re: FreeBSD compile error 2.4.x to 2.4.3
Gary Poster
Gary Poster" <garyposter@earthlink.net
Thu, 29 Nov 2001 14:31:49 -0500
Still no solution, but here's more data:
When I re-download the python 2.1.1 source, I check and yes, there is no
banana: the config folder does not exist and the Makefile.pre.in is in the
top folder. I don't think I did anything funky with my Python installation;
I certainly don't know why I would have!
so I went into the inst directory and looked at do.py. In a fit of daring
creativity, I deleted the "config" folder part from wheres_Makefile_pre_in
and reran python w_pcgi.py from the top directory. This time, gears whirr
for awhile longer maybe, then I get an exciting new traceback:
Compiling extensions in lib/python
cp /usr/local/lib/python2.1/Makefile.pre.in .
make -f Makefile.pre.in boot PYTHON=/usr/local/bin/python
make: don't know how to make boot. Stop
Traceback (most recent call last):
File "/usr/local/zope/2.4.2/w_pcgi.py", line 111, in ?
if __name__=='__main__': main(sys.argv[0])
File "/usr/local/zope/2.4.2/w_pcgi.py", line 109, in main
import wo_pcgi; wo_pcgi.main(me)
File "/usr/local/zope/2.4.2/wo_pcgi.py", line 105, in main
import build_extensions
File "/usr/local/zope/2.4.2/inst/build_extensions.py", line 102, in ?
make('lib','python')
File "/usr/local/zope/2.4.2/inst/do.py", line 134, in make
do('make -f Makefile.pre.in boot PYTHON=%s' % sys.executable)
File "/usr/local/zope/2.4.2/inst/do.py", line 104, in do
if i and picky: raise SystemError, i
SystemError: 512
What's up with this? Am I the only one to encounter this? I don't see
anything when I search the Zope list...
Trying to fix make errors is always yucky for me, cause I don't really know
the tool. Does anyone think I should post this somewhere in addition,
maybe? Is this a Zope bug, exactly? Maybe I'll put it in the collector and
see what happens. Maybe.
Gary
----- Original Message -----
From: "Gary & Karyn" <garykaryn@earthlink.net>
To: <zope@zope.org>
Sent: Thursday, November 29, 2001 2:01 PM
Subject: FreeBSD compile error 2.4.x to 2.4.3
> I'm getting the following error trying to compile Zope 2.4.x to 2.4.3
> upgrade on FreeBSD
>
> Compiling extensions in lib/python
> cp /usr/local/lib/python2.1/config/Makefile.pre.in .
> cp: /usr/local/lib/python2.1/config/Makefile.pre.in: No such file or
> directory
> Traceback (most recent call last):
> File "/usr/local/zope/2.4.2/w_pcgi.py", line 111, in ?
> if __name__=='__main__': main(sys.argv[0])
> File "/usr/local/zope/2.4.2/w_pcgi.py", line 109, in main
> import wo_pcgi; wo_pcgi.main(me)
> File "/usr/local/zope/2.4.2/wo_pcgi.py", line 105, in main
> import build_extensions
> File "/usr/local/zope/2.4.2/inst/build_extensions.py", line 102, in ?
> make('lib','python')
> File "/usr/local/zope/2.4.2/inst/do.py", line 133, in make
> do("cp %s ." % wheres_Makefile_pre_in())
> File "/usr/local/zope/2.4.2/inst/do.py", line 104, in do
> if i and picky: raise SystemError, i
> SystemError: 256
>
> the python2.1 is a python that worked just fine for 2.4.2...However,
unless
> I am being incredibly stupid, it doesn't have a config folder:
> Makefile.pre.in is in the top python2.1 folder. Has anyone else
encountered
> this, or feel the need to fix it? If not, I guess I'll dig in a
bit...look
> at "wheres_Makefile_pre_in", for instance...
>
> Thanks
>
> Gary
>