在Debian4自带安装的是lighttpd-1.4.13, 但在lighttpd网页看见了lighttpd-1.4.19稳定版当然用新的,于是自己下载下来自己编译,但都几多编译错误,先把这些编译过程出现的错误和处理方法记录下来,留待以后再遇到时作资料查询。
出现configure: error: C compiler cannot create executables … 安装apt-get install libc6-dev.
出现configure: error: configure: error: pcre-config not found … 安装apt-get install libpcre3-dev
出现configure: error: zlib-headers and/or libs where not found … 安装apt-get install zlib1g-dev
出现configure: error: bzip2-headers and/or libs where not found … 安装apt-get install libbz2-dev
还有新装的 Debian 时是没有安装 make 的, 所以都要 => apt-get install make