[Zope-dev] problem installing zope 2.5.1 on linux

Patrascu Eugeniu eugen@Aniela.EU.ORG
Sat, 14 Sep 2002 16:08:22 +0300


Hi, I downloaded the source code of zope and I  tried to install it 
several times, but I get the following errors when I run 

~# python  w_pcgi.py

The version of python installed on my system is 2.2

Please help sort out this problem.



------------------------------------------------------------------------------
Writing the pcgi resource file (ie cgi script), 
/kit/Zope-2.5.1-src/Zope.cgi
chmod 0755 /kit/Zope-2.5.1-src/Zope.cgi

------------------------------------------------------------------------------
Deleting '.pyc' and '.pyo' files recursively under /kit/Zope-2.5.1-src...
Done.

------------------------------------------------------------------------------
Compiling python modules

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

------------------------------------------------
------------------------------------------------
Compiling extensions in lib/python
cp /usr/lib/python2.2/config/Makefile.pre.in .
cp: cannot stat `/usr/lib/python2.2/config/Makefile.pre.in': No such file 
or directory
Traceback (most recent call last):
  File "/kit/Zope-2.5.1-src/w_pcgi.py", line 39, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "/kit/Zope-2.5.1-src/w_pcgi.py", line 37, in main
    import wo_pcgi; wo_pcgi.main(me)
  File "/kit/Zope-2.5.1-src/wo_pcgi.py", line 33, in main
    import build_extensions
  File "/kit/Zope-2.5.1-src/inst/build_extensions.py", line 30, in ?
    make('lib','python')
  File "/kit/Zope-2.5.1-src/inst/do.py", line 61, in make
    do("cp %s ." % wheres_Makefile_pre_in())
  File "/kit/Zope-2.5.1-src/inst/do.py", line 32, in do
    if i and picky: raise SystemError, i
SystemError: 256