Re: [Zope] Supported platforms and versions of Python
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>
On 19/2/02 12:42 pm, "Jens Vagelpohl" <jens@zope.com> wrote:
do you have the developer tools installed?
I take it that you mean the Python developer tools? I installed from source, so I thought I had everything...
jens
p.s.: PCGI is a really outmoded way of using zope. use simple apache proxying or rewrite rules instead.
Oh. So I shouldn't be using mod_fastcgi then ? Sorry, I was just following the WEBSERVER.txt file :( -- Wayne Pascoe <wayne.pascoe@realtime.co.uk>
i mean the OS X developer tools, which are usually included as an extra CD in the OS X box if you bought the retail version. otherwise it can be downloaded from the apple developer connection website somewhere. if you do not have the developer tools installed you will not be able to compile anything on your box. WEBSERVER.txt is way old. a better idea is to search zope.org for apache or virtual hosting. go with something simple like rewrite rules in apache and the virtual host monster (which is part of zope 2.5.x) to make your life easier. jens On Tuesday, February 19, 2002, at 08:35 , Wayne Pascoe wrote:
On 19/2/02 12:42 pm, "Jens Vagelpohl" <jens@zope.com> wrote:
do you have the developer tools installed?
I take it that you mean the Python developer tools? I installed from source, so I thought I had everything...
jens
p.s.: PCGI is a really outmoded way of using zope. use simple apache proxying or rewrite rules instead.
Oh. So I shouldn't be using mod_fastcgi then ? Sorry, I was just following the WEBSERVER.txt file :( -- Wayne Pascoe <wayne.pascoe@realtime.co.uk>
participants (2)
-
Jens Vagelpohl -
Wayne Pascoe