3

我无权访问 RHEL6 存储库,那么在 RedHat Enterprise Linux 6 上构建和/或安装 git-svn 工具的最佳方法是什么?


通过卸载现有的(yum erase git)并从源代码安装最新的,管理安装 git 和 git-svn 1.7.9。也适用于 64 位。

4

1 回答 1

1

一个可能的解决方案是在本地(即在您的主目录中的目录中)重建所有内容:

  • git及其依赖项
  • svn及其依赖项
  • perlruby(由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将工作。

于 2011-12-28T10:53:13.473 回答