8 :Revision: $Revision: $
15 http://www.lighttpd.net/download/
19 $ gzip -cd lighttpd-1.x.x.tar.gz | tar xf -
21 compile and install it with ::
30 take look at the configfile in ./doc/lighttpd.conf,
31 make your own copy of that file and modify it for your needs.
34 static build using SCons
35 ------------------------
37 $ scons -j 4 build_static=1 build_dynamic=0 prefix=/custom/inst/path install
39 build_dynamic is enabled by default in SConstruct and needs to be disabled for
40 the static build. See also the BoolVariable() settings in SConstruct for other
41 configurable variables that might be set in a customized build. build_static=1
42 can be replaced with build_fullstatic=1 to perform lighttpd static build with
43 modules *and* to link statically against external dependencies.
46 static build using make
47 -----------------------
49 * edit src/Makefile.am and, in the section under 'if LIGHTTPD_STATIC',
50 update lighttpd_SOURCES with each module to be included in the static build
51 * create src/plugin-static.h with list of modules as PLUGIN_INIT(mod_foo)
52 for each module 'mod_foo' to be included in the static build
54 $ LIGHTTPD_STATIC=yes ./configure -C --enable-static=yes