为RHEL 6安装/构建git-svn [英] Installing/building git-svn for RHEL 6
问题描述
我无法访问RHEL6回购,那么在RedHat Enterprise Linux 6上构建和/或安装git-svn工具的最佳方法是什么?
< hr>
管理安装git& git-svn 1.7.9通过卸载现有的(yum erase git)并从源代码安装最新的。使用64位也是如此。
可能的解决方案是在本地进行重建(即在主目录内的目录中)所有内容:
-
git
及其依赖关系 -
svn
及其依赖关系 -
perl
和ruby
(由git-svn
脚本使用)
你可以尝试我的 GitHub项目编译所有:
(它会下载并为你编译所有必要的源代码:不需要配置)
$ $ $ $ $ $ $ $ $ $
ash#(你需要一个bash会话)
#设置你的http_proxy / https_proxy如果需要
wget --no-check-certificate https://github.com/VonC/compileEverything/tarball/master
tar xpvf master
cd compil *
./maken-env.sh -title = test
#等待4小时
源文件.bashrc -force#与所有正则表达式的特殊bash t本地路径
git
和 git-svn
就可以工作了。
I do not have access to the RHEL6 repo, so what wouold be the best approach to building and/or installing the git-svn tool on RedHat Enterprise Linux 6?
Managed to install git & git-svn 1.7.9 by uninstall the existing one (yum erase git) and make installing the latest one from source. Worked on 64-bit too.
A possible solution would be to rebuild locally (ie in a directory within your home directory) everything:
git
and its dependenciessvn
and its dependenciesperl
andruby
(used bygit-svn
script)
You can try my GitHub project compileEverything:
(it will download and compile for you all the necessary sources: no configuration required)
cd ~
bash # (you need a bash session)
# set your http_proxy/https_proxy if needed
wget --no-check-certificate https://github.com/VonC/compileEverything/tarball/master
tar xpvf master
cd compil*
./maken-env.sh -title=test
# wait 4 hours
source .bashrc -force # special bash with all the right local path
git
and git-svn
will then work.
这篇关于为RHEL 6安装/构建git-svn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!