小力力力 发表于 2003-10-31 16:22:03

redhat 9.0 编译出现问题~krb5.h问题!!

In file included from /usr/include/openssl/ssl.h:179,
               from ssl.c:62:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
               from ssl.c:62:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from ssl.c:62:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make: *** Error 1
make: Leaving directory `/usr/local/resin/src/c/plugin/resin'
make: *** Error 2
make: Leaving directory `/usr/local/resin/src/c/plugin'
make: *** Error 2


大家看下。谢谢

mozilla 发表于 2003-10-31 18:07:40

configure有没有disable krb5之类的选项?

小力力力 发表于 2003-10-31 18:13:48

斑竹~~这个应该是redhat 9.0的bug

我在redhat的bugzilla里面看到了这个bug:

Bug Information

Product:Red Hat Linux
Version:9.0
Component: openssl
Summary: openssl-devel depends on kerberos headers not in standard include path


Opened by [email protected] (Henrik Nordstrom) on 2003-03-23 06:02

From Bugzilla Helper:
User-Agent: Mozilla/4.77 (X11; U; Linux 2.2.19-6.2.1 i586)

Description of problem:
In file included from /usr/include/openssl/ssl.h:179,
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory


The kerberos headers can be found in
/usr/kerberos/include/krb5.h


Version-Release number of selected component (if applicable):
openssl-devel-0.9.7-6

How reproducible:
Always

Steps to Reproduce:
1.Try to compile a C program using OpenSSL, such as this silly dummy program

#include <openssl/ssl.h>
int main(int argc, char **argv) {]


Actual Results:In file included from /usr/include/openssl/ssl.h:179,
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory


Expected Results:No error.

Additional info:

Compilation works if /usr/kerberos/include is added to the include path, but
this does not seem right to me.


因为我是在编译resin的时候出现的问题,所以我想知道该把这个#include <openssl/ssl.h>
加在哪个地方,谢谢
页: [1]
查看完整版本: redhat 9.0 编译出现问题~krb5.h问题!!