我无权访问 RHEL6 存储库,那么在 RedHat Enterprise Linux 6 上构建和/或安装 git-svn 工具的最佳方法是什么?
通过卸载现有的(yum erase git)并从源代码安装最新的,管理安装 git 和 git-svn 1.7.9。也适用于 64 位。
一个可能的解决方案是在本地(即在您的主目录中的目录中)重建所有内容:
git
及其依赖项svn
及其依赖项perl
和ruby
(由git-svn
脚本使用)你可以试试我的GitHub 项目 compileEverything:(
它会为你下载并编译所有必要的源代码:不需要配置)
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
然后git-svn
将工作。