1. 安装neon
XML2_CONFIG=”/usr/local/libxml2/bin/xml2-config” ./configure –with-libxml2
2. subversion 配置参数
./configure –enable-static –prefix=/usr/local/svn –enable-static –with-apr=/usr/local/apr –with-apr-util=/usr/local/apr –with-sqlite=/usr/local/sqlite –with-zlib=/usr/local/zlib125 –with-neon
运行时会出现 ./svn: /lib64/libz.so.1: no version information available (required by /usr/local/svn/lib/libsvn_delta-1.so.0)
这是因为 zlib125的版本跟系统自带zlib冲突,可以在运行 svn前面加上 LD_LIBRARY_PATH,如
LD_LIBRARY_PATH=/usr/local/zlib125/lib ./svn –help
极端点可以把zlib125下的.so拷贝到/lib64下面 (前提是要确保.so是64bit的,且对未来其他软件出现冲突有心理准备)