Httpd Compilation on Mac

From NovaOrdis Knowledge Base
Revision as of 17:02, 5 January 2017 by Ovidiu (talk | contribs) (→‎Example)
Jump to navigation Jump to search

Internal

Notes

  • configure tends to use cc by default and it has to be configured to use gcc. The Mac environment comes with gcc and the gcc pre-processor already installed, so before running configure, do this:
export CC=/usr/bin/gcc
export CPP=/usr/bin/cpp


Example

./configure \
 --prefix /Users/ovidiu/runtime/httpd-2.2.26 \
 --enable-so --enable-expires=shared \
 --with-mpm=worker \
 --enable-proxy \
 --enable-proxy-http \
 --enable-proxy-ajp \
 --enable-proxy-balancer \
 --disable-cgi