【问题标题】:Precompiled Binaries for GITGIT 的预编译二进制文件
【发布时间】:2014-06-08 03:13:41
【问题描述】:

我正在尝试在 redhat linux 机器上安装 git,但收到以下错误,因为 C 编译器违反了我工作的安全策略。

configure: Setting lib to 'lib' (the default)
configure: Will try -pthread then -lpthread to enable POSIX Threads.
configure: CHECKS for site configuration
configure: CHECKS for programs
checking for cc... no
checking for gcc... no
configure: error: in `/home//git-1.9.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

有人知道我在哪里可以获得 Git 1.9.2 的预编译二进制文件吗?在网上看了我找不到任何东西。如果没有 C 编译器如何安装 git

谢谢

【问题讨论】:

标签: git git-svn


【解决方案1】:

在 redHat 上,我更喜欢使用像 http://rpm.pbone.net 这样的搜索引擎,您可以:

  • 选择目标架构(如“RedHat EL 7”)
  • 输入“git-core

我可以轻松获得相对较新的 rpm (Git 2.19 for instance) 和 using rpm2io/cpio,我可以在任何我想测试的地方提取/“安装”它。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-12-23
    • 1970-01-01
    • 2016-08-08
    • 1970-01-01
    • 2023-03-10
    • 2013-01-03
    • 2017-07-29
    相关资源
    最近更新 更多