一片冰心在玉壶

那时我们有梦,关于文学,关于爱情,关于穿越世界的旅行, 如今我们深夜饮酒,杯子碰到一起,都是梦破碎的声音. 交往都是初逢,爱情都在心里,往事都在梦中, 希望都带着注释,信仰都带着呻吟. 总有善意的光逃避现世的繁琐而寻找片刻的安宁, 也许,就是你凝视这里的眼睛

博客园 首页 联系 订阅 管理

在Fedora下装从不出错..今天换成REDHAT9.居然出错..

如下:

 

In file included from /usr/include/openssl/ssl.h:179,
from qsslsocket_openssl_p.h:83,
from qsslsocket_openssl_symbols_p.h:68,
from qsslcertificate.cpp:119:
/usr/include/openssl/kssl.h:72:18: krb5.h: 没有那个文件或目录
In file included from /usr/include/openssl/ssl.h:179,
from qsslsocket_openssl_p.h:83,
from qsslsocket_openssl_symbols_p.h:68,
from qsslcertificate.cpp:119:
/usr/include/openssl/kssl.h:132: 'krb5_enctype' is used as a type, but is not
defined as a type.
/usr/include/openssl/kssl.h:134: parse error before `*' token
/usr/include/openssl/kssl.h:147: parse error before `*' token
/usr/include/openssl/kssl.h:151: parse error before `*' token
/usr/include/openssl/kssl.h:153: parse error before `*' token
/usr/include/openssl/kssl.h:155: parse error before `*' token
/usr/include/openssl/kssl.h:157: parse error before `*' token
/usr/include/openssl/kssl.h:159: `krb5_context' was not declared in this scope
/usr/include/openssl/kssl.h:159: parse error before `,' token
/usr/include/openssl/kssl.h:160: `krb5_context' was not declared in this scope
/usr/include/openssl/kssl.h:160: parse error before `,' token
/usr/include/openssl/kssl.h:163: `krb5_timestamp' was not declared in this
scope
/usr/include/openssl/kssl.h:163: parse error before `,' token
/usr/include/openssl/kssl.h:165: parse error before `*' token
/usr/include/openssl/kssl.h:167: `krb5_enctype' was not declared in this scope
/usr/include/openssl/kssl.h:167: parse error before `,' token
make[1]: *** [.obj/release-shared/qsslcertificate.o] Error 1
make[1]: Leaving directory `/tmp/qt-x11-opensource-src-4.3.2/src/network'
make: *** [sub-network-make_default-ordered] Error 2

现在借用一名fusongbai QQ 398407063的网友的回答:

---------------------------------------------------------------------------

gmake 过程中可能会报错,提示无法找到krb5.h,解决方法是:
ln -s /usr/kerberos/include/com_err.h /usr/include/com_err.h
ln -s /usr/kerberos/include/profile.h /usr/include/profile.h
ln -s /usr/kerberos/include/krb5.h /usr/include/krb5.h
---------------------------------------------------------------------------

没错,我试了一下,这样做就好了,配置好以后,执行一下上面的三条命令,然后再gmake,再gmake install,就OK了.

 

posted on 2011-05-05 17:14  Sankye  阅读(1142)  评论(0编辑  收藏  举报