]> granicus.if.org Git - apache/blob - README.platforms
b704a365fc2d0b69d8521fdb4c0f8c19638396e5
[apache] / README.platforms
1
2                           Apache HTTP Server
3
4   Platform specific notes:
5   ------------------------
6
7 ================
8   Darwin (OS X):
9    Apache 2.0 relies heavily on the use of autoconf and libtool to provide
10    a build environment.  Darwin provides these tools,  but they are
11    an earlier release,  and for the most part,  do not work well.
12    If you are interested in developing under Darwin,  we recommend
13    that you obtain and install replacement versions of what are
14    normally installed on Darwin (and OS X, as of v10.1.4).  If you
15    build your own versions of autoconf 2.52 and libtool 1.4.2,  be
16    aware that there are some Darwin specific patchs to the official
17    code that still must be applied for them to fully work.  A useful
18    page to check out is:
19
20       http://fink.sourceforge.net/doc/porting/libtool.php
21
22    Pier Fumagalli also provides pre-built Darwin packages of the
23    patched autoconf and libtool suites,  available at:
24
25       http://www.apache.org/~pier/macosx/
26
27    You will note that GNU libtool should actually be installed as
28    glibtool, to avoid conflict with a Darwin program of the same
29    name.  Pier's packages have this change already.  All files are
30    installed under /usr/local/ so to use these versions,  be sure that
31    /usr/local/bin is earlier in your PATH.
32
33    There have been some reports that autoconf 2.52 prevents Apache's
34    build system from correctly handling passing multi-value envvars
35    to the build system (eg: CFLAGS="-g -O3" ./configure),  causing
36    errors.  Use of bash does not seem to help in this situation.  If
37    this affects you, downgrading to autoconf 2.13 (which is installed
38    on Darwin) will help.
39
40 ==========
41   FreeBSD:
42    autoconf 2.52 creates scripts that are incompatible with the Posix
43    shell implementation (/bin/sh) on FreeBSD.  Be sure to use v2.13
44    of autoconf.
45