centos6.5源码安装git出现expat.h: No such file or directory

来源:互联网 发布:淘宝开企业店铺要纳税 编辑:程序博客网 时间:2024/06/06 07:01

Centos6.5安装git找不到expat.h

最近在用centos6.5搭建一个git服务器,使用git2.6.1
进行源码安装,在解压后执行make的时候提示找不到expat.h,导致编译http-push.c失败,解决方法如下:

yum install expat-devel
0 0