rhel 7 无法安装 git?

rhel 7 无法安装 git?
[root@server14 git-2.1.2]# make install
    CC credential-store.o
In file included from cache.h:4:0,
                 from credential-store.c:1:
git-compat-util.h:213:25: fatal error: openssl/ssl.h: No such file or directory
 #include <openssl/ssl.h>
                         ^
compilation terminated.
make: *** [credential-store.o] Error 1

答案1

错误:openssl/ssl.h:没有这样的文件

解决方案

# yum install openssl-devel

相关内容