yanglh 发表于 2005-12-8 12:05:34

konstruct安装kde3.5时总出报qt错误

checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
make: *** 错误 1
make: Leaving directory `/tmp/konstruct/libs/arts'
make: *** 错误 2
make: Leaving directory `/tmp/konstruct/kde/kdelibs'
make: *** 错误 2
make: Leaving directory `/tmp/konstruct/kde/kdeaccessibility'
make: Entering directory `/tmp/konstruct/kde/kdeaddons'
[===== NOW BUILDING:   kdeaddons-3.5.0      =====]
       complete for kdeaddons.
       complete for kdeaddons.
       complete for kdeaddons.
       complete for kdeaddons.
==> Building kde/kdebase as a dependency
make: Entering directory `/tmp/konstruct/kde/kdebase'
[===== NOW BUILDING:   kdebase-3.5.0=====]
       complete for kdebase.
       complete for kdebase.
       complete for kdebase.
       complete for kdebase.
==> Building kde/kdelibs as a dependency
make: Entering directory `/tmp/konstruct/kde/kdelibs'
[===== NOW BUILDING:   kdelibs-3.5.0=====]
       complete for kdelibs.
       complete for kdelibs.
       complete for kdelibs.
       complete for kdelibs.
==> Building libs/arts as a dependency
make: Entering directory `/tmp/konstruct/libs/arts'
[===== NOW BUILDING:   arts-1.5.0   =====]
       complete for arts.
       complete for arts.
       complete for arts.
       complete for arts.
==> Building libs/glib as a dependency
==> Building libs/qt-x11-free as a dependency
==> Running configure in work/arts-1.5.0
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

总这样循环!
我明明刚刚安装成功了 qt-x11-free-3.3.5
而且也能运行/usr/bin/.designer
出现qt Designer的界面
请帮帮我吧!

Magicesp 发表于 2005-12-8 12:24:39

你的qt是用konstruct这个工具安装的,还是自己另外手动安装的,提示很清楚啊,配置编译的时候没有打开thread支持,这样的话就不会编译出qt-mt这个QT多线程库文件呢
在qt-sources下执行./configure --help 看看是什么参数可以打开thread支持的,俺一时忘记啦

yanglh 发表于 2005-12-8 12:31:19

谢谢上楼!我看看!

千里孤坟 发表于 2005-12-8 16:16:56

报library qt-mt找不到另一种可能是编译Qt和编译KDE时采用了不一样的编译器,而它们之间的ABI接口不兼容。假设用GCC3.3.6编译了Qt,而编译KDE时被configure确认的GCC版本是4.0以上的,那么也会出现这种看似莫名的错误反馈。

yanglh 发表于 2005-12-9 13:14:04

我是新手不太懂这些!

mandrakechina 发表于 2005-12-9 14:11:16

既然是新手,就不要自己编译软件了。

yanglh 发表于 2005-12-9 20:38:05

也不是我自己编译是konstruct在编译,我只是开机挂在那里!
前面的搞定了,
可惜到这里又有问题了 ,搞不定了!

size_imp.cpp: multiple definition of `KJSEmbed::Bindings::Size::call(KJS::ExecState*, KJS::Object&, KJS::List const&)'
bindings/.libs/libkjsembedbindings.a(libkjsembedbindings_la.all_cpp.o)(.text+0xe090):libkjsembedbindings_la.all_cpp.cpp: first defined here
bindings/.libs/libkjsembedbindings.a(size_imp.o)(.text+0x0): In function `KJSEmbed::Bindings::Size::Size(KJS::ExecState*, int)':
size_imp.cpp: multiple definition of `KJSEmbed::Bindings::Size::Size(KJS::ExecState*, int)'
bindings/.libs/libkjsembedbindings.a(libkjsembedbindings_la.all_cpp.o)(.text+0xdd30):libkjsembedbindings_la.all_cpp.cpp: first defined here
bindings/.libs/libkjsembedbindings.a(size_imp.o)(.text+0x50): In function `KJSEmbed::Bindings::Size::Size(KJS::ExecState*, int)':
size_imp.cpp: multiple definition of `KJSEmbed::Bindings::Size::Size(KJS::ExecState*, int)'
bindings/.libs/libkjsembedbindings.a(libkjsembedbindings_la.all_cpp.o)(.text+0xdd80):libkjsembedbindings_la.all_cpp.cpp: first defined here
bindings/.libs/libkjsembedbindings.a(size_imp.o)(.text+0xa0): In function `KJSEmbed::Bindings::Size::~Size()':
size_imp.cpp: multiple definition of `KJSEmbed::Bindings::Size::~Size()'
bindings/.libs/libkjsembedbindings.a(libkjsembedbindings_la.all_cpp.o)(.text+0xddd0):libkjsembedbindings_la.all_cpp.cpp: first defined here
bindings/.libs/libkjsembedbindings.a(size_imp.o)(.text+0x6b0): In function `KJSEmbed::Bindings::Size::addBindings(KJS::ExecState*, KJS::Object&)':
size_imp.cpp: multiple definition of `KJSEmbed::Bindings::Size::addBindings(KJS::ExecState*, KJS::Object&)'
bindings/.libs/libkjsembedbindings.a(libkjsembedbindings_la.all_cpp.o)(.text+0xde70):libkjsembedbindings_la.all_cpp.cpp: first defined here
collect2: ld returned 1 exit status
make: *** 错误 1
make: Leaving directory `/tmp/konstruct/kde/kdebindings/work/kdebindings-3.5.0/kjsembed'
make: *** 错误 1
make: Leaving directory `/tmp/konstruct/kde/kdebindings/work/kdebindings-3.5.0/kjsembed'
make: *** 错误 1
make: Leaving directory `/tmp/konstruct/kde/kdebindings/work/kdebindings-3.5.0'
make: *** 错误 2
页: [1]
查看完整版本: konstruct安装kde3.5时总出报qt错误