[ZWeb] zope-py2-OS X

Calvin calvin@xmission.com
Wed, 15 Nov 2000 17:36:52 -0700 (MST)

Can anyone help me?

I am  running Mac OS X, I've installed Python 2.0, and I would like to run

I hacked out an install of python1.5.2 but it doesn't seem to compile
zope correctly.  I get thread errors, which leads me to believe that my
1.5.2 was not created properly. 

So, I know some people have supposedly gotten Zope to work with Python2.0
and I know it should supposedly work on Mac OSX. 

Has anyone done both?  Or can anyone point me to instructions on how to
compile Zope under python 2.0.  I'll happily host a web page describing
every inane detail necessary to get Zope to run on OS X.  I'll also
happily write up dummy mode instructions for compiling and running under

Just so you know I have run Zope on Linux, but my linux box was an HP
266mhz 32 meg slow dog.  Zope was impossibly slow.  I figure my G4 350
with over 400meg ram will handle zope reasonably well.

thanks for all your help.

Yes, I did read how cpickle and cstring need to be fixed, but that is
after the build and not before, right?  

Additionally, my initial errors are these:
Mods I made to compile Zope on Mac OSx with Python 2.0
make sure Zope folder is in a "clean" directory (no spaces, so outside
"Mac OS 9")

first mod:

#include <sys/sem.h>

#include <sys/semaphore.h>

This is where I'm breaking down:
In file included from ./../Components/ExtensionClass/ExtensionClass.c:61:
./../Components/ExtensionClass/ExtensionClass.h:114: Python.h: No such
file or directory
./../Components/ExtensionClass/ExtensionClass.h:115: import.h: No such
file or directory
make: *** [ExtensionClass.o] Error 1
Traceback (most recent call last):
  File "/Users/calvin/Zope-2.2.2-src/w_pcgi.py", line 111, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "/Users/calvin/Zope-2.2.2-src/w_pcgi.py", line 109, in main
    import wo_pcgi; wo_pcgi.main(me)
  File "/Users/calvin/Zope-2.2.2-src/wo_pcgi.py", line 104, in main
    import build_extensions
  File "/Users/calvin/Zope-2.2.2-src/inst/build_extensions.py", line 96,
in ?
  File "/Users/calvin/Zope-2.2.2-src/inst/do.py", line 135, in make
  File "/Users/calvin/Zope-2.2.2-src/inst/do.py", line 104, in do
    if i and picky: raise SystemError, i
SystemError: 512

So where is python.h and import.h?

thanks for your help.