This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Re: need help with amarok 2.1 build

Tags: None
(comma "," separated)
armands
Registered Member
Posts
4
Karma
0

need help with amarok 2.1 build

Thu Jun 04, 2009 4:27 pm
Hello,
I can't compile amarok 2.1 (either downloaded tarball or fresh svn checkout)

cmake seems to work fine :

Code: Select all
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ kdelibs
+ qtscript-qt
+ mysqld
+ zlib
+ strigi
+ libgpod
+ Gdk
+ libmtp
+ curl
+ libxml2
+ openssl or libgcrypt
+ gobject
+ loudmouth
+ Qt4 Glib support
+ glib2
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /private/sources/amarok-sources/amarok-svn/build


But when I run make, I run into the following problem:

Code: Select all
[ 59%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollection.o
In file included from /private/sources/amarok-sources/amarok-svn/src/collection/sqlcollection/XesamCollectionBuilder.h:22,
                 from /private/sources/amarok-sources/amarok-svn/src/collection/sqlcollection/SqlCollection.cpp:41:
/private/sources/amarok-sources/amarok-svn/src/collection/sqlcollection/XesamDbus.h:22:39: error: strigi/qtdbus/strigitypes.h: No such file or directory
In file included from /private/sources/amarok-sources/amarok-svn/src/collection/sqlcollection/SqlCollection.cpp:380:
/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>]’
/private/sources/amarok-sources/amarok-svn/src/collection/sqlcollection/XesamDbus.h:89:   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> >]’
/private/sources/amarok-sources/amarok-svn/src/collection/sqlcollection/XesamDbus.h:90:   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/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollection.o] Error 1
make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all] Error 2
make: *** [all] Error 2


When I use source from traball build fails in different place but it also complains about  is not a member of ‘QMetaTypeId > >’ part.

What am I missing? 
P.S. Please be kind, I don't have much experience with compiling linux programs
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: need help with amarok 2.1 build

Thu Jun 04, 2009 7:09 pm
Install strigi-devel packages. Don't know which distro you're using.
So name can differ, libstrigi-dev in Debian/Ubuntu.

Greetings
m0nk


If men could get pregnant, abortion would be a sacrament.
armands
Registered Member
Posts
4
Karma
0

Re: need help with amarok 2.1 build

Fri Jun 05, 2009 7:55 am
Yaay, it works! :)
tyvm


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]