如何在 Red Hat Enterprise Linux 3 上构建 git?
当您尝试在 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
我有这个问题的答案,我只是将其发布在这里以供后代使用。
When you try to build git v1.7.0.6 on Red Hat Enterprise Linux 3, you get an error:
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
I have the answer to this, and I'm just posting it here for posterity.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案是运行 ./configure,并带有一个标志来告诉它在哪里可以找到 krb5.h:
The solution is to run ./configure with a flag to tell it where to find krb5.h: