README.platforms revision 4e329cef87cc240c00b3008f1fac2b157b2f7881
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland Apache HTTP Server
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland Platform specific notes:
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland ------------------------
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland================
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland Darwin (OS X):
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland Apache 2.0 relies heavily on the use of autoconf and libtool to
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland provide a build environment. Darwin provides these tools, but
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland they are an earlier release, and for the most part, do not work
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland well. If you are interested in developing under Darwin, we
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland recommend that you obtain and install replacement versions of what
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland are normally installed on Darwin (and OS X, as of v10.1.4). If
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland you build your own versions of autoconf 2.52 and libtool 1.4.2, be
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland aware that there are some Darwin specific patches to the official
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland code that still must be applied for them to fully work. A useful
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland page to check out is:
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland http://fink.sourceforge.net/doc/porting/libtool.php
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland Pier Fumagalli also provides pre-built Darwin packages of the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland patched autoconf and libtool suites, available at:
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland You will note that GNU libtool should actually be installed as
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland glibtool, to avoid conflict with a Darwin program of the same
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland name. Pier's packages have this change already. All files are
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland installed under /usr/local/ so to use these versions, and be sure
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland that /usr/local/bin is earlier in your PATH.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland There have been some reports that autoconf 2.52 prevents Apache's
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland build system from correctly handling passing multi-value envvars
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland to the build system (eg: CFLAGS="-g -O3" ./configure), causing
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland errors. Use of bash does not seem to help in this situation. If
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland this affects you, downgrading to autoconf 2.13 (which is installed
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland on Darwin) will help.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland autoconf 2.52 creates scripts that are incompatible with the Posix
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland shell implementation (/bin/sh) on FreeBSD. Be sure to use v2.13