nginx не собирается
Igor Sysoev
is at rambler-co.ru
Mon Jan 12 13:14:33 MSK 2009
On Mon, Jan 12, 2009 at 08:52:46AM +0200, Igor Savchenko wrote:
> Hello Viatcheslav,
>
> Monday, January 12, 2009, 8:45:28 AM, you wrote:
>
> > В сообщении от 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...
>
>
> ./configure ...
> ...
> checking for PCRE library in /usr/local/ ... found
> ...
>
> А ./configure пишет что нашел. :-(
Это ошибка в передаче параметров конфигурации перлу.
Если нужен перл, то единственный на данный момент способ - собрать pcre
статически с nginx'ом из исходников.
--
Игорь Сысоев
http://sysoev.ru
More information about the nginx-ru
mailing list