• 6624阅读
  • 9回复

linux下qt4.4.3环境的问题 [复制链接]

上一主题 下一主题
离线zgz345
 
只看楼主 倒序阅读 楼主  发表于: 2009-02-25
— 本帖被 XChinux 从 Qt for Windows 移动到本区(2010-02-07) —
root用户下./configurer后gmake出现如下错误



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





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



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
离线yishu
只看该作者 1楼 发表于: 2009-02-25
正为这个问题烦恼呢,太感谢了!!!!
离线yishu
只看该作者 2楼 发表于: 2009-02-25
求教,用了上面的ln以后,gmake了一个多小时出错了,急啊,希望楼主帮忙解决下啊。
错误如下:
gmake[3]: *** [.obj/release-shared/qtiffhandler.o]
Error 1
gmake[3]: Leaving directory `/root/qt-x11-opensource-src-4.4.3/src/plugins/image                             formats/tiff'
gmake[2]: *** [sub-tiff-make_default] Error 2

gmake[2]: Leaving directory `/root/qt-x11-opensource-src-4.4.3/src/plugins/image                             formats'

gmake[1]: *** [sub-imageformats-make_default] Error 2

gmake[1]: Leaving directory `/root/qt-x11-opensource-src-4.4.3/src/plugins'

gmake: *** [sub-plugins-make_default-ordered] Error 2
离线wd007

只看该作者 3楼 发表于: 2009-02-25
把缺少的库安装上不是更好吗
欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
离线yishu
只看该作者 4楼 发表于: 2009-02-26
缺少的库在哪下载啊?我是在官网下的qt-x11-opensource-src-4.4.3,直接安装的
离线wd007

只看该作者 5楼 发表于: 2009-02-26
这个的话,你的Linux是哪个发行版。

好多不用自己编译的。

在仓库里面找就是了。

比如Ubuntu8.04、Kubuntu8.04
OpenSUSE11.0 KDE等

自己编译的话,建议先去官网看看说明
欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
离线yishu
只看该作者 6楼 发表于: 2009-02-27
谢谢啊,我装的是redhat 9.0
离线yishu
只看该作者 7楼 发表于: 2009-02-27
缺少的库在哪下载啊?我整不出来啊,郁闷
离线wd007

只看该作者 8楼 发表于: 2009-02-27
能上网的话,搜一搜
欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
离线yishu
只看该作者 9楼 发表于: 2009-02-28
求助!缺少的库叫什么啊?
快速回复
限100 字节
 
上一个 下一个