This is more a note to myself than anyone else, but to compile Apache2 on OS X, use the following configure:
-
./configure –with-included-apr –enable-so –enable-mods-shared=most
When Apache starts whinging about “dlname not found, assuming libtool archive” and shit, and refuses to produce .so modules instead kicking out a bunch of .a and .la files in their place, it means you’ve fucked up somewhere along the line, probably because this isn’t the first time you’ve tried to run the configure script.
Delete the entire Apache source directory and start again. If you are lucky you’ll even get a nice copy of libexpat.0.dylib at the end of it all.
Popularity: 93% [?]