ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ngx_http_perl_module and system PCRE



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
--- 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                              


 




Copyright © Lexa Software, 1996-2009.