我试图在红帽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?
谢谢
发布于 2019-09-10 17:27:26
在redHat上,我更喜欢使用像http://rpm.pbone.net这样的搜索引擎,在那里您可以:
RedHat EL 7
")git-core
”我可以很容易地得到一个相对最近的(例如,Git 2.19)和使用rpm2io/cpio,我可以提取/“安装”它的任何地方,我想测试。
https://stackoverflow.com/questions/23241728
复制相似问题