QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 972|回复: 2

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

[复制链接]
发表于 2003-10-31 16:22:03 | 显示全部楼层 |阅读模式
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[2]: *** [ssl.o] Error 1
make[2]: Leaving directory `/usr/local/resin/src/c/plugin/resin'
make[1]: *** [plugins] Error 2
make[1]: Leaving directory `/usr/local/resin/src/c/plugin'
make: *** [all] Error 2


大家看下。谢谢
发表于 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 [en] (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>
加在哪个地方,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-18 19:05 , Processed in 0.073412 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表