编译安装nginx时 --with-http_perl_moudle make报错
src/http/modules/perl/ngx_http_perl_module.c:1039:error:‘ngx_http_perl_main_conf_t’ha...
src/http/modules/perl/ngx_http_perl_module.c:1039: error: ‘ngx_http_perl_main_conf_t’ has no member named ‘perl’
src/http/modules/perl/ngx_http_perl_module.c:1043: error: implicit declaration of function ‘sv_setiv’
src/http/modules/perl/ngx_http_perl_module.c:1043: error: implicit declaration of function ‘GvSV’
src/http/modules/perl/ngx_http_perl_module.c:1043: error: implicit declaration of function ‘gv_fetchpv’
src/http/modules/perl/ngx_http_perl_module.c:1043: error: ‘SVt_PV’ undeclared (first use in this function)
src/http/modules/perl/ngx_http_perl_module.c:1043: error: ‘I32’ undeclared (first use in this function)
src/http/modules/perl/ngx_http_perl_module.c:1043: error: expected ‘)’ before ‘ngx_pid’
make[1]: *** [objs/src/http/modules/perl/ngx_http_perl_module.o] Error 1
make[1]: Leaving directory `/tmp/nginx-1.1.0'
make: *** [build] Error 2 展开
src/http/modules/perl/ngx_http_perl_module.c:1043: error: implicit declaration of function ‘sv_setiv’
src/http/modules/perl/ngx_http_perl_module.c:1043: error: implicit declaration of function ‘GvSV’
src/http/modules/perl/ngx_http_perl_module.c:1043: error: implicit declaration of function ‘gv_fetchpv’
src/http/modules/perl/ngx_http_perl_module.c:1043: error: ‘SVt_PV’ undeclared (first use in this function)
src/http/modules/perl/ngx_http_perl_module.c:1043: error: ‘I32’ undeclared (first use in this function)
src/http/modules/perl/ngx_http_perl_module.c:1043: error: expected ‘)’ before ‘ngx_pid’
make[1]: *** [objs/src/http/modules/perl/ngx_http_perl_module.o] Error 1
make[1]: Leaving directory `/tmp/nginx-1.1.0'
make: *** [build] Error 2 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询