[config] update /var/run -> /run for systemd
[lighttpd.git] / README.FreeBSD
blob29da0a371e8b62ca3f104e1a2b1eced5c296682a
2 FreeBSD dependencies:
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, 5.2 or 5.3 (mod_magnet and mod_cml)
31   pkg install lua51  (or lua52 or lua53)
32 - memcached library (mod_cml and mod_trigger_b4_dl feature)
33   pkg install libmemcached
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
45 Configure:
47 To help autotools find libraries and headers:
48 CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure ...