我无权访问 RHEL6 存储库,那么在 RedHat Enterprise Linux 6 上构建和/或安装 git-svn 工具的最佳方法是什么?
通过卸载现有的 (yum erase git) 并从源代码安装最新版本来设法安装 git 和 git-svn 1.7.9。也在 64 位上工作。
最佳答案
一个可能的解决方案是在本地(即在您的主目录中的一个目录中)重建所有内容:
git
及其依赖svn
及其依赖perl
和ruby
(由git-svn
脚本使用)
你可以试试我的GitHub project 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
将工作。
关于git - 为 RHEL 6 安装/构建 git-svn,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8653531/