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>
Python 2.1.1/2 is recommended to work with Zope 2.5. To use Python 2.2 you need to copy the Makefile.pre.in from a Python 2.1.X installation to the config directory of your 2.2 installation. Andreas ----- Original Message ----- From: "Tony Goodwin" <danielgoodwin@yahoo.com> To: <zope-dev@zope.org> Sent: Monday, February 04, 2002 14:38 Subject: [Zope-dev] Zope under cygwin
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 - Zope-Dev@zope.org 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 )
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 :-)
Thanks - Worked fine Tony -----Original Message----- From: Behrens Matt - Grand Rapids [mailto:Matt.Behrens@Kohler.Com] Sent: 04 February 2002 13:38 To: Tony Goodwin Cc: zope-dev@zope.org 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 :-)
Tony, Use Python 2.1.2 instead of 2.2 and this problem will go away. Zope isn't distributed in such a way that it's 2.2-compatible at the moment. HTH, - C ----- Original Message ----- From: "Tony Goodwin" <danielgoodwin@yahoo.com> To: <zope-dev@zope.org> Sent: Monday, February 04, 2002 8:38 AM Subject: [Zope-dev] Zope under cygwin
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 - Zope-Dev@zope.org 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 )
participants (4)
-
Andreas Jung -
Chris McDonough -
Matt Behrens -
Tony Goodwin