Building instruction

Валентин Бартенев vbart at nginx.com
Thu Apr 7 09:19:41 UTC 2016


On Wednesday 06 April 2016 21:45:44 Pietro wrote:
> Hi everybody,
> 
> I would be interested in building the project from the sources and I
> have checked out the nginx source code following the instruction:
> 
> http://nginx.org/en/docs/configure.html
> 
> I can't figure out where I should start, in fact I do not see a
> configure script at the top level, quite naively this is what I have
> done :
> 
> cd auto
> ./configure --sbin-path=/usr/local/nginx/nginx --conf-
path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid
> ./configure: 10: .: Can't open auto/options
> 
> I have the feeling I am getting it all wrong but I can't find clearer
> building instruction, how do I build NGINX ? Have I missed some crucial
> docs present in the website or inside the source repo itself ?
> 

This instruction is valid for release sources from:
http://nginx.org/en/download.html

If you build it out of repository, you have to use "auto/configure" instead.

  wbr, Valentin V. Bartenev



More information about the nginx-devel mailing list