[Zope] Error compiling mod_pcgi

Alexander Staubo alex@mop.no
Wed, 21 Jul 1999 18:56:29 +0200


Trying to compile mod_pcgi with Apache 1.3.6:

gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX
`../../apaci` mod_pcgi.c
pcgi.c: In function `pcgi_child':
In file included from mod_pcgi.c:59:
pcgi.c:337: warning: initialization discards `const' from pointer target
type
pcgi.c:351: warning: assignment makes pointer from integer without a
cast
pcgi.c: In function `pcgiStartProc':
pcgi.c:413: incompatible type for argument 4 of `semctl'
pcgi.c: In function `cleanup':
pcgi.c:426: incompatible type for argument 4 of `semctl'
mod_pcgi.c: In function `pcgi_handler':
mod_pcgi.c:347: warning: initialization discards `const' from pointer
target type
mod_pcgi.c:352: warning: passing arg 1 of `ap_table_do' from
incompatible pointer type
mod_pcgi.c:369: warning: passing arg 1 of `ap_table_do' from
incompatible pointer type
mod_pcgi.c:386: warning: initialization discards `const' from pointer
target type
make[4]: *** [mod_pcgi.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.6/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.6'
make: *** [build] Error 2

Has anybody tried mod_pcgi with 1.3.6?

--
Alexander Staubo             http://www.mop.no/~alex/
"Reality is that which, when you stop believing in it, doesn't go
away."
--Philip K. Dick