nginx + mod_scgi compile help under FreeBSD
Artifex Maximus
artifexor at gmail.com
Thu Sep 3 14:50:02 MSD 2009
Hi!
I would like to use mod_scgi under FreeBSD. I've modified distfile, Makefile
for using tip.tar.gz as module and using the correct size, md5 and sha256
checksum values. On compile I got the following error (extract):
"cc -c -pipe -g -DNGX_DEBUG_MALLOC -g -I /usr/local/include -I src/core -I
src/event -I src/event/modules -I src/os/unix -I
/usr/local/include/libxml2 -I /usr/local/include -I objs -I src/http -I
src/http/modules -I src/http/modules/perl -I src/mail -o
objs/addon/src/ngx_http_scgi_module.o
/root/src/nginx/nginx/work/mod_scgi-b466baa5fcdb/src/ngx_http_scgi_module.c
/root/src/nginx/nginx/work/mod_scgi-b466baa5fcdb/src/ngx_http_scgi_module.c:201:
error: 'ngx_garbage_collector_temp_handler' undeclared here (not in a
function)
/root/src/nginx/nginx/work/mod_scgi-b466baa5fcdb/src/ngx_http_scgi_module.c:
In function 'ngx_http_scgi_process_header':
/root/src/nginx/nginx/work/mod_scgi-b466baa5fcdb/src/ngx_http_scgi_module.c:878:
error: too few arguments to function 'ngx_http_parse_header_line'"
I've tried with the following shell script but got the same error:
"cd /usr/ports/www/nginx
make clean
make extract patch
ln -s /root/src/nginx/mod_scgi-b466baa5fcdb /usr/ports/www/nginx/work/
make
CONFIGURE_ARGS=--add-module=/usr/ports/www/nginx/work/mod_scgi-b466baa5fcdb"
Any idea what errors mean or anyone might have a working ports folder for
nginx+mod_scgi?
Thanks!
Bye,
a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090903/f718a978/attachment.html>
More information about the nginx
mailing list