nginx-0.8.50

andrewmilkowski nginx-forum at nginx.us
Sun Sep 12 23:17:09 MSD 2010


Hey there

Giving a try to build nginx-0.8.50 on Mac OS (intention is benchmarking
against other httpd..)

using script (highlighted on top are 2 I could not force thru, aio and
cpp test) also compiling with libatomic 

would like a feedback from others , iff they are creating similar setup
and any issues they came across

best regards!


bash-3.2$ vi build.sh

# not supported on MAC #######################################
# --with-file-aio                   enable file aio support
# --with-cpp_test_module            enable ngx_cpp_test_module
##############################################################


###########################################################
# Mac Open SSL adjust
# in: ./auto/lib/openssl/make
# replace:  && ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
# with:     && ./Configure darwin64-x86_64-cc --prefix=$ngx_prefix
no-shared $OPENSSL_OPT \\
###########################################################

./configure --prefix=/opt/local/src/nginx/nginx-0.8.50/dist \
--with-rtsig_module \
--with-select_module \
--with-poll_module \
--with-ipv6 \
--with-http_ssl_module \
--with-http_realip_module \
--with-http_addition_module \
--with-http_xslt_module \
--with-http_image_filter_module \
--with-http_geoip_module \
--with-http_sub_module \
--with-http_dav_module \
--with-http_flv_module \
--with-http_gzip_static_module \
--with-http_random_index_module \
--with-http_secure_link_module \
--with-http_degradation_module \
--with-http_stub_status_module \
--with-http_perl_module \
--with-mail \
--with-mail_ssl_module \
--with-google_perftools_module \
--with-pcre=/opt/local/src/pcre/pcre-8.10 \
--with-md5-asm \
--with-sha1=/opt/local \
--with-sha1-asm \
--with-zlib-asm=pentiumpro \
--with-libatomic=/opt/local/src/libatomic_ops/libatomic_ops-7.2alpha4 \
--with-openssl=/opt/local/src/openssl/openssl-1.0.0a-nginx

make
make install

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,129789,129789#msg-129789




More information about the nginx mailing list