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!

  • 相关阅读:
    vue 表单 enter 键触发默认事件
    img找不到图片时,去除默认边框
    Javascript 计算
    Azure 上SQL Database(PaaS)Time Zone时区问题处理
    c#: 颜色选择控件之实现
    hive建库,建表,删表,删库,添加静或动态分区
    仿写一个 nodejs 中 queryString 的 parse 方法
    数独小游戏
    tnpm
    《翻页时钟特效》或者《日历翻页效果》的 css 部分原理实现
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/3635532.html
Copyright © 2011-2022 走看看