3

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

私はこれに対する答えを持っています。後世のためにここに投稿しています。

4

1 に答える 1

2

解決策は、フラグを指定して ./configure を実行し、krb5.h の場所を指定することです。

./configure CFLAGS='-I/usr/kerberos/include'
于 2010-04-24T17:23:27.037 に答える