当您尝试在Red Hat Enterprise Linux 3上构建git v1.7.0.6时,会出现错误:
In file included from /usr/include/openssl/ssl.h:179,
from git-compat-util.h:139,
from builtin.h:4,
from fast-import.c:147:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
我有答案,我只是在这里张贴给后人。
答案 0 :(得分:2)
解决方案是运行带有标志的./configure,告诉它在哪里找到krb5.h:
./configure CFLAGS='-I/usr/kerberos/include'