2 bingfengyiqie bingfengyiqie 于 2014.08.04 19:46 提问

搭建apache+svn 环境,当安装serf-1.3.3.tar.bz2 时遇到下面的问题?跪求高手指教!

[root@server0 serf-1.3.3]# scons APR=/usr/local/apr/bin/apr-1-config APU=/usr/local/apr/bin/apu-1-config OPENSSL=/usr/loccal/ssl
buckets/deflate_buckets.c
buckets/deflate_buckets.c:18:18: error: zlib.h: No such file or directory
buckets/deflate_buckets.c:54: error: expected specifier-qualifier-list before 'z_stream'
buckets/deflate_buckets.c: In function 'serf_bucket_deflate_create':
buckets/deflate_buckets.c:90: error: 'deflate_context_t' has no member named 'stream_status'
buckets/deflate_buckets.c:93: error: 'deflate_context_t' has no member named 'crc'
buckets/deflate_buckets.c:95: error: 'deflate_context_t' has no member named 'zstream'
buckets/deflate_buckets.c:95: error: 'deflate_context_t' has no member named 'zstream'
buckets/deflate_buckets.c:111: error: 'deflate_context_t' has no member named 'stream_left'
buckets/deflate_buckets.c:111: error: 'deflate_context_t' has no member named 'stream_size'
buckets/deflate_buckets.c:113: error: 'deflate_context_t' has no member named 'windowSize'
buckets/deflate_buckets.c:114: error: 'deflate_context_t' has no member named 'memLevel'
buckets/deflate_buckets.c:115: error: 'deflate_context_t' has no member named 'bufferSize'
buckets/deflate_buckets.c: In function 'serf_deflate_destroy_and_data':
buckets/deflate_buckets.c:126: warning: implicit declaration of function 'inflateEnd'
buckets/deflate_buckets.c:126: error: 'deflate_context_t' has no member named 'zstream'
buckets/deflate_buckets.c: In function 'serf_deflate_read':
buckets/deflate_buckets.c:154: error: 'deflate_context_t' has no member named 'stream_left'
buckets/deflate_buckets.c:161: error: 'deflate_context_t' has no member named 'hdr_buffer'
buckets/deflate_buckets.c:161: error: 'deflate_context_t' has no member named 'stream_size'
buckets/deflate_buckets.c:161: error: 'deflate_context_t' has no member named 'stream_left'
buckets/deflate_buckets.c:164: error: 'deflate_context_t' has no member named 'stream_left'
buckets/deflate_buckets.c:166: error: 'deflate_context_t' has no member named 'stream_left'
buckets/deflate_buckets.c:179: error: 'deflate_context_t' has no member named 'hdr_buffer'
buckets/deflate_buckets.c:180: error: 'deflate_context_t' has no member named 'hdr_buffer'

1个回答

zyjc168
zyjc168   2015.02.25 12:36

error: zlib.h: No such file or directory
没有zlib-devel库文件
yum install zilb-devel试试

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
php环境搭建 apache+php+mysql独立环境搭建经历
下载:apache2.4.17+php7.0.0+mysql5.7.10-64位安装包,解压 在C盘主目录下创建文件夹:kitWeb 将”http...“解压出来并命名为apache24,并放在kitWeb下; 将”mysql...“解压出来并命名为mysql57,并放在kitWeb下; 将”php...“解压出来放在文件夹php7下,然后php7放在kitWeb下。
CentOS6.5搭建apache+SVN环境
1、安装软件包       在Centos 6.5执行下面命令: # yum install httpd # yum install mod_dav_svn # yum install gcc 验证安装 # httpd -version 输入上一行指令可显示版本号 2: 下载sqlite    http://www.sqlite.org/dow
SUSE12 + Apache + svn服务器 安装过程
一直用ubuntu挺好的。结果客户买了台戴尔服务器,这服务器没法安装ubuntu。 没办法,想到suse还不错,就开始了这趟痛苦之旅。 我的路程,很多弯路,仅供参考。后面再写直路。 1,下载suse。见我前一篇帖子。下载国外网站,好痛苦好痛苦。安装suse操作系统。iso文件别删了,后面有用。 2,没有注意,直接安装了svn服务器。 3,装好之后,通过svn://XXXXXX ,
Linux下搭建SVN+Apache环境
一 准备需要的安装包。 (1)下载 apache 。通过官网下载,我使用了版本 : httpd-2.2.23.tar.gz   (2) 下载Subverson  。下载地址 http://subversion.tigris.org/downloads/subversion-1.6.12.tar.gz http://subversion.tigris.org/download
安装CentOS 7遇到的2个问题
FAQ1:安装CentOS 7到最后,显示license information(license not accepted)的信息,怎样解决? 1 首先进入下面界面。   2 输入1进入许可证信息,再输入2接受许可协议,界面如下。   3 输入c继续。   4 此时会出现license information(license accepted),然后输入c继续,就可以进入系统了
ubuntu16.04搭建LAMP环境以及遇到的问题
搭建顺序为Apache,Mysql,PHP以及phpmyadmin 1.安装Apache 在命令行输入 sudo apt-get install apache2 输入管理员密码 并选择Y 安装完毕后,在浏览器中输入:127.0.0.1 显示如下图,说明安装正确。 产生的启动和停止文件是:/etc/init.d/apache2   启动:sudo apache2ctl -k
在windows下搭建基于apache的SVN环境
在windows下搭建基于apache的SVN环境
CentOS7 安装 Redmine+SVN+Apache+Mysql 环境
第一步 安装Apache1.安装apacheyum -y install httpd 2.编辑apache的配置文件 vim /etc/httpd/conf/httpd.conf 将下面三行 Options Indexes FollowSymLinks AllowOverride None #AddHandler cgi-script .cgi 修改为 Opt
svn与apache服务器结合的配置过程
svn与apache服务器结合的配置过程   一.准备安装软件 先下载Http服务器,官方网站为http://httpd.apache.org/,目前最新版本为Apache 2.2.6,我下载的是apache-2.2.15-win32.msi 再下载SVN服务器,官方网站为http://subversion.tigris.org/ ,最新版本为Subversion 1.4.6,下载时要注
SVN服务器搭建01---Apache2搭建(Ubuntu14.04)
Ubuntu下SVN的搭建 1.