[Zope] Can't compile Zope 2.0.1 (source)

Adrian Esteban Madrid aem@byu.edu
Tue, 26 Oct 1999 22:49:38 -0600


Following hgebel How To: Making a first Zope website (BTW, I think that
is great, easy, dumb-proof) I get into errors compiling Zope. Everything
works great until I get to the point of finally compiling the beast.
When I do...

python -O wo_pcgi.py

it starts compiling for a while and then it gives me this:

make: *** [ExtensionClass.o] Error 1
Traceback (innermost last):
  File "/usr/local/Zope/w_pcgi.py", line 111, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "/usr/local/Zope/w_pcgi.py", line 109, in main
    import wo_pcgi; wo_pcgi.main(me)
  File "/usr/local/Zope/wo_pcgi.py", line 104, in main
    import build_extensions
  File "/usr/local/Zope/inst/build_extensions.py", line 96, in ?
    make('lib','python')
  File "/usr/local/Zope/inst/do.py", line 134, in make
    do('make')
  File "/usr/local/Zope/inst/do.py", line 103, in do
    if i and picky: raise SystemError, i
SystemError: 512

---------------------------------------------------------------------
And then if I try doing...

python -O wo_pcgi.py

Same story, compiles for a [smaller] while and then same error:

make: *** [ExtensionClass.o] Error 1
Traceback (innermost last):
  File "wo_pcgi.py", line 115, in ?
  File "wo_pcgi.py", line 104, in main
  File "/usr/local/Zope/inst/build_extensions.py", line 96, in ?
    make('lib','python')
  File "/usr/local/Zope/inst/do.py", line 134, in make
    do('make')
  File "/usr/local/Zope/inst/do.py", line 103, in do
    if i and picky: raise SystemError, i
SystemError: 512


Then I try to go on but it doesn't work.

bash$ python zpasswd.pyo -p tfoth99 access
bash$ exit
exit
[root@aem Zope]# python z2.pyo
[root@aem Zope]# exit
exit

A few seconds later I get this:

[root@aem local]# Traceback (innermost last):
  File "/usr/local/Zope/z2.py", line 375, in ?
    exec "import "+MODULE in {}
  File "<string>", line 1, in ?
  File "/usr/local/Zope/lib/python/Zope/__init__.py", line 94, in ?
    import ZODB, ZODB.ZApplication, imp
  File "/usr/local/Zope/lib/python/ZODB/__init__.py", line 85, in ?
    import sys, ExtensionClass, TimeStamp, cPersistence, Persistence
ImportError: No module named ExtensionClass

Any ideas? I really want to get this working. I did on NT and decided to
trying it on Linux (I'm a newbie in both Linux and Zope).


Adrian Madrid
Network Support, ATS
Brigham Young University