1
2FreeBSD dependencies:
3
4- compiler:
5  pkg install gcc5
6- autotools + pkgconf (for builds from svn/git)
7  pkg install autotools pkgconf
8- pkgconf might be needed to find libs in build from tarball too:
9  pkg install pkgconf
10- building with cmake + ninja instead of autotools:
11  pkg install cmake ninja
12- libev (cross-platform event loop library) if freebsd-kqueue from lighty isn't working
13  pkg install libev
14- stack traces on asserts:
15  pkg install libunwind
16- PCRE (mod_rewrite, mod_redirect, config conditionals, ...)
17  pkg install pcre
18- TLS support (and mod_auth {SHA1} support)
19  pkg install libressl
20  or (mysql-connector-c still requires openssl)
21  pkg install openssl
22- PHP for unit tests
23  pkg install php56
24- MySQL for mod_mysql_vhost
25  pkg install mysql-connector-c
26- File and directory monitoring
27  pkg install gamin
28  or
29  pkg install fam
30- Lua 5.1 (mod_magnet and mod_cml; lighty upstream doesn't support 5.2 yet)
31  pkg install lua51
32- (deprecated) memcache library (mod_cml and mod_trigger_b4_dl feature)
33  pkg install libmemcache
34- gdbm (mod_trigger_b4_dl feature)
35  pkg install gdbm
36- LDAP (mod_auth feature)
37  pkg install openldap-client
38- SQLite3 (required for most mod_webdav features)
39  pkg install sqlite3
40- XML (mod_webdav properties and locking)
41  pkg install libxml2
42- UUID library (mod_webdav locking)
43  pkg install e2fsprogs-libuuid
44
45Configure:
46
47To help autotools find libraries and headers:
48CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure ...
49
50With ssl the compiler might warn about OPENSSL_NO_KRB5 redefinitions, just
51configure "--with-kerberos5" for now.
52