LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 701|回复: 1

lighttpd编译错误,求解!

[复制链接]
发表于 2009-3-1 15:44:01 | 显示全部楼层 |阅读模式
$ wget http://www.lighttpd.net/download/lighttpd-1.4.21.tar.gz
$ gzip -cd lighttpd-1.4.21.tar.gz | tar xf -
$ cd lighttpd-1.4.21
$ ./configure –prefix=/usr/local/lighttpd-1.4.21
到这一步时
$ ./configure –prefix=/usr/local/lighttpd-1.4.21
提示
zlib-headers and/or libs where not found,install them or build with –without-zlib
已经安装gcc-c++,请问是什么原因造成的呢?
发表于 2009-3-1 16:38:20 | 显示全部楼层
zlib 头文件和库没有安装,装好就行了。提示缺什么就装什么。

用这个看看,
  1. yum install zlib-devel
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表