how to tell ngnix where is my libevent?

Maxim Dounin mdounin at mdounin.ru
Mon Aug 6 07:24:34 UTC 2012


Hello!

On Mon, Aug 06, 2012 at 12:02:05AM -0400, bigmeow wrote:

> since i build libevent myself, and install it to my home/install dir, 
> i have checked auto/configure --help to find options related to libevent
> dir, but not find it,
> 
> i have also tried to tell nginx the path of libevent using
> ./auto/configure CFLAGS="-I/home/bigmeow/install/include"
> ./auto/configure: error: invalid option
> "CFLAGS=-I/home/bigmeow/install/include"  
> also failed.
> 
> so is there any method  to tell ngnix where is my libevent?

You don't need libevent for nginx.

And just for record, to pass additional options to compiler and 
linker you may use --with-cc-opt and --with-ld-opt configure 
arguments, see http://nginx.org/en/docs/install.html.

Maxim Dounin



More information about the nginx mailing list