cnken / substitutions4nginx

Automatically exported from code.google.com/p/substitutions4nginx
3 stars 3 forks source link

Error compiling with nginx 1.3.1 #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I configure nginx 1.3.1 with the following options:

 ./configure  --prefix=/etc/nginx/ --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --add-module=/root/t/substitutions4nginx-readonly --add-module=/root/t/nginx-sticky-module-1.0 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-pcre

When I ran make to compile I got:

gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter 
-Wunused-function -Wunused-variable -Wunused-value -Werror -g   -I src/core -I 
src/event -I src/event/modules -I src/os/unix -I 
/root/t/substitutions4nginx-readonly/modules -I 
/root/t/substitutions4nginx-readonly -I objs -I src/http -I src/http/modules -I 
src/mail \
                -o objs/addon/substitutions4nginx-readonly/ngx_http_subs_filter_module.o \
                /root/t/substitutions4nginx-readonly/ngx_http_subs_filter_module.c
/root/t/substitutions4nginx-readonly/ngx_http_subs_filter_module.c: In function 
ângx_http_subs_regex_capture_countâ:
/root/t/substitutions4nginx-readonly/ngx_http_subs_filter_module.c:1306: error: 
ângx_regex_tâ has no member named âpcreâ
make[1]: *** 
[objs/addon/substitutions4nginx-readonly/ngx_http_subs_filter_module.o] Error 1
make[1]: Leaving directory `/root/t/nginx-1.3.1'
make: *** [build] Error 2

compiling this on CentOS release 6.2 kernel 2.6.32.

Original issue reported on code.google.com by nguyen....@gmail.com on 11 Jun 2012 at 3:14

GoogleCodeExporter commented 9 years ago
Thanks. I have fixed this problem. Try the latest revision.

Original comment by yaoweibin@gmail.com on 11 Jun 2012 at 3:40

GoogleCodeExporter commented 9 years ago
I was able to compile now.  Thanks.

Original comment by nguyen....@gmail.com on 11 Jun 2012 at 5:37