你好,游客 登录 注册 搜索
背景:
阅读新闻

Lighttpd 1.4.33 版本 编译问题

[日期:2013-10-28] 来源:Linux社区  作者:cunzhang [字体:大 中 小]

最近想升级一下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

linux
相关资讯       lighttpd 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款