do you have the developer tools installed? jens p.s.: PCGI is a really outmoded way of using zope. use simple apache proxying or rewrite rules instead. On Tuesday, February 19, 2002, at 04:55 , Wayne Pascoe wrote:
On 19/2/02 4:51 am, "Jens Vagelpohl" <jens@zope.com> wrote:
Thanks for that.
After reading the document, I am able to build Zope without the pcgi server. I would like to use Zope with a fastcgi connector from an Apache webserver, so according to the docs, I need to build w_pcgi.py, not wo_pcgi.py
Doing python2.1 w_pcgi.py produces the following output: Building the PCGI Wrapper . . Configure stuff . . creating ./config.status creating Makefile make cc -c -I. -I. -g -O2 -DPCGI_WRAPPER_MAIN -DVERSION=\"2.0a5\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DUNIX -DOPT_NO_STDERR -DCLOSE_FDS ./pcgi-wrapper.c ./pcgi.h:61: header file 'sys/sem.h' not found cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make: *** [pcgi-wrapper.o] Error 1 Traceback (most recent call last): File "/usr/local/Zope-2.5.0/w_pcgi.py", line 39, in ? if __name__=='__main__': main(sys.argv[0]) File "/usr/local/Zope-2.5.0/w_pcgi.py", line 32, in main import build_pcgi File "/usr/local/Zope-2.5.0/inst/build_pcgi.py", line 25, in ? do('make') File "/usr/local/Zope-2.5.0/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 512
Building using python2.1 wo_pcgi works fine. It looks like I am missing a header file (sys/sem.h). Is there any way to build Zope with pcgi support on OSX ?
Thanks,
-- Wayne Pascoe <wayne.pascoe@ehsrealtime.com>