zoukankan      html  css  js  c++  java
  • [Ubuntu] Install subversion1.8 on Ubuntu13.10

    Subversion1.8 is difference far away from subversion1.7, here is the steps to install subversion1.8. 

    My os is ubuntu13.10, but whatever system is ok.

    #step one
    cd /var/share/software
    wget http://120.198.238.130:83/mirror.bit.edu.cn/apache/subversion/subversion-1.8.8.tar.gz
    tar zxvf subversion-1.8.8.tar.gz
    cd subversion-1.8.8
    cd apr
    ./configure --prefix=/var/share/software/apr
    sudo make
    sudo make install
    
    #step two
    cd ../apr-util
    ./configure --prefix=/var/share/software/apr-util --with-apr=/var/share/software/apr
    sudo make
    sudo make install
    
    #step three
    cd ../
    wget http://superb-dca2.dl.sourceforge.net/project/scons/scons/2.3.1/scons-2.3.1.tar.gz
    tar zxvf scons-2.3.1.tar.gz
    cd scons-2.3.1
    sudo python setup.py install
    
    cd ../
    wget https://serf.googlecode.com/files/serf-1.3.3.zip
    unzip serf-1.3.3.zip
    cd serf-1.3.3
    scons PREFIX=/var/share/software/serf APR=/var/share/software/apr APU=/var/share/software/apr-util OPENSSL=/usr/bin
    scons install
    
    #step four
    cd ../subversion-1.8.8
    ./configure --prefix=/var/share/software/subversion --with-apr=/var/share/software/apr --with-apr-util=/var/share/software/apr-util --with-openssl --with-serf=/var/share/software/serf
    sudo make
    sudo make install
    
    #step five
    cd ../
    sudo cp /var/share/setup/serf-1.3.3/libserf-1.so.1 /var/share/software/subversion/lib

    NOTICE: 

    If you don't follow step three, when you run

    svn checkout http://xxxx.com/xxxx

    you will get these errors:

    svn: E170000: Unrecognized URL scheme for http://xxxx.com

    If you don't follow step five, when you run

    svn up

    you will get these errors:

    svn: error while loading shared libraries: libserf-1.so.1: cannot open shared object file: No such file or directory

    Have fun with Ubuntu!

  • 相关阅读:
    IIS7配置URL Rewrite链接重写
    wordpress导航菜单的链接支持弹出新页面
    c++绝对是拯救了世界,特别是程序员
    Linux 磁盘坏道检测和修复
    centos里mysql无法用localhost连接的解决方法
    php扩展开发
    IP多播
    因特网的路由选择协议
    ICMP协议
    ARP协议
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/3635532.html
Copyright © 2011-2022 走看看