Error during "make" after ./configure --with-http_perl_module --with-mail

Winnie lammywinnie at gmail.com
Fri Aug 17 20:10:08 MSD 2007


Dear all,
hi....i found the error stop the process of "make" after 
"./configure --with-http_perl_module --with-mail"..
my machine has installed perl-5.80.....
many many thx....

here're the error during "make":
....
Please specify prototyping behavior for nginx.xs (see perlxs manual)
gcc -c  -I ../../../../../src/core -I ../../../../../src/event -I 
../../../../..
/src/os/unix -I ../../../../../src/http -I 
../../../../../src/http/modules -I ..
/../../../../src/http/modules/perl -I 
../../../../../objs  -D_REENTRANT -D_GNU_S
OURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/
5.8.0/i386-linux-thread-multi/CORE -g  -O   -DVERSION=\"0.5.31\" -DXS_VERSION=\"
0.5.31\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" 
nginx.c
In file included from ../../../../../src/core/ngx_core.h:61,
                 from nginx.xs:10:
../../../../../src/core/ngx_regex.h:14:18: pcre.h: No such file or directory
In file included from ../../../../../src/core/ngx_core.h:61,
                 from nginx.xs:10:
../../../../../src/core/ngx_regex.h:21: parse error before "ngx_regex_t"
../../../../../src/core/ngx_regex.h:21: warning: data definition has no type 
or
storage class
../../../../../src/core/ngx_regex.h:24: parse error before '*' token
../../../../../src/core/ngx_regex.h:25: warning: data definition has no type 
or
storage class
../../../../../src/core/ngx_regex.h:26: parse error before '*' token
../../../../../src/core/ngx_regex.h:27: parse error before '*' token
In file included from ../../../../../src/http/ngx_http.h:38,
                 from nginx.xs:11:
../../../../../src/http/ngx_http_core_module.h:213: parse error before 
"ngx_rege
x_t"
../../../../../src/http/ngx_http_core_module.h:213: warning: no semicolon at 
end
 of struct or union
../../../../../src/http/ngx_http_core_module.h:216: parse error before ':' 
token
../../../../../src/http/ngx_http_core_module.h:218: parse error before ':' 
token
../../../../../src/http/ngx_http_core_module.h:219: parse error before ':' 
token
../../../../../src/http/ngx_http_core_module.h:221: parse error before ':' 
token
../../../../../src/http/ngx_http_core_module.h:222: parse error before ':' 
token
../../../../../src/http/ngx_http_core_module.h:224: parse error before ':' 
token
../../../../../src/http/ngx_http_core_module.h:225: parse error before ':' 
token
../../../../../src/http/ngx_http_core_module.h:267: `sendfile' redeclared as 
dif
ferent kind of symbol
/usr/include/sys/sendfile.h:41: previous declaration of `sendfile'
../../../../../src/http/ngx_http_core_module.h:291: parse error before '}' 
token
In file included from ../../../../../src/http/ngx_http.h:39,
                 from nginx.xs:11:
../../../../../src/http/ngx_http_script.h:97: parse error before 
"ngx_regex_t"
../../../../../src/http/ngx_http_script.h:97: warning: no semicolon at end 
of st
ruct or union
../../../../../src/http/ngx_http_script.h:104: parse error before ':' token
../../../../../src/http/ngx_http_script.h:105: parse error before ':' token
../../../../../src/http/ngx_http_script.h:106: parse error before ':' token
../../../../../src/http/ngx_http_script.h:107: parse error before ':' token
../../../../../src/http/ngx_http_script.h:110: parse error before ':' token
../../../../../src/http/ngx_http_script.h:112: parse error before ':' token
../../../../../src/http/ngx_http_script.h:113: parse error before ':' token
../../../../../src/http/ngx_http_script.h:116: parse error before '}' token
../../../../../src/http/ngx_http_script.h:116: warning: data definition has 
no t
ype or storage class
make[2]: *** [nginx.o] Error 1
make[2]: Leaving directory `/root/nginx-0.5.31/objs/src/http/modules/perl'
make[1]: *** [objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so] 
Error 2
make[1]: Leaving directory `/root/nginx-0.5.31'
make: *** [build] Error 2
=================================================================== 








More information about the nginx mailing list