LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1146|回复: 5

求助:KDE4 KdeLibs失败

[复制链接]
发表于 2009-10-31 23:19:36 | 显示全部楼层 |阅读模式
[ 97%] Building CXX object tests/daemon/dbus/CMakeFiles/daemondbustest.dir/daemondbustest.cpp.o
In file included from /mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigiclient.h:23,
                 from /mnt/srv/kde4/strigi-0.6.4/tests/daemon/dbus/daemondbustest.h:28,
                 from /mnt/srv/kde4/strigi-0.6.4/tests/daemon/dbus/daemondbustest.cpp:21:
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:27:25: error: QtDBus/QtDBus: No such file or directory
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:58: error: expected constructor, destructor, or type conversion before '&' token
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:59: error: expected initializer before '&' token
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:60: error: expected constructor, destructor, or type conversion before '&' token
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:61: error: expected initializer before '&' token
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:62: error: expected constructor, destructor, or type conversion before '&' token
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:63: error: expected initializer before '&' token
/opt/qt4/include/QtCore/qglobal.h: In instantiation of 'QTypeInfo<QVariant>':
/opt/qt4/include/QtCore/qlist.h:366:   instantiated from 'void QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = QVariant]'
/opt/qt4/include/QtCore/qlist.h:559:   instantiated from 'void QList<T>::free(QListData:ata*) [with T = QVariant]'
/opt/qt4/include/QtCore/qlist.h:534:   instantiated from 'QList<T>::~QList() [with T = QVariant]'
/opt/qt4/include/QtCore/qvector.h:423:   instantiated from 'void QVector<T>::free(QVectorTypedData<T>*) [with T = QList<QVariant>]'
/opt/qt4/include/QtCore/qvector.h:114:   instantiated from 'QVector<T>::~QVector() [with T = QList<QVariant>]'
/opt/qt4/include/QtCore/qmetatype.h:119:   instantiated from 'void qMetaTypeDeleteHelper(T*) [with T = QVector<QList<QVariant> >]'
/opt/qt4/include/QtCore/qmetatype.h:154:   instantiated from 'int qRegisterMetaType(const char*, T*) [with T = QVector<QList<QVariant> >]'
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:30:   instantiated from here
/opt/qt4/include/QtCore/qglobal.h:1778: error: invalid application of 'sizeof' to incomplete type 'QVariant'
/opt/qt4/include/QtCore/qlist.h: In member function 'void QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = QVariant]':
/opt/qt4/include/QtCore/qlist.h:559:   instantiated from 'void QList<T>::free(QListData:ata*) [with T = QVariant]'
/opt/qt4/include/QtCore/qlist.h:534:   instantiated from 'QList<T>::~QList() [with T = QVariant]'
/opt/qt4/include/QtCore/qvector.h:423:   instantiated from 'void QVector<T>::free(QVectorTypedData<T>*) [with T = QList<QVariant>]'
/opt/qt4/include/QtCore/qvector.h:114:   instantiated from 'QVector<T>::~QVector() [with T = QList<QVariant>]'
/opt/qt4/include/QtCore/qmetatype.h:119:   instantiated from 'void qMetaTypeDeleteHelper(T*) [with T = QVector<QList<QVariant> >]'
/opt/qt4/include/QtCore/qmetatype.h:154:   instantiated from 'int qRegisterMetaType(const char*, T*) [with T = QVector<QList<QVariant> >]'
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:30:   instantiated from here
/opt/qt4/include/QtCore/qlist.h:367: warning: possible problem detected in invocation of delete operator:
/opt/qt4/include/QtCore/qlist.h:367: warning: invalid use of undefined type 'struct QVariant'
/opt/qt4/include/QtCore/qobject.h:65: warning: forward declaration of 'struct QVariant'
/opt/qt4/include/QtCore/qlist.h:367: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/opt/qt4/include/QtCore/qlist.h:369: error: invalid use of undefined type 'struct QVariant'
/opt/qt4/include/QtCore/qobject.h:65: error: forward declaration of 'struct QVariant'
/opt/qt4/include/QtCore/qlist.h: In member function 'void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = QVariant]':
/opt/qt4/include/QtCore/qlist.h:525:   instantiated from 'void QList<T>::detach_helper() [with T = QVariant]'
/opt/qt4/include/QtCore/qlist.h:111:   instantiated from 'QList<T>:List(const QList<T>&) [with T = QVariant]'
/opt/qt4/include/QtCore/qvector.h:491:   instantiated from 'void QVector<T>::realloc(int, int) [with T = QList<QVariant>]'
/opt/qt4/include/QtCore/qvector.h:315:   instantiated from 'void QVector<T>::detach_helper() [with T = QList<QVariant>]'
/opt/qt4/include/QtCore/qvector.h:113:   instantiated from 'QVector<T>:Vector(const QVector<T>&) [with T = QList<QVariant>]'
/opt/qt4/include/QtCore/qmetatype.h:127:   instantiated from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector<QList<QVariant> >]'
/opt/qt4/include/QtCore/qmetatype.h:152:   instantiated from 'int qRegisterMetaType(const char*, T*) [with T = QVector<QList<QVariant> >]'
/mnt/srv/kde4/strigi-0.6.4/src/searchclient/qtdbus/strigitypes.h:30:   instantiated from here
/opt/qt4/include/QtCore/qlist.h:357: error: invalid use of undefined type 'struct QVariant'
/opt/qt4/include/QtCore/qobject.h:65: error: forward declaration of 'struct QVariant'
/opt/qt4/include/QtCore/qlist.h:360: error: invalid use of undefined type 'struct QVariant'
/opt/qt4/include/QtCore/qobject.h:65: error: forward declaration of 'struct QVariant'
make[2]: *** [tests/daemon/dbus/CMakeFiles/daemondbustest.dir/daemondbustest.cpp.o] Error 1
make[1]: *** [tests/daemon/dbus/CMakeFiles/daemondbustest.dir/all] Error 2
make: *** [all] Error 2
 楼主| 发表于 2009-11-1 00:53:28 | 显示全部楼层

求助:KDE4 KdeLibs失败

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * LZMA/XZ  <http://tukaani.org/xz/>
     A very high compression ratio data compressor
     Provides the ability to read and write xz compressed data files.
   * LibACL  <ftp://oss.sgi.com/projects/xfs/cmd_tars>
     Access control list (ACL) support library
     STRONGLY RECOMMENDED: For manipulating access control lists.
   * GSSAPI  <http://web.mit.edu/kerberos/www>
     Generic Security Services API
     A MIT or HEIMDAL flavor of GSSAPI to provide HTTP authentication services.
   * HSpell  <http://ivrix.org.il/projects/spell-checker/>
     Hebrew spell checker
     Provides spell checking for Hebrew.
   * Enchant  <http://www.abisource.com/projects/enchant/>
     Enchant Package
     Provides a way to access many spell checking backends.
   * OpenEXR  <http://www.openexr.com/>
     OpenEXR Package
     High dynamic range image manipulation library.
   * Avahi  <http://avahi.org>
     For Linux and BSDs: a system which facilitates service discovery on a local network, based on the Zeroconf standard
     Enables KDE applications access to multicast DNS/DNS-SD service discovery.
   * DNSSD  <http://www.zeroconf.org>
     For MacOS and platforms without Avahi: A system which facilitates service discovery on a local network, based on the Zeroconf standard
     Enables KDE applications access to multicast DNS/DNS-SD service discovery.

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

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTDBUS_LIBRARY (ADVANCED)
    linked by target "nepomuk-rcgen" in directory /mnt/srv/kde4/kdelibs-4.3.2/nepomuk/rcgen
    linked by target "nepomuk" in directory /mnt/srv/kde4/kdelibs-4.3.2/nepomuk/core
    linked by target "resourcetest" in directory /mnt/srv/kde4/kdelibs-4.3.2/nepomuk/core/test
    linked by target "speedtest" in directory /mnt/srv/kde4/kdelibs-4.3.2/nepomuk/core/test
    linked by target "kdecore" in directory /mnt/srv/kde4/kdelibs-4.3.2/kdecore
    linked by target "solid" in directory /mnt/srv/kde4/kdelibs-4.3.2/solid/solid
    linked by target "solid_static" in directory /mnt/srv/kde4/kdelibs-4.3.2/solid/solid
    linked by target "fakehardwaretest" in directory /mnt/srv/kde4/kdelibs-4.3.2/solid/tests
    linked by target "halbasictest" in directory /mnt/srv/kde4/kdelibs-4.3.2/solid/tests
    linked by target "solidhwtest" in directory /mnt/srv/kde4/kdelibs-4.3.2/solid/tests
    linked by target "solidmttest" in directory /mnt/srv/kde4/kdelibs-4.3.2/solid/tests
    linked by target "ktexteditor" in directory /mnt/srv/kde4/kdelibs-4.3.2/interfaces/ktexteditor

-- Configuring incomplete, errors occurred!
回复 支持 反对

使用道具 举报

发表于 2009-11-1 03:17:12 | 显示全部楼层
貌似兩個問題都跟你的 QT 有關
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-1 08:24:07 | 显示全部楼层
是 QT的问题  cblfs.cross-lfs.org 换成了 qt-all-opensource-src-4.5.3通过了。
刚换上的版本。
Strigi  改代码通过。

编qt这120多M的大家伙,心理上对kde的稳定和性能产生了怀疑。xorg——qt——kde这个么复杂的关系,总感觉要出问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-1 08:43:31 | 显示全部楼层
停住了
[ 19%] Building CXX object nepomuk/core/CMakeFiles/nepomuk.dir/resourcefiltermodel.o
In file included from /mnt/srv/kde4/kdelibs-4.3.2/nepomuk/core/resourcefiltermodel.cpp:29:
/opt/kde4/include/Soprano/Client/DBusModel:1:37: error: ../../soprano/dbusmodel.h: No such file or directory
In file included from /mnt/srv/kde4/kdelibs-4.3.2/nepomuk/core/resourcefiltermodel.cpp:30:
/opt/kde4/include/Soprano/Client/DBusClient:1:38: error: ../../soprano/dbusclient.h: No such file or directory
make[2]: *** [nepomuk/core/CMakeFiles/nepomuk.dir/resourcefiltermodel.o] Error 1
make[1]: *** [nepomuk/core/CMakeFiles/nepomuk.dir/all] Error 2
make: *** [all] Error 2

估计是D-BUS Qt3的问题。都qt4了 难道还要个qt3
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-1 09:15:06 | 显示全部楼层
再来遍 Strigi ,顺利通过。KdeLibs 进行中。
确是qt的版本问题,不是D-BUS Qt3的问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表