Fork me on GitHub

The WebDevil

Enjoy development

Для себя, чтоб не забыть, параметры для корректной сборки nginx под FreeBSD.

wget http://sysoev.ru/nginx/nginx-0.6.26.tar.gz
tar xvf ./nginx-0.6.26.tar.gz
cd nginx-0.6.26

./configure --prefix=/usr/local/nginx \
--with-cc-opt="-I /usr/local/include" \
--with-ld-opt="-L /usr/local/lib" \
--with-http_addition_module \
--with-http_dav_module \
--with-http_perl_module \
--with-http_realip_module \
--with-http_stub_status_module \
--with-http_sub_module

make install clean

cd /usr/ports/net/p5-URI && make install clean

cd /usr/ports/devel/p5-String-CRC32 && make install clean

cpan -i URI::Escape::XS

На вопрос cpan о готовности к ручной настройке ответить “no”

One Response to “configure nginx-0.6.26”

  1. TermiT