Hello!
On Thu, Aug 9, 2012 at 3:15 AM, Alexander Skott wrote:
> I'm getting this error when compiling Nginx 1.2.3 with your plugin :-S
>
> make[1]: *** No rule to make target `/root/subs/ngx_http_chain_buffer.h',
> needed by `objs/addon/src/ngx_http_headers_more_filter_module.o'. Stop.
> make[1]: Leaving directory `/root/nginx-1.2.3'
> make: *** [build] Error 2
>
It seems that you're not using the official source tarball of nginx
1.2.3 or you're also enabling other 3rd-party modules that do some bad
things?
The nginx 1.2.3 release tarball works perfectly here with the latest
ngx_headers_more v0.18, which I downloaded from the nginx official web
site:
http://nginx.org/
ngx_headers_more's test suite is passing without errors.
The "nginx -V" command gives
nginx version: nginx/1.2.3
built by gcc 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC)
configure arguments:
--prefix=/home/agentzh/git/headers-more-nginx-module/work/nginx
--with-ld-opt='-L/opt/pcre821jit/lib
-Wl,-rpath,/opt/pcre821jit/lib:/opt/drizzle/lib:/usr/local/openresty-debug/luajit/lib:/usr/local/lib'
--without-mail_pop3_module --without-mail_imap_module
--without-mail_smtp_module --without-http_upstream_ip_hash_module
--without-http_empty_gif_module --without-http_memcached_module
--without-http_referer_module --without-http_autoindex_module
--without-http_auth_basic_module --without-http_userid_module
--add-module=/home/agentzh/git/headers-more-nginx-module/../eval-nginx-module
--add-module=/home/agentzh/git/headers-more-nginx-module/../lua-nginx-module
--add-module=/home/agentzh/git/headers-more-nginx-module/../echo-nginx-module
--add-module=/home/agentzh/git/headers-more-nginx-module --with-debug
--with-poll_module --with-cc=gcc --with-cc-opt=-O1
Best regards,
-agentzh
P.S. I'm cc'ing the openresty-en mailing list:
https://groups.google.com/group/openresty-en