下载地址:https://archive.apache.org/dist/subversion/
tar -zxvf XXXX.tar.gz
Cd XXXXX
./configure
make
make ianstall
报错信息:
问题一
Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:
svn co \
http://svn.apache.org/repos/asf/apr/apr-util/branches/1.3.x \
apr-util
configure: error: no suitable apr found
缺少:apr 和apr-util
安装apr
tar -zxvf apr.tar.gz
#./configure --prefix=/usr/local/apr
#make & make install
安装apr-util
#./configure --prefix=/usr/local/apr-util
--with-apr=/home/amqdev/svn/apr --with-expat-devel=/home/amqdev/svn/expat
#make & make install
在安装apr-util报错:
checking for APR... no
configure: error: APR could not be located. Please use the --with-apr option.
需要指定:apr地址:–with-apr=/home/amqdev/svn/apr
有可能会缺少expat
有错误需要安装 expat-2.0.1
#./configure --prefix=/expat
Make &make install
问题二
resulting directory to:
/ulic/amqdev/subversion-1.7.9/sqlite-amalgamation/sqlite3.c
configure: error: Subversion requires SQLite
缺少sqlite-amalgamation
解压:sqlite-autoconf-3310100
在subversion-1.7.9下创建sqlite-amalgamation/sqlite3.c吧解压:sqlite-autoconf-3310100中的东西全部放到sqlite-amalgamation下
问题三
checking zlib.h presence... no
checking for zlib.h... no
configure: error: subversion requires zlib
安装zlib-1.2.8.tar.gz
问题四
下载代码时报错:
svn: E170000: Unrecognized URL scheme for 'http://svnserver/svn/um/trunk'
缺少neon
安装重新./configure
–with-neon=/ulic/CS/svn/neno
找不到相应的文件LIU YAN