当前位置: 技术问答>linux和unix
安装subversion的时候报的错误:make: *** [subversion/libsvn_delta/text_delta.lo] Error 1
来源: 互联网 发布时间:2017-01-28
本文导语: configure是这样的: ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/apr --with-apr-util=/usr/local/apache/apr/bin/apr-1-config 没问题,没报错。 make的时候报以下错误: /bin/sh /data/soft/subversion-1...
configure是这样的:
./configure --prefix=/usr/local/svn --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/apr --with-apr-util=/usr/local/apache/apr/bin/apr-1-config
没问题,没报错。
make的时候报以下错误:
/bin/sh /data/soft/subversion-1.7.2/libtool --tag=CC --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -g -O2 -pthread -I./subversion/include -I./subversion -I/usr/local/apache/apr/include/apr-1 -I/usr/local/apache/apr/include/apr-1 -I/data/soft/subversion-1.7.2/sqlite-amalgamation -o subversion/libsvn_delta/text_delta.lo -c subversion/libsvn_delta/text_delta.c
subversion/libsvn_delta/text_delta.c:29:58: error: apr_md5.h: No such file or directory
subversion/libsvn_delta/text_delta.c:104: error: expected specifier-qualifier-list before 'apr_md5_ctx_t'
subversion/libsvn_delta/text_delta.c: In function 'apply_window':
subversion/libsvn_delta/text_delta.c:715: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:716: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:716: error: 'struct apply_baton' has no member named 'md5_context'
subversion/libsvn_delta/text_delta.c:785: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:786: error: 'struct apply_baton' has no member named 'md5_context'
subversion/libsvn_delta/text_delta.c: In function 'svn_txdelta_apply':
subversion/libsvn_delta/text_delta.c:814: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:817: error: 'struct apply_baton' has no member named 'md5_context'
subversion/libsvn_delta/text_delta.c:820: error: 'struct apply_baton' has no member named 'error_info'
subversion/libsvn_delta/text_delta.c:822: error: 'struct apply_baton' has no member named 'error_info'
subversion/libsvn_delta/text_delta.c: In function 'svn_txdelta_send_stream':
subversion/libsvn_delta/text_delta.c:884: error: 'APR_MD5_DIGESTSIZE' undeclared (first use in this function)
subversion/libsvn_delta/text_delta.c:884: error: (Each undeclared identifier is reported only once
subversion/libsvn_delta/text_delta.c:884: error: for each function it appears in.)
make: *** [subversion/libsvn_delta/text_delta.lo] Error 1
高手们帮我看下。。。
./configure --prefix=/usr/local/svn --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/apr --with-apr-util=/usr/local/apache/apr/bin/apr-1-config
没问题,没报错。
make的时候报以下错误:
/bin/sh /data/soft/subversion-1.7.2/libtool --tag=CC --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -g -O2 -pthread -I./subversion/include -I./subversion -I/usr/local/apache/apr/include/apr-1 -I/usr/local/apache/apr/include/apr-1 -I/data/soft/subversion-1.7.2/sqlite-amalgamation -o subversion/libsvn_delta/text_delta.lo -c subversion/libsvn_delta/text_delta.c
subversion/libsvn_delta/text_delta.c:29:58: error: apr_md5.h: No such file or directory
subversion/libsvn_delta/text_delta.c:104: error: expected specifier-qualifier-list before 'apr_md5_ctx_t'
subversion/libsvn_delta/text_delta.c: In function 'apply_window':
subversion/libsvn_delta/text_delta.c:715: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:716: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:716: error: 'struct apply_baton' has no member named 'md5_context'
subversion/libsvn_delta/text_delta.c:785: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:786: error: 'struct apply_baton' has no member named 'md5_context'
subversion/libsvn_delta/text_delta.c: In function 'svn_txdelta_apply':
subversion/libsvn_delta/text_delta.c:814: error: 'struct apply_baton' has no member named 'result_digest'
subversion/libsvn_delta/text_delta.c:817: error: 'struct apply_baton' has no member named 'md5_context'
subversion/libsvn_delta/text_delta.c:820: error: 'struct apply_baton' has no member named 'error_info'
subversion/libsvn_delta/text_delta.c:822: error: 'struct apply_baton' has no member named 'error_info'
subversion/libsvn_delta/text_delta.c: In function 'svn_txdelta_send_stream':
subversion/libsvn_delta/text_delta.c:884: error: 'APR_MD5_DIGESTSIZE' undeclared (first use in this function)
subversion/libsvn_delta/text_delta.c:884: error: (Each undeclared identifier is reported only once
subversion/libsvn_delta/text_delta.c:884: error: for each function it appears in.)
make: *** [subversion/libsvn_delta/text_delta.lo] Error 1
高手们帮我看下。。。
|
关键报错是这个:
subversion/libsvn_delta/text_delta.c:29:58: error: apr_md5.h: No such file or directory
重新检查apache和apr的路径是否设置正确,是否安装了正确的文件,是否把header file安装到了其他的路径?
find / -name apr_md5.h
subversion/libsvn_delta/text_delta.c:29:58: error: apr_md5.h: No such file or directory
重新检查apache和apr的路径是否设置正确,是否安装了正确的文件,是否把header file安装到了其他的路径?
find / -name apr_md5.h