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

Geoff Nordli geoff@gnaa.net
Tue, 26 Oct 1999 22:22:44 -0700


I have exactly the same thing when trying to compile from a tarball.
The only difference is I get a SystemError 256--instead of Adrian's
SystemError 512.

I am running a fresh install of RH 6.1.

I also get errors when trying to install the binaries.

Hopefully there is an easy fix.

geoff

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Adrian Esteban Madrid
> Sent: Tuesday, October 26, 1999 9:50 PM
> To: Zope List
> Subject: [Zope] Can't compile Zope 2.0.1 (source)
> 
> 
> 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
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (Related lists - please, no cross posts or HTML encoding!
> 
> To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>