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