windows安装较简单,不做特别说明,安装包下载地址:
- TSVN(TSVN的最新版本为1.6.12,对应SVN1.6.15版本): http://tortoisesvn.net/downloads
- SVN客户端:*http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100
以下介绍linux升级过程
Step 1: 下载安装包(两个)
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.12.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.6.12.tar.gz
Step 2: 安装,将上面的2个包拷贝到同一目录,然后解压缩
$ tar xvzf subversion-1.6.12.tar.gz;tar xvzf subversion-deps-1.6.12.tar.gz;
Step 3: 编译安装
./configure --prefix=/home/admin/usr --with-openssl=/usr/bin/openssl --without-serf && make -j 8 && make install
ubuntu下安装,须先执行以下操作 sudo apt-get update |
$ cd ~/subversion-1.6.12/ $./configure $make clean $make $make install
ubuntu下安装 最后一步是sudo make install |
Ubuntu下快速升级
Supports: Supports: 32-bit and 64-bit | svninstall_ubuntu910_wandisco.sh# chmod +x svninstall_ubuntu910_wandisco.sh # ./svninstall_ubuntu910_wandisco.sh Note: This software will install the Subversion 1.6.15 client. Optionally it can install the Apache HTTPD server (apache2) and Subversion modules. You can keep your install upto date by periodically running: # apt-get upgrade Professional Subversion Support Community Support |
详细介绍见
http://www.wandisco.com/subversion/download?type=ubuntu910
感谢喻登呼同学提供资料
Step 4: 测试,看到是1.6.15版本,恭喜svn升级成功!
$ svn --version svn, version 1.6.15 (r37639) compiled Jun 11 2009, 01:07:59 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles 'http' scheme - handles 'https' scheme
Labels
Edit Labels(None)
Comments (6)
Feb 02, 2009
薛海丹 says:
如在make时,报错 /usr/lib/libexpat.so: could not read symbols: File in wrong format 请...如在make时,报错
请在configure时,带上参数--with-expat=builtin
Jan 04, 2010
薛海丹 says:
checking zlib.h usability ... no checking zlib.h presence ... no checking zlib.h...解决
[root@136199 ~]# cd /usr/ali/subversion-1.6.2 [root@136199 subversion-1.6.2]# cd zlib/ [root@136199 zlib]# ./configure --shared [root@136199 zlib]# make [root@136199 zlib]# make install [root@136199 zlib]# cd .. [root@136199 subversion-1.6.2]# ./configure CPPFLAGS="-Izlib/ -Lzlib/" --with-openssl=/usr/bin/openssl --without-serf
openssl的参数是为了解决找不到openssl的问题
Jun 30, 2009
薛海丹 says:
make时报如下错误 /usr/bin/ld: cannot find lz 解决:先安装 zlib, $wgetmake时报如下错误
解决:先安装 zlib,
$wget http://www.zlib.net/zlib-1.2.3.tar.gz $tar xzvf zlib-1.2.3.tar.gz $cd zlib-1.2.3 $./configure $make $make install
Jun 10, 2009
薛海丹 says:
svn: Unrecognized URL scheme for '这是svn以webdav协议访问的时候需要 neon库,我们需要安装这个,可以在subversion的源代码目录中,将下载的neon展开,并且目录名称命名为neon。
1、wget http://www.webdav.org/neon/neon-0.25.5.tar.gz
2、tar -xvzf neon-0.25.5.tar.gz
3、mv neon-0.25.5 neon
然后 编译subversion 就可以了。
Jul 01, 2009
罗怡平 says:
make时报错: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory ...make时报错:
解决方法:
执行
Jul 02, 2009
罗怡平 says:
configure时报错: checking whether Apache version is compatible with APR version......configure时报错:
解决方法: