编译命令:
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
^
1 error generated.
make: *** [credential-store.o] Error 1
升级了 os x 10.11 ,/usr/include 目录没有了,通过 xcode-select install 已经安装。
自己也重新编译了 openssl ,路径存放地址 /usr/local/ssl/bin/openssl
1
yadgen OP 没人知道吗?
|
2
xiaoyao9933 2015-10-09 16:38:55 +08:00
你把头文件拷到 /usr/local/include/ 下试过么?头文件查找路径里怎么回去 bin 这种地方找?
|