|

楼主 |
发表于 2006-11-23 10:49:24
|
显示全部楼层
卸载qt4, USE里加上-qt4
http://sourceforge.net/tracker/i ... 454&atid=650539
Post by craxyz
emerge -av scim-bridge
[ebuild R ] app-i18n/scim-bridge-0.4.7 USE="gtk2%* qt3 -debug% -doc -no-agent% (-gtk%*)"
failed with:
- moc_scim-bridge-client-qt.cpp:12:2: error: #error "The header file 'scim-bridge-client-qt.h' doesn't include <QObject>."
- moc_scim-bridge-client-qt.cpp:39: error: 'const QMetaObject ScimBridgeClientQt::staticMetaObject' is not a static member of 'class ScimBridgeClientQt'
- moc_scim-bridge-client-qt.cpp:39: error: variable 'const QMetaObject ScimBridgeClientQt::staticMetaObject' has initializer but incomplete type
- moc_scim-bridge-client-qt.cpp:44: error: prototype for 'const QMetaObject* ScimBridgeClientQt::metaObject() const' does not match any in class 'ScimBridgeClientQt'
- scim-bridge-client-qt.h:45: error: candidate is: virtual QMetaObject* ScimBridgeClientQt::metaObject() const
- moc_scim-bridge-client-qt.cpp:44: error: 'const QMetaObject* ScimBridgeClientQt::metaObject() const' cannot be overloaded
- scim-bridge-client-qt.h:45: error: with 'virtual QMetaObject* ScimBridgeClientQt::metaObject() const'
- moc_scim-bridge-client-qt.cpp: In member function 'const QMetaObject* ScimBridgeClientQt::metaObject() const':
- moc_scim-bridge-client-qt.cpp:46: error: cannot convert 'QMetaObject* (*)()' to 'const QMetaObject*' in return
- moc_scim-bridge-client-qt.cpp: At global scope:
- moc_scim-bridge-client-qt.cpp:49: error: no 'void* ScimBridgeClientQt::qt_metacast(const char*)' member function declared in class 'ScimBridgeClientQt'
- moc_scim-bridge-client-qt.cpp: In member function 'void* ScimBridgeClientQt::qt_metacast(const char*)':
- moc_scim-bridge-client-qt.cpp:54: error: 'qt_metacast' is not a member of 'QObject'
- moc_scim-bridge-client-qt.cpp: At global scope:
- moc_scim-bridge-client-qt.cpp:57: error: 'int ScimBridgeClientQt::qt_metacall' is not a static member of 'class ScimBridgeClientQt'
- moc_scim-bridge-client-qt.cpp:57: error: incomplete type 'QMetaObject' used in nested name specifier
- moc_scim-bridge-client-qt.cpp:57: error: expected primary-expression before 'int'
- moc_scim-bridge-client-qt.cpp:57: error: expected primary-expression before 'void'
- moc_scim-bridge-client-qt.cpp:57: error: initializer expression list treated as compound expression
- moc_scim-bridge-client-qt.cpp:58: error: expected ',' or ';' before '{' token
- make[2]: *** [im_scim_bridge_la-moc_scim-bridge-client-qt.lo] 错误 1
- make[2]: *** 正在等待未完成的任务....
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../common -I../client-common -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/qt/3/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DQT_IMMODULE -O2 -march=pentium4 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden -c scim-bridge-client-qt.cpp -fPIC -DPIC -o .libs/im_scim_bridge_la-scim-bridge-client-qt.o
- make[2]: Leaving directory `/var/tmp/portage/app-i18n/scim-bridge-0.4.7/work/scim-bridge-0.4.7/client-qt'
- make[1]: *** [all-recursive] 错误 1
- make[1]: Leaving directory `/var/tmp/portage/app-i18n/scim-bridge-0.4.7/work/scim-bridge-0.4.7'
- make: *** [all] 错误 2
- !!! ERROR: app-i18n/scim-bridge-0.4.7 failed.
- Call stack:
- ebuild.sh, line 1568: Called dyn_compile
- ebuild.sh, line 937: Called src_compile
- scim-bridge-0.4.7.ebuild, line 46: Called die
- !!! make failed.
- !!! If you need support, post the topmost build error, and the call stack if relevant.
- !!! This ebuild is from an overlay: '/usr/portage/local/layman/gentoo-china'
复制代码 |
|