README.platforms revision 4e191199a0aeab09d78df8f5579e745572e8b7bc
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync Apache HTTP Server
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync Platform specific notes:
af062818b47340eef15700d2f0211576ba3506eevboxsync ------------------------
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync================
af062818b47340eef15700d2f0211576ba3506eevboxsync Darwin (OS X):
af062818b47340eef15700d2f0211576ba3506eevboxsync Apache 2 relies heavily on the use of autoconf and libtool to
af062818b47340eef15700d2f0211576ba3506eevboxsync provide a build environment. Darwin provides these tools as part
af062818b47340eef15700d2f0211576ba3506eevboxsync of the Developers Tools package. Under Darwin, however, GNUlibtool
af062818b47340eef15700d2f0211576ba3506eevboxsync is installed as 'glibtool' to avoid conflicting with the Darwin
af062818b47340eef15700d2f0211576ba3506eevboxsync 'libtool' program. Apache 2 knows about this so that's not a
af062818b47340eef15700d2f0211576ba3506eevboxsync problem.
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync As of OS X 10.2 (Jaguar), the bundled versions work perfectly. Partly
af062818b47340eef15700d2f0211576ba3506eevboxsync this is due to the fact that /bin/sh is now 'bash' and not 'zsh' as
af062818b47340eef15700d2f0211576ba3506eevboxsync well as the fact that the bundled versions are up-to-date:
af062818b47340eef15700d2f0211576ba3506eevboxsync autoconf 2.52 and (g)libtool 1.4.2.
af062818b47340eef15700d2f0211576ba3506eevboxsync
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync Earlier versions of OS X are not so fortunate, and the bundled tools
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync are not only older versions, but also, for the most part, do not work
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync well. If you are interested in developing under Darwin, we
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync recommend that you obtain and install replacement versions of what
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync are normally installed on Darwin (and OS X, as of v10.1.5). If
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync you build your own versions of autoconf 2.52 and libtool 1.4.2, be
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync aware that there are some Darwin specific patches to the official
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync code that still must be applied for them to fully work. A useful
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync page to check out is:
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync http://fink.sourceforge.net/doc/porting/libtool.php
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync Pier Fumagalli also provides pre-built Darwin packages of the
af062818b47340eef15700d2f0211576ba3506eevboxsync patched autoconf and libtool suites, available at:
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync http://www.apache.org/~pier/macosx/
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync You will note that GNU libtool should actually be installed as
af062818b47340eef15700d2f0211576ba3506eevboxsync glibtool, to avoid conflict with a Darwin program of the same
af062818b47340eef15700d2f0211576ba3506eevboxsync name. Pier's packages have this change already. All files are
af062818b47340eef15700d2f0211576ba3506eevboxsync installed under /usr/local/ so to use these versions, and be sure
af062818b47340eef15700d2f0211576ba3506eevboxsync that /usr/local/bin is earlier in your PATH.
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync There have been some reports that autoconf 2.52 prevents Apache's
af062818b47340eef15700d2f0211576ba3506eevboxsync build system from correctly handling passing multi-value envvars
af062818b47340eef15700d2f0211576ba3506eevboxsync to the build system (eg: CFLAGS="-g -O3" ./configure), causing
af062818b47340eef15700d2f0211576ba3506eevboxsync errors. Use of bash does not seem to help in this situation. If
af062818b47340eef15700d2f0211576ba3506eevboxsync this affects you, downgrading to autoconf 2.13 (which is installed
af062818b47340eef15700d2f0211576ba3506eevboxsync on Darwin) will help.
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync==========
af062818b47340eef15700d2f0211576ba3506eevboxsync FreeBSD:
af062818b47340eef15700d2f0211576ba3506eevboxsync autoconf 2.52 creates scripts that are incompatible with the Posix
af062818b47340eef15700d2f0211576ba3506eevboxsync shell implementation (/bin/sh) on FreeBSD. Be sure to use v2.13
af062818b47340eef15700d2f0211576ba3506eevboxsync of autoconf.
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync