[Zope-dev] Zope under cygwin

2002-02-04 Thread Tony Goodwin

Hi,
I'm trying to get Zope working under cygwin.
I have read thread related to this last October/November, but without luck
cygwin version - 1.3.9-1 (cygwin engine)
Have installed python separately (2.2-1) and built with threads
Done thing with FCNTL.h
then
 cd Zope-2.5.0-src
 python wo_pcgi.py
 and get following output below
The contents of usr/local/lib/python2.2 ceratinly dont contain any Makefile
info.
It appears to be trying to rebuild the python within Zope? There is a
makefile.pre.in
within Zope..src/lib/python, but poiting to it just gives error of form
no target boot in MAkefile

Any help much appreciated.

Tony


snip

bash-2.05a$ python wo_pcgi.py


--
Deleting '.pyc' and '.pyo' files recursively under
/usr/src/Zope-2.5.0-src...
Done.


--
Compiling python modules


--
Building extension modules
cp ./lib/python/Setup20 ./lib/python/Setup


Compiling extensions in lib/python
cp /usr/local/lib/python2.2/config/Makefile.pre.in .
cp: cannot stat `/usr/local/lib/python2.2/config/Makefile.pre.in': No such
file
or directory
Traceback (most recent call last):
  File wo_pcgi.py, line 45, in ?
  File wo_pcgi.py, line 33, in main
  File /usr/src/Zope-2.5.0-src/inst/build_extensions.py, line 30, in ?
make('lib','python')
  File /usr/src/Zope-2.5.0-src/inst/do.py, line 61, in make
do(cp %s . % wheres_Makefile_pre_in())
  File /usr/src/Zope-2.5.0-src/inst/do.py, line 32, in do
if i and picky: raise SystemError, i
SystemError: 256

/snip


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



RE: Python 2.2 and Makefile.pre.in (was Re: [Zope-dev] Zope under cygwin)

2002-02-04 Thread Tony Goodwin

Thanks - Worked fine
Tony

-Original Message-
From: Behrens Matt - Grand Rapids [mailto:[EMAIL PROTECTED]]
Sent: 04 February 2002 13:38
To: Tony Goodwin
Cc: [EMAIL PROTECTED]
Subject: Python 2.2 and Makefile.pre.in (was Re: [Zope-dev] Zope under
cygwin)


Tony Goodwin wrote:

 It appears to be trying to rebuild the python within Zope? There is a
 makefile.pre.in
 within Zope..src/lib/python, but poiting to it just gives error of form
 no target boot in MAkefile

Python 2.2 doesn't come with a Makefile.pre.in, which Zope depends on to 
build the C extensions.

I have heard that copying the one from a 2.1 installation will work.  I 
have not yet tried it.

I think this is getting to be a FAQ :-)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )