summaryrefslogtreecommitdiff
path: root/README.FreeBSD
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-08-23 07:41:11 +0000
committerStefan Bühler <stbuehler@web.de>2015-08-23 07:41:11 +0000
commitd572be6a6d51e43d134b6f7821bbf8be7dcffb9c (patch)
tree27b471e46cd48b16d2064ffccf6e2e9e2067dbcc /README.FreeBSD
parent27ab3f76dbedbb48cfb84e1bfc61e403f0a2c851 (diff)
downloadlighttpd-git-d572be6a6d51e43d134b6f7821bbf8be7dcffb9c.tar.gz
small README for FreeBSD build setup
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3025 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'README.FreeBSD')
-rw-r--r--README.FreeBSD51
1 files changed, 51 insertions, 0 deletions
diff --git a/README.FreeBSD b/README.FreeBSD
new file mode 100644
index 00000000..dbb76ebd
--- /dev/null
+++ b/README.FreeBSD
@@ -0,0 +1,51 @@
+
+FreeBSD dependencies:
+
+- compiler:
+ pkg install gcc5
+- autotools + pkgconf (for builds from svn/git)
+ pkg install autotools pkgconf
+- pkgconf might be needed to find libs in build from tarball too:
+ pkg install pkgconf
+- building with cmake + ninja instead of autotools:
+ pkg install cmake ninja
+- libev (cross-platform event loop library) if freebsd-kqueue from lighty isn't working
+ pkg install libev
+- stack traces on asserts:
+ pkg install libunwind
+- PCRE (mod_rewrite, mod_redirect, config conditionals, ...)
+ pkg install pcre
+- TLS support (and mod_auth {SHA1} support)
+ pkg install libressl
+ or (mysql-connector-c still requires openssl)
+ pkg install openssl
+- PHP for unit tests
+ pkg install php56
+- MySQL for mod_mysql_vhost
+ pkg install mysql-connector-c
+- File and directory monitoring
+ pkg install gamin
+ or
+ pkg install fam
+- Lua 5.1 (mod_magnet and mod_cml; lighty upstream doesn't support 5.2 yet)
+ pkg install lua51
+- (deprecated) memcache library (mod_cml and mod_trigger_b4_dl feature)
+ pkg install libmemcache
+- gdbm (mod_trigger_b4_dl feature)
+ pkg install gdbm
+- LDAP (mod_auth feature)
+ pkg install openldap-client
+- SQLite3 (required for most mod_webdav features)
+ pkg install sqlite3
+- XML (mod_webdav properties and locking)
+ pkg install libxml2
+- UUID library (mod_webdav locking)
+ pkg install e2fsprogs-libuuid
+
+Configure:
+
+To help autotools find libraries and headers:
+CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure ...
+
+With ssl the compiler might warn about OPENSSL_NO_KRB5 redefinitions, just
+configure "--with-kerberos5" for now.