ngx_http_perl_module and system PCRE
Igor Sysoev
is at rambler-co.ru
Mon Jan 16 21:53:50 MSK 2006
On Mon, 16 Jan 2006, Andrew Velikoredchanin wrote:
> Igor Sysoev пишет:
>> Изменения в nginx 0.3.21
>
> При компиляции nginx 0.3.21 (Linux 2.6.14, gcc version 3.4.4):
>
> # ./configure --with-http_perl_module --with-http_ssl_module
> --without-http_geo_module --without-http_fastcgi_module --with-cc-opt="-I
> /usr/include/pcre -I /usr/include/openssl" --with-debug
>
> # make
>
> ...
> 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 -I ../../../../../YES -I ../../../../../YES -O -pipe -O
> -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function
> -Wunused-variable -Wunused-value -Werror -g -O2 -pipe -march=i686 -march=i686
> -mtune=i686 -DVERSION=\"0.3.21\" -DXS_VERSION=\"0.3.21\" -fPIC
> "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" nginx.c
> In file included from ../../../../../src/core/ngx_core.h:61,
> from nginx.xs:14:
> ../../../../../src/core/ngx_regex.h:14:18: pcre.h: No such file or directory
Патч.
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
--- auto/lib/perl/make Fri Jan 13 19:08:01 2006
+++ auto/lib/perl/make Mon Jan 16 21:51:14 2006
@@ -22,7 +22,7 @@
cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/
cd $NGX_OBJS/src/http/modules/perl \
- && NGX_PERL_CFLAGS="$NGX_PERL_CFLAGS" \
+ && NGX_PERL_CFLAGS="$NGX_PERL_CFLAGS $NGX_CC_OPT" \
NGX_PCRE=$PCRE \
NGX_ZLIB=$ZLIB \
NGX_OBJS=$NGX_OBJS \
More information about the nginx-ru
mailing list