编译命令:
sudo make prefix=/usr install install-doc install-html install-info
报错信息:
CC credential-store.o
In file included from credential-store.c:1:
In file included from ./cache.h:4:
./git-compat-util.h:270:10: fatal error: 'openssl/ssl.h' file not found
include <openssl/ssl.h>
^
1 error generated.
make: *** [credential-store.o] Error 1
升级了 os x 10.11 ,/usr/include 目录没有了,通过 xcode-select install 已经安装。
自己也重新编译了 openssl ,路径存放地址 /usr/local/ssl/bin/openssl