Build problem on Ubuntu 9.04

Tycho Andersen tycho at tycho.ws
Sun Sep 6 23:56:41 UTC 2009


Hello list,

I'm experiencing the error below when I try to build Amarok from the
latest git rev. I'm using Ubuntu 9.04, with KDE 4.3.1.

This build seems to be a Qt problem, and apt-cache says my libqt4-dev
package's version is 4.5.0-0ubuntu4, which may be the source if Amarok
doesn't build against Qt 4.5.

Also, a bit of googling suggested that this might be a strigi/dbus
problem, and apt-cache says my version of strigi is
0.6.3-1ubuntu1~intrepid1.

Below is the build error, any thoughts are much appreciated!

Tycho

In file included from
/home/amdev/amarok/src/collection/sqlcollection/XesamCollectionBuilder.h:20,
                 from
/home/amdev/amarok/src/collection/sqlcollection/SqlCollection.cpp:35:
/home/amdev/amarok/src/collection/sqlcollection/XesamDbus.h:38:39:
error: strigi/qtdbus/strigitypes.h: No such file or directory
In file included from
/home/amdev/amarok/src/collection/sqlcollection/SqlCollection.cpp:368:
/usr/include/qt4/QtCore/qmetatype.h: In static member function ‘static
int QMetaTypeId2<T>::qt_metatype_id() [with T = QList<int>]’:
/usr/include/qt4/QtCore/qmetatype.h:199:   instantiated from ‘int
qMetaTypeId(T*) [with T = QList<int>]’
/usr/include/qt4/QtCore/qvariant.h:437:   instantiated from ‘QVariant
qVariantFromValue(const T&) [with T = QList<int>]’
/home/amdev/amarok/src/collection/sqlcollection/XesamDbus.h:105:
instantiated from here
/usr/include/qt4/QtCore/qmetatype.h:189: error: ‘qt_metatype_id’ is
not a member of ‘QMetaTypeId<QList<int> >’
/usr/include/qt4/QtCore/qmetatype.h: In static member function ‘static
int QMetaTypeId2<T>::qt_metatype_id() [with T =
QVector<QList<QVariant> >]’:
/usr/include/qt4/QtCore/qmetatype.h:199:   instantiated from ‘int
qMetaTypeId(T*) [with T = QVector<QList<QVariant> >]’
/usr/include/qt4/QtDBus/qdbusreply.h:73:   instantiated from
‘QDBusReply<T>& QDBusReply<T>::operator=(const QDBusMessage&) [with T
= QVector<QList<QVariant> >]’
/usr/include/qt4/QtDBus/qdbusreply.h:69:   instantiated from
‘QDBusReply<T>::QDBusReply(const QDBusMessage&) [with T =
QVector<QList<QVariant> >]’
/home/amdev/amarok/src/collection/sqlcollection/XesamDbus.h:106:
instantiated from here
/usr/include/qt4/QtCore/qmetatype.h:189: error: ‘qt_metatype_id’ is
not a member of ‘QMetaTypeId<QVector<QList<QVariant> > >’
make[2]: *** [src/collection/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/__/sqlcollection/SqlCollection.o]
Error 1
make[1]: *** [src/collection/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all]
Error 2
make: *** [all] Error 2



More information about the Amarok mailing list