- Lighttpd
- Andre Bogus
- 238字
- 2021-08-25 18:06:19
Building Lighttpd using Autotools
Lighttpd was built using Autotools until version 1.5.0, in which the authors experimented with CMake (and other build systems). The Autotools build system has been around for some time. So, almost every system that has a sufficient toolchain can build Lighttpd.
Note that the building can and should be done as a normal user, while the installation must usually be done as a superuser, unless the target directory is owned by the normal user. The easiest way (provided we have sudo) is:
configure && make && sudo make install
Before we enter this command line, we can set a few environment variables that will affect the build process. We can do this in a bash compatible shell using:
export SOME_VAR=X
This will set the variable SOME_VAR
to X
and export it to the shell. Alternatively, we can just omit the export if we write the variable declarations at the beginning of our command, as in:
SOME_VAR=X; OTHER_VAR=Y; configure
Here are the most important variables:

configure
takes some options to select features. These options are usually expressed as:
configure --with-lua=/usr/src/lua-5.1 --with-pcre
Note that for every "with-something" option, there also is a "without-something" option that does the exact opposite. Here are the most important options:

The make utility will use the Makefile that configure has generated to build and install Lighttpd. Configure Lighttpd to your needs, but the defaults will take care of most of them.
- 玩轉微信
- 從零開始:Photoshop CC中文版基礎培訓教程
- Photoshop+CorelDRAW平面設計實例教程(第4版)
- 綁定的藝術:Maya高級角色骨骼綁定技法(第2版)
- Photoshop CS6從入門到精通
- 修片有道:PHOTOSHOP攝影后期專業技法
- Maya 2015從入門到精通
- SAI+Photoshop漫畫繪制技法從入門到精通(第2版)
- Photoshop CS6 中文版從入門到精通
- AutoCAD 2016中文版自學視頻教程(標準版)
- UG NX 9.0模具設計工廠實訓
- 讓掌聲響起來 PPT制作達人速成
- 邊做邊學:After Effects CS6影視后期合成案例教程(微課版)
- After Effects視頻特效實用教程
- Excel數據分析自學經典