README.platforms revision 4e329cef87cc240c00b3008f1fac2b157b2f7881
6988b3c9a24f46e053cd8de93b010199fa470254jim Apache HTTP Server
6988b3c9a24f46e053cd8de93b010199fa470254jim Platform specific notes:
6988b3c9a24f46e053cd8de93b010199fa470254jim ------------------------
349af90d35df141de9f6eef9ca4feed545c93431jim================
6988b3c9a24f46e053cd8de93b010199fa470254jim Darwin (OS X):
4e329cef87cc240c00b3008f1fac2b157b2f7881jerenkrantz Apache 2.0 relies heavily on the use of autoconf and libtool to
4e329cef87cc240c00b3008f1fac2b157b2f7881jerenkrantz provide a build environment. Darwin provides these tools, but
4e329cef87cc240c00b3008f1fac2b157b2f7881jerenkrantz they are an earlier release, and 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
4e329cef87cc240c00b3008f1fac2b157b2f7881jerenkrantz are normally installed on Darwin (and OS X, as of v10.1.4). 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.