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 faiby bigmeow - Nginx Mailing List - English