51Testing软件测试论坛

标题: linux下安装subversion出现的错误,请教高手 [打印本页]

作者: 小巩    时间: 2010-11-2 22:00
标题: linux下安装subversion出现的错误,请教高手
[root@localhost subversion-1.6.13]# make install
------ making install in serf
make[1]: Entering directory `/usr/subversion/subversion-1.6.13/serf'
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/openssl/include -I.  -I/usr/local/apr/include/apr-1   -I/usr/local/apr-util/include/apr-1   -c -o buckets/deflate_buckets.lo buckets/deflate_buckets.c && touch buckets/deflate_buckets.lo
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_read’:
buckets/deflate_buckets.c:150: error: ‘deflate_context_t’ has no member named ‘stream_left’
buckets/deflate_buckets.c:157: error: ‘deflate_context_t’ has no member named ‘hdr_buffer’
buckets/deflate_buckets.c:157: error: ‘deflate_context_t’ has no member named ‘stream_size’
buckets/deflate_buckets.c:157: error: ‘deflate_context_t’ has no member named ‘stream_left’
buckets/deflate_buckets.c:160: error: ‘deflate_context_t’ has no member named ‘stream_left’
buckets/deflate_buckets.c:162: error: ‘deflate_context_t’ has no member named ‘stream_left’
buckets/deflate_buckets.c:175: error: ‘deflate_context_t’ has no member named ‘hdr_buffer’
buckets/deflate_buckets.c:176: error: ‘deflate_context_t’ has no member named ‘hdr_buffer’
buckets/deflate_buckets.c:179: error: ‘deflate_context_t’ has no member named ‘hdr_buffer’
buckets/deflate_buckets.c:186: error: ‘deflate_context_t’ has no member named ‘hdr_buffer’
buckets/deflate_buckets.c:187: error: ‘deflate_context_t’ has no member named ‘crc’
buckets/deflate_buckets.c:190: error: ‘deflate_context_t’ has no member named ‘hdr_buffer’
buckets/deflate_buckets.c:191: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:197: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:197: error: ‘deflate_context_t’ has no member named ‘windowSize’
buckets/deflate_buckets.c:198: error: ‘Z_OK’ undeclared (first use in this function)
buckets/deflate_buckets.c:198: error: (Each undeclared identifier is reported only once
buckets/deflate_buckets.c:198: error: for each function it appears in.)
buckets/deflate_buckets.c:201: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:201: error: ‘deflate_context_t’ has no member named ‘buffer’
buckets/deflate_buckets.c:202: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:202: error: ‘deflate_context_t’ has no member named ‘bufferSize’
buckets/deflate_buckets.c:206: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:220: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:240: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:244: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:244: error: ‘deflate_context_t’ has no member named ‘bufferSize’
buckets/deflate_buckets.c:249: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:249: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:249: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:250: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:253: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:255: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:256: error: ‘deflate_context_t’ has no member named ‘stream_status’
buckets/deflate_buckets.c:260: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:261: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:264: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:266: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:268: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:268: error: ‘deflate_context_t’ has no member named ‘buffer’
buckets/deflate_buckets.c:269: error: ‘deflate_context_t’ has no member named ‘bufferSize’
buckets/deflate_buckets.c:269: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:271: error: ‘deflate_context_t’ has no member named ‘crc’
buckets/deflate_buckets.c:271: error: ‘deflate_context_t’ has no member named ‘crc’
buckets/deflate_buckets.c:271: error: expected ‘)’ before ‘Bytef’
buckets/deflate_buckets.c:271: error: ‘deflate_context_t’ has no member named ‘buffer’
buckets/deflate_buckets.c:275: error: ‘deflate_context_t’ has no member named ‘buffer’
buckets/deflate_buckets.c:279: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:279: error: ‘deflate_context_t’ has no member named ‘bufferSize’
buckets/deflate_buckets.c:282: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:282: error: ‘Z_NO_FLUSH’ undeclared (first use in this function)
buckets/deflate_buckets.c:284: error: ‘Z_STREAM_END’ undeclared (first use in this function)
buckets/deflate_buckets.c:287: error: ‘deflate_context_t’ has no member named ‘bufferSize’
buckets/deflate_buckets.c:287: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:288: error: ‘deflate_context_t’ has no member named ‘crc’
buckets/deflate_buckets.c:288: error: ‘deflate_context_t’ has no member named ‘crc’
buckets/deflate_buckets.c:288: error: expected ‘)’ before ‘Bytef’
buckets/deflate_buckets.c:288: error: ‘deflate_context_t’ has no member named ‘buffer’
buckets/deflate_buckets.c:291: error: ‘deflate_context_t’ has no member named ‘buffer’
buckets/deflate_buckets.c:296: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:296: error: ‘deflate_context_t’ has no member named ‘bufferSize’
buckets/deflate_buckets.c:306: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:306: error: ‘deflate_context_t’ has no member named ‘zstream’
buckets/deflate_buckets.c:314: error: ‘deflate_context_t’ has no member named ‘stream_left’
buckets/deflate_buckets.c:314: error: ‘deflate_context_t’ has no member named ‘stream_size’
buckets/deflate_buckets.c:338: error: ‘deflate_context_t’ has no member named ‘stream_status’
make[1]: *** [buckets/deflate_buckets.lo] Error 1
make[1]: Leaving directory `/usr/subversion/subversion-1.6.13/serf'
make: *** [external-install] Error 1
最后出现了两个错误,不认识!
装了很多的包,apr,apr-util,zlib,openssl,expat……。
作者: msnshow    时间: 2010-11-2 22:23
不清楚了,不过SVN的安装我到是有自动化的脚本
作者: 小巩    时间: 2010-11-3 08:52
回复 2# msnshow


    给我传一个把  QQ:332454792  谢谢
作者: msnshow    时间: 2010-11-3 21:34
明天给你




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2