麒麟Linux上编译subversion

时间:2023-03-09 18:53:50
麒麟Linux上编译subversion

麒麟Linux上编译subversion

svn-1.7不支持svn info --show-item=revision[1]获取revision.

svn-1.12开始不能保存密码*.

源码编译svn-1.10: https://subversion.apache.org/download.cgi

yum remove subversion
yum install apr-devel apr-util-devel lz4-devel utf8proc-devel libserf-devel
./configure --with-serf

根据configure提示操作

get the sqlite 3.8.11.1 amalgamation from:

https://www.sqlite.org/2015/sqlite-amalgamation-3081101.zip

unpack the archive using unzip and rename the resulting

directory to:

/root/subversion-1.10.7/sqlite-amalgamation

make
make install

[1] 可以通过svn info | grep Revision: | awk '{print $2}'