nginx не собирается

Viatcheslav E. Kouznetsov slava at auto.ru
Mon Jan 12 09:45:28 MSK 2009


В сообщении от 12 января 2009 03:22 Igor Savchenko написал(a):
> Hello Igor,
>
>   mach/CORE -g "                          NGX_PCRE=YES                     
>                                       NGX_OBJS=objs      perl Makefile.PL  
>                                                       LIB=                 
>                                   INSTALLSITEMAN3DIR= Writing Makefile for
> nginx
> cp -p src/http/modules/perl/nginx.* objs/src/http/modules/perl/
> cd objs/src/http/modules/perl && make
> cp nginx.pm blib/lib/nginx.pm
> /usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
> /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  nginx.xs >
> nginx.xsc && mv nginx.xsc nginx.c Please specify prototyping behavior for
> nginx.xs (see perlxs manual) cc -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 
> -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK
> -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -I/usr/local/lib/perl5/5.8.8/mach/CORE -g -O 
>   -DVERSION=\"0.7.30\"  -DXS_VERSION=\"0.7.30\" -DPIC -fPIC
> "-I/usr/local/lib/perl5/5.8.8/mach/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:

Значит не может найти libpcre...

> ../../../../../src/core/ngx_regex.h:21: error: syntax 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: error: syntax error before
> "ngx_regex_t" ../../../../../src/core/ngx_regex.h:30: error: syntax error
> before '*' token ../../../../../src/core/ngx_regex.h:31: warning: data
> definition has no type or storage class
> ../../../../../src/core/ngx_regex.h:32: error: syntax error before '*'
> token ../../../../../src/core/ngx_regex.h:33: error: syntax error before
> '*' token In file included from ../../../../../src/http/ngx_http.h:38,
>                  from nginx.xs:11:
> ../../../../../src/http/ngx_http_core_module.h:227: error: syntax error
> before "ngx_regex_t" ../../../../../src/http/ngx_http_core_module.h:255:
> error: syntax error before "ngx_regex_t" In file included from
> ../../../../../src/http/ngx_http.h:39,
>                  from nginx.xs:11:
> ../../../../../src/http/ngx_http_script.h:98: error: syntax error before
> "ngx_regex_t" *** Error code 1
>
> Stop in /root/nginx-0.7.30/objs/src/http/modules/perl.
> *** Error code 1
>
> Stop in /root/nginx-0.7.30.
> *** Error code 1
>
> Stop in /root/nginx-0.7.30.
>
>
> uname -a
> FreeBSD dl4.savefile.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
> 11:05:30 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
>  i386
>
>
> Не подскажите как вылечить?

-- 
С уважением,
	Вячеслав Кузнецов
	ООО "АВТО.РУ"
	тел. 8(499)730-8-730 (доб. 112)





More information about the nginx-ru mailing list