Httpd Compilation on Mac: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
./configure \
./configure \
  --prefix /Users/ovidiu/runtime/httpd-2.2.26 \
  --prefix /Users/ovidiu/runtime/httpd-2.2.26 \
  --enable-so --enable-expires=shared  
  --enable-so --enable-expires=shared \
  --with-mpm=worker \
  --with-mpm=worker \
  --enable-proxy \
  --enable-proxy \

Revision as of 17:02, 5 January 2017

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