栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

服务器更新git版本报错 git-compat-util.h:14:2:error “Required C99 support is in a test phase“

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

服务器更新git版本报错 git-compat-util.h:14:2:error “Required C99 support is in a test phase“

服务器系统 Centos 7
在更新git版本时报如下错误

 # 执行的命令
 make prefix=/usr/local/git all
 
 # 报错
 git-compat-util.h:14:2:error "Required C99 support is in a test phase,please see git-compat-util.h" for more detail

错误截图

在网上看了很多博客说是因为安装的tar包缺少文件导致的,因此就换了一种链接下载文件就成功了

原下载命令

wget -O git.zip https://github.com/git/git/archive/master.zip

新下载命令

wget https://github.com/git/git/archive/v2.17.0.tar.gz 

如果linux虚拟机或服务器无法访问github,可以参考我的另外一篇博客中的方法二或者方法三

linux下更新服务器git版本(多种方式)_Hydrion-Qlz的博客-CSDN博客

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/693561.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号