阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

Lighttpd 1.4.33 版本 编译问题

157次阅读
没有评论

共计 1500 个字符,预计需要花费 4 分钟才能阅读完成。

最近想升级一下 lighttpd 版本,并开启 lighttpd 的 fam
接下来就是配置过程
编译 lighttpd-1.4.33
1 ./configure –prefix=/var1/lighttpd –sysconfdir=/var1/lighttpd/conf –with-bzip2 –with-fam –disable-ipv6 –with-memcache –with-zlib –with-gdbm –with-lua –with-pcre –with-kerberos5 –with-ldap

然后出错了,提示:
checking for libev support… ./configure: line 13314: syntax error near unexpected token `LIBEV,’
./configure: line 13314: ` PKG_CHECK_MODULES(LIBEV, libev, ,’
然后谷歌了一下
说安装一个 pkg-config 就 OK。
然后找到 pkg-config 编译安装的(下载地址自己谷歌一下就出来了)
安装提示需要 glib(下载地址自己谷歌)

接着安装 lighttpd
检查环境没有问题了,开始编译
make
提示:
make[3]: *** [mod_extforward.lo] 错误 1
make[3]: Leaving directory `/root/lighttpd/mp4/lighttpd-1.4.33/src’
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/root/lighttpd/mp4/lighttpd-1.4.33/src’
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/lighttpd/mp4/lighttpd-1.4.33′
make: *** [all] 错误 2

谷歌后无果~~~

自己找到了解决方法,但是原因还不知道。
就是把检查环境时,去掉:–disable-ipv6 在 make 就 OK。

对了 要开启 memcache 模块的话 还要下载他的 SO 文件 不然这个模块也不会生效的,
http://people.freebsd.org/~seanc/libmemcache/

去这个里面下载编译安装就 OK 了。

Lighttpd 的详细介绍 :请点这里
Lighttpd 的下载地址:请点这里

相关阅读

CentOS 5.6 下搭建 Lighttpd http://www.linuxidc.com/Linux/2012-08/68557.htm

Cacti 监控 Lighttpd http://www.linuxidc.com/Linux/2012-01/51863.htm

Ubuntu 手动编译安装 Lighttpd 配置运行 PHP http://www.linuxidc.com/Linux/2011-12/48808.htm

移植 Lighttpd Web 服务器到 ARM Linux 系统 http://www.linuxidc.com/Linux/2011-09/43619.htm

Ubuntu 下搭建 Lighttpd+PHP+MySQL 环境 http://www.linuxidc.com/Linux/2011-07/38675.htm

在 CentOS 5.6 上安装 Lighttpd + PHP5 + MySQL http://www.linuxidc.com/Linux/2011-07/38341.htm

Lighttpd 对视频文件压缩文件做防盗链 http://www.linuxidc.com/Linux/2013-10/92039.htm

正文完
星哥说事-微信公众号
post-qrcode
 
星锅
版权声明:本站原创文章,由 星锅 2022-01-20发表,共计1500字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中