Skip to content

Commit

Permalink
[doc] refresh/update dependency lists in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gstrauss committed Nov 30, 2021
1 parent 60c9612 commit 0573ce1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
19 changes: 14 additions & 5 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,17 @@ required packages ::
automake
libtool
m4
pcre
pcre-devel
pkg-config

recommended additional packages ::

pcre2
pcre2-devel
lua
lua-devel
nettle
nettle-devel

optional packages for optional features ::

bzip2-devel # bzip2 ./configure --with-bzip2
Expand Down Expand Up @@ -98,6 +105,8 @@ optional packages for optional features ::
pam-devel
pcre # PCRE ./configure --with-pcre # (default)
pcre-devel
pcre2 # PCRE ./configure --with-pcre2
pcre2-devel
sqlite # SQLite ./configure --with-webdav-props
sqlite-devel
valgrind # valgrind ./configure --with-valgrind
Expand Down Expand Up @@ -130,7 +139,6 @@ required packages to run test harness ::
(e.g. on Fedora 22, sudo dnf install ...)
(e.g. on Arch Linux, sudo pacman ... (with lowercased package names))

perl-CGI
perl-Digest
perl-Digest-MD5
perl-Encode-Locale
Expand All @@ -142,6 +150,7 @@ required packages to run test harness ::
perl-IO-HTML
perl-LWP-MediaTypes
perl-Test-Harness
perl-Test-Simple
perl-Tie-Function
perl-TimeDate

Expand Down Expand Up @@ -183,12 +192,12 @@ build using CMake and Xcode on Mac OS X with MacPorts
$ xcodebuild --license
$ xcode-select --install
$ sudo port selfupdate
$ sudo port install autoconf automake cmake libtool m4 pcre pkgconfig zlib zstd brotli openssl libxml sqlite3 openldap libunwind libunwind-headers mysql57 libev gdbm openldap ossp-uuid
$ sudo port install autoconf automake cmake libtool m4 pcre2 pkgconfig zlib zstd brotli openssl libxml sqlite3 openldap libunwind libunwind-headers mysql57 openldap ossp-uuid
# Note: some of the above require more fiddling to configure with CMake...

# cmake and build
# (all -DWITH_... flags below are optional)
$ cmake -Wno-dev -DWITH_OPENSSL=1 -DWITH_LUA=1 -DWITH_ZLIB=1 -DWITH_ZSTD=1 -DWITH_BROTLI=1 -DWITH_WEBDAV_PROPS=1 .
$ cmake -Wno-dev -DWITH_PCRE2=1 -DWITH_OPENSSL=1 -DWITH_LUA=1 -DWITH_ZLIB=1 -DWITH_ZSTD=1 -DWITH_BROTLI=1 -DWITH_WEBDAV_PROPS=1 .
$ make -j 4
$ make test

Expand Down
26 changes: 7 additions & 19 deletions README.FreeBSD
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,25 @@
FreeBSD dependencies:

- compiler:
pkg install gcc5
pkg install gcc11
or
pkg install llvm13
- 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
pkg install pcre2
- 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, 5.2 or 5.3 (mod_magnet and mod_cml)
pkg install lua51 (or lua52 or lua53)
- memcached library (mod_cml and mod_trigger_b4_dl feature)
pkg install libmemcached
- gdbm (mod_trigger_b4_dl feature)
pkg install gdbm
pkg install openssl
- Lua 5.1, 5.2, 5.3, or 5.4 (mod_magnet)
pkg install lua51 (or lua52 or lua53 or lua54)
- LDAP (mod_auth feature)
pkg install openldap-client
- SQLite3 (required for most mod_webdav features)
Expand Down

0 comments on commit 0573ce1

Please sign in to comment.