zoukankan      html  css  js  c++  java
  • ubuntu 编译安装自己的git-svn

    python

    scons https://nchc.dl.sourceforge.net/project/scons/scons/2.5.1/scons-2.5.1.tar.gz

    sqlite 下载位置 http://www.sqlite.org/sqlite-amalgamation-3071501.zip

    apr:  apache portable runtime

    安装过程中需要使用上面的sqlite,遇到时将它解压到相应位置并将sqlite-amalgamation-3071501改名为sqlite-amalgamation。

    安装svn:

      先安装apr、apr-util

      安装apr

      apr下载位置: http://mirrors.cnnic.cn/apache//apr/apr-1.5.2.tar.bz2

        ./configure --prefix=$HOME/usr

        make 

        make install

      安装apr-util

      apr-util下载位置: http://mirrors.cnnic.cn/apache//apr/apr-util-1.5.4.tar.bz2

        ./configure --prefix=$HOME/usr --with-apr=$HOME/usr

        make 

        make install

      然后安装svn:

         svn下载位置: http://archive.apache.org/dist/subversion/subversion-1.9.5.tar.bz2

        ./configure --prefix=$HOME/usr --with-apr=$HOME/usr  --with-apr-util=$HOME/usr

    安装perl

      perl下载位置: http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz

      ./Configure -des -Dprefix=$HOME/usr

      make

      make install

         安装perl 模块:Module::Build

        https://metacpan.org/pod/Module::Build

        下载位置: https://github.com/Perl-Toolchain-Gang/Module-Build/archive/master.zip

          perl Build.PL
         ./Build
         ./Build test
         ./Build install

         安装perl 模块:Alien::SVN

        https://metacpan.org/release/Alien-SVN

        下载位置: https://github.com/evalEmpire/Alien-SVN/archive/master.zip

        $HOME/usr/bin/perl Build.PL

        然后会弹出选项对话框,选择默认。

        ./Build

        cd src/subversion/subversion/bindings/swig/perl/native

        $HOME/usr/bin/perl  Makefile.PL

        make

        make install

    git

      下载位置: https://www.kernel.org/pub/software/scm/git/git-2.11.1.tar.xz

      ./configure --prefix=$HOME/usr --with-perl=$HOME/usr/bin/perl  --with-python=$HOME/usr/bin/python

      make

      make install

    安装完成后执行 $HOME/usr/bin/git svn验证

    参考:

    http://stackoverflow.com/questions/2552808/how-do-i-install-perls-svnclient

    http://www.cnblogs.com/itech/archive/2009/08/10/1542832.html

    粗略记录,后续再整理

  • 相关阅读:
    springboot系列九,springboot整合邮件服务、整合定时任务调度
    springboot系列八、springboot整合kafka
    springboot系列六、springboot配置错误页面及全局异常
    springboot系列五、springboot常用注解使用说明
    springboot系列四、配置模板引擎、配置热部署
    springboot系列三、springboot 单元测试、配置访问路径、多个配置文件和多环境配置,项目打包发布
    springboot系列二、springboot项目搭建
    springboot系列一、springboot产生背景及介绍
    kafka系列十、kafka常用管理命令
    Jmeter4.X
  • 原文地址:https://www.cnblogs.com/merlindu/p/6394070.html
Copyright © 2011-2022 走看看