我正在按照文档的指示安装git。
但是在运行make命令后,我遇到了以下错误:
http://www.thegeekstuff.com/2011/08/git-install-configure/ [root@liaan17 git-1.8.2.3]# make
CC credential-store.o
在credential-store.c文件中引用的cache.h文件:
cache.h:19:18警告:zlib.h文件不存在
在credential-store.c文件中引用的cache.h文件:
cache.h:21错误:在‘z_stream’之前缺少指定限定符列表
sudo yum install zlib-devel
,然后再次运行make。 - orbrey