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