Hi!<div><br></div><div>I would like to use mod_scgi under FreeBSD. I&#39;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):</div>
<div><br></div><div>&quot;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</div>
<div>/root/src/nginx/nginx/work/mod_scgi-b466baa5fcdb/src/ngx_http_scgi_module.c:201: error: &#39;ngx_garbage_collector_temp_handler&#39; undeclared here (not in a function)</div><div>/root/src/nginx/nginx/work/mod_scgi-b466baa5fcdb/src/ngx_http_scgi_module.c: In function &#39;ngx_http_scgi_process_header&#39;:</div>
<div>/root/src/nginx/nginx/work/mod_scgi-b466baa5fcdb/src/ngx_http_scgi_module.c:878: error: too few arguments to function &#39;ngx_http_parse_header_line&#39;&quot;</div><div><br></div><div>I&#39;ve tried with the following shell script but got the same error:</div>
<div><br></div><div>&quot;cd /usr/ports/www/nginx</div><div>make clean</div><div>make extract patch</div><div>ln -s /root/src/nginx/mod_scgi-b466baa5fcdb /usr/ports/www/nginx/work/</div><div>make CONFIGURE_ARGS=--add-module=/usr/ports/www/nginx/work/mod_scgi-b466baa5fcdb&quot;</div>
<div><br></div><div>Any idea what errors mean or anyone might have a working ports folder for nginx+mod_scgi?</div><div><br></div><div>Thanks!</div><div><br></div><div>Bye,</div><div>a</div>