zoukankan      html  css  js  c++  java
  • Centos6下安装高版本Git

    yum install curl-devel
    yum
    remove git
    tar zxvf git-2.9.2.tar.gz mv git-2.9.2 /usr/src/ cd /usr/src/ cd git-2.9.2/ make configure whereis autoconf yum install autoconf make configure ./configure --prefix=/opt/git yum install gcc-c++ ./configure --prefix=/opt/git make all doc yum install zlib-devel tar zxvf asciidoc-8.6.9.tar.gz mv asciidoc-8.6.9 /usr/src/ cd asciidoc-8.6.9 ./configure make make install tar zxvf xmlto-0.0.28.tar.gz mv xmlto-0.0.28 /usr/src/ cd xmlto-0.0.28/ ./configure make make install cd ../git-2.9.2/ make all doc more /tmp/xmlto-xsl.bkD1u2 make all doc make all make install install-doc install-html make install whereis git git ln -s /opt/git/bin/git /usr/bin/git git --version

    如果出现"/bin/sh: xsltproc: command not found"错误提示信息, 执行 "yum -y install libxslt"
    如果在make的时候报错:Can't locate ExtUtils/MakeMaker.pm in @INC 执行 yum install perl-devel
    如果make的时候报错: tclsh failed; using unoptimized loading  执行yum install gettext
    如果使用git过程中出现 fatal: Unable to find remote helper for 'https' 错误, 是因为编译前未安装 curl-devel

  • 相关阅读:
    Oracle 列顺序测试
    Java基于Servlet过虑器
    Java基于Servlet 验证吗
    WCF实例上下文
    WCF的行为与异常-------配置文件说明
    WCF异步
    WCF的通信
    分布式架构剖析
    [loj2542]「PKUWC2018」随机游走——min-max容斥+树上高消
    [bzoj4589]Hard Nim——SG函数+FWT
  • 原文地址:https://www.cnblogs.com/milton/p/6005571.html
Copyright © 2011-2022 走看看