• 4876阅读
  • 0回复

急救,qt安装不通过 [复制链接]

上一主题 下一主题
离线wn_nuaa
 

只看楼主 倒序阅读 楼主  发表于: 2007-06-25
急救,qt安装不通过
— 本帖被 XChinux 执行加亮操作(2007-08-12) —
在redhat9.0上安装qt-free-3.0.4,按照安装指南中的,将 那几行设置外部变量的代码加到了/etc/profile,修改文件名为 qt,接下来就是./configure和make,问题就出在了make上,具体的错误为
kernel/qwindowdefs.h:140: forward declaration of `union _XEvent'
kernel/qapplication_x11.cpp:5767: aggregate `XEvent otherEvent' has
incomplete
  type and cannot be defined
kernel/qapplication_x11.cpp:5819: aggregate `XEvent xevent' has
incomplete type
  and cannot be defined
kernel/qapplication_x11.cpp:5833: aggregate `XEvent xevent' has
incomplete type
  and cannot be defined
{standard input}: Assembler messages:
{standard input}:329: Error: symbol `ncols' is already defined
{standard input}:350: Error: symbol `i' is already defined
make[2]: *** [.obj/release-shared/qapplication_x11.o] Error 1
make[2]: Leaving directory `/usr/local/qt/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Error 2
上面的是一部分,有没有人遇到过这种情况?
帮忙解答一下
万分感谢!
快速回复
限100 字节
 
上一个 下一个