Build lighttpd2 from source
masterTo build lighttpd2 from source, you must first ensure all build dependencies are installed. The build process uses the Meson build system.
Build Dependencies
Required:
- c compiler
- meson
- pkg-config
- libev
- libidn
- ragel
- glib2.0 (>= 2.16)
Optional:
- lua >= 5.1 (highly recommended)
- zlib (for
mod_deflatedeflate/gzip compression) - bzip2 (for
mod_deflatebzip2 compression) - gnutls (for
mod_gnutls) - openssl (for
mod_openssl)
# Setup a build directory
meson setup build --prefix /usr/local
# Compile
meson compile -C build
# Run tests
meson test -C build
# Install
meson install -C build