svn的安装

编程入门 行业动态 更新时间:2024-10-26 22:30:50

<a href=https://www.elefans.com/category/jswz/34/1764622.html style=svn的安装"/>

svn的安装

windows安装较简单,不做特别说明,安装包下载地址:

  • TSVN(TSVN的最新版本为1.6.12,对应SVN1.6.15版本): 
  • SVN客户端:*=8100

以下介绍linux升级过程

Step 1: 下载安装包(两个)

wget .6.12.tar.gz
wget .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
sudo apt-get install autoconf
sudo apt-get install libtool
sudo apt-get install openssl
sudo apt-get install libssl-dev
./autogen.sh

$ 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

详细介绍见
=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 / 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) 

  
  1. Feb 02, 2009

    薛海丹 says:
      如在make时,报错 /usr/lib/libexpat.so: could not read symbols: File in wrong format 请...

    如在make时,报错

    /usr/lib/libexpat.so: could not read symbols: File in wrong format

    请在configure时,带上参数--with-expat=builtin

    • Permalink
  2. Jan 04, 2010

    薛海丹 says:
      checking zlib.h usability ... no checking zlib.h presence ... no checking zlib.h...
    checking zlib.h usability ... no checking zlib.h presence ... no checking zlib.h... no configure: error: subversion requires zlib

    解决

    [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的问题

    • --with-openssl=/usr/local/ssl可能在这个目录下
    • Permalink
  3. Jun 30, 2009

    薛海丹 says:
      make时报如下错误 /usr/bin/ld: cannot find lz 解决:先安装 zlib, $wget

    make时报如下错误

    /usr/bin/ld: cannot find lz

    解决:先安装 zlib,

    $wget .2.3.tar.gz $tar xzvf zlib-1.2.3.tar.gz                 $cd zlib-1.2.3                              $./configure       $make                                       $make install
    • Permalink
  4. Jun 10, 2009

    薛海丹 says:
      svn: Unrecognized URL scheme for '
    svn: Unrecognized URL scheme for ''

    这是svn以webdav协议访问的时候需要 neon库,我们需要安装这个,可以在subversion的源代码目录中,将下载的neon展开,并且目录名称命名为neon。

    1、wget .25.5.tar.gz

    2、tar -xvzf neon-0.25.5.tar.gz

    3、mv neon-0.25.5 neon

    然后 编译subversion 就可以了。

    • Permalink
  5. Jul 01, 2009

    罗怡平 says:
      make时报错: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory ...

    make时报错:

    /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

    解决方法:
    执行

    export LOCALDEFS="-DOPENSSL_NO_KRB5" export C_INCLUDE_PATH="/usr/kerberos/include"
    • Permalink
  6. Jul 02, 2009

    罗怡平 says:
      configure时报错: checking whether Apache version is compatible with APR version......

    configure时报错:

    checking whether Apache version is compatible with APR version... no configure: error: Apache version incompatible with APR version

    解决方法:

    mv /usr/local/apache2 /usr/local/aapache2

转载于:.html

更多推荐

svn的安装

本文发布于:2024-03-13 15:48:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1734320.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:svn

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!