headers-more-nginx-module icon indicating copy to clipboard operation
headers-more-nginx-module copied to clipboard

./configure: error: no src/http/modules/ngx_http_headers_filter_module.c/config was found

Open waqasy opened this issue 8 years ago • 1 comments

I'm trying to add it in centos6. I've already installed GCC.

I'm working in /home/rootuser/nginx-1.9.15/ directory and the command I'm using is as follow: ./configure --add-module=/src/http/modules/ngx_http_headers_filter_module.c

Then it goes like:

checking for C compiler ... found using GNU C compiler gcc version: 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) checking for gcc -pipe switch ... found....

and so on everything found to the end and then it shows.

configuring additional modules adding module in src/http/modules/ngx_http_headers_filter_module.c ./configure: error: no src/http/modules/ngx_http_headers_filter_module.c/config was found

Can anyone please tell me what is going wrong here.

waqasy avatar Jun 11 '16 16:06 waqasy

@waqasss ngx_http_headers_filter_module.c is a C source file in the nginx core, which has nothing to do with this ngx_headers_more module. Why are you feeding this nginx core C source file as the nginx addon module directory path? You must be totally confused here I'm afraid. Please read the installation instructions of this module's documentation more carefully.

agentzh avatar Jun 14 '16 20:06 agentzh