Welcome! Log In Create A New Profile

Advanced

nginx + mod_scgi compile help under FreeBSD

Artifex Maximus
September 03, 2009 07:10AM
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
Subject Author Posted

nginx + mod_scgi compile help under FreeBSD

Artifex Maximus September 03, 2009 07:10AM

Re: nginx + mod_scgi compile help under FreeBSD

Piotr Sikora September 03, 2009 08:08AM

Re: nginx + mod_scgi compile help under FreeBSD

Artifex Maximus September 03, 2009 10:04AM

Re: nginx + mod_scgi compile help under FreeBSD

Manlio Perillo September 03, 2009 08:08AM

Re: nginx + mod_scgi compile help under FreeBSD

Artifex Maximus September 03, 2009 09:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready