README.platforms revision 40e8f581ca6f52dba940601f0e7c93a7c132bc30
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi Apache HTTP Server
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi Platform specific notes:
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi ------------------------
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi================
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi Darwin (OS X):
1b58508a918279d773ef32518f5d5d933023c252Stephan Bosch Apache 2.0 relies heavily on the use of autoconf and libtool to
80a225c0b1f4bf322a562cc7c21d5891fb6895eeStephan Bosch provide a build environment. Darwin provides these tools as part
80a225c0b1f4bf322a562cc7c21d5891fb6895eeStephan Bosch of the Developers Tools package. Under Darwin, however, GNUlibtool
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi is installed as 'glibtool' to avoid conflicting with the Darwin
5e327e031d1591f8bff17b67eba7139afbd36cddTimo Sirainen 'libtool' program. Apache 2.0 know about this so that's not
5e327e031d1591f8bff17b67eba7139afbd36cddTimo Sirainen a problem.
5e327e031d1591f8bff17b67eba7139afbd36cddTimo Sirainen
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi As of OS X 10.2 (Jaguar), the bundled versions work perfectly. Partly
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi this is due to the fact that /bin/sh is now 'bash' and not 'zsh' as
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi well as the fact that the bundled versions are up-to-date:
80a225c0b1f4bf322a562cc7c21d5891fb6895eeStephan Bosch autoconf 2.5.2 and (g)libtool 1.4.2.
80a225c0b1f4bf322a562cc7c21d5891fb6895eeStephan Bosch
80a225c0b1f4bf322a562cc7c21d5891fb6895eeStephan Bosch Earlier versions of OS X are not so fortunate, and the bundled tools
1e11a94ec50fc9b57eb2c859771c6a326ccaf86fAki Tuomi are not only older versions, but also, for the most part, do not work
well. If you are interested in developing under Darwin, we
recommend that you obtain and install replacement versions of what
are normally installed on Darwin (and OS X, as of v10.1.5). If
you build your own versions of autoconf 2.52 and libtool 1.4.2, be
aware that there are some Darwin specific patches to the official
code that still must be applied for them to fully work. A useful
page to check out is:
http://fink.sourceforge.net/doc/porting/libtool.php
Pier Fumagalli also provides pre-built Darwin packages of the
patched autoconf and libtool suites, available at:
http://www.apache.org/~pier/macosx/
You will note that GNU libtool should actually be installed as
glibtool, to avoid conflict with a Darwin program of the same
name. Pier's packages have this change already. All files are
installed under /usr/local/ so to use these versions, and be sure
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.