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

Amarok 1.90 not compiling, sqlcollections error

Tags: None
(comma "," separated)
cracksquirrel
Registered Member
Posts
6
Karma
0
OS
Hi,

I am having problems getting Amarok 1.90 to compile. I get through configuration ok, but make fails. I am on KDE-4.1.1, Kubuntu Hardy. Any ideas? I am fresh out.  I installed the sqllite packages, but I don't think that was enough.

Code: Select all
Scanning dependencies of target amarok_collection-sqlcollection
[ 97%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/amarok_collection-sqlcollection_automoc.o
[ 97%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/DatabaseUpdater.o
[ 97%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/OrganizeCollectionDialog.o
[ 97%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/ScanManager.o
[ 97%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/ScanResultProcessor.o
[ 97%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollection.o
In file included from /home/cracky/Amarok2/amarok/src/collection/sqlcollection/XesamCollectionBuilder.h:22,
                 from /home/cracky/Amarok2/amarok/src/collection/sqlcollection/SqlCollection.cpp:38:
/home/cracky/Amarok2/amarok/src/collection/sqlcollection/XesamDbus.h:22:39: error: strigi/qtdbus/strigitypes.h: No such file or directory
In file included from /home/cracky/Amarok2/amarok/src/collection/sqlcollection/SqlCollection.cpp:308:
/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:201:   instantiated from �int qMetaTypeId(T*) [with T = QList<int>]�
/usr/include/qt4/QtCore/qvariant.h:433:   instantiated from �QVariant qVariantFromValue(const T&) [with T = QList<int>]�
/home/cracky/Amarok2/amarok/src/collection/sqlcollection/XesamDbus.h:89:   instantiated from here
/usr/include/qt4/QtCore/qmetatype.h:191: 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:201:   instantiated from �int qMetaTypeId(T*) [with T = QVector<QList<QVariant> >]�
/usr/include/qt4/QtDBus/qdbusreply.h:74:   instantiated from �QDBusReply<T>& QDBusReply<T>::operator=(const QDBusMessage&) [with T = QVector<QList<QVariant> >]�
/usr/include/qt4/QtDBus/qdbusreply.h:70:   instantiated from �QDBusReply<T>::QDBusReply(const QDBusMessage&) [with T = QVector<QList<QVariant> >]�
/home/cracky/Amarok2/amarok/src/collection/sqlcollection/XesamDbus.h:90:   instantiated from here
/usr/include/qt4/QtCore/qmetatype.h:191: 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
conholster
Registered Member
Posts
3
Karma
0
I dont think you need sqlite. thought I read somewhere that amarok2 wouldnt use sqlite only mysql, I could be wrong.
cracksquirrel
Registered Member
Posts
6
Karma
0
OS
I already have Mysql installed, I didn't do it through my package manager, I did it from source for my LAMP install. I just tried to check my package database to see if there were mysql-dev packages, and only found something that was libqt4-sql-mysql and nothing else that popped out at me. I am guessing I need a package or lib that is not here, searching the problem online doesn't turn up much.
cracksquirrel
Registered Member
Posts
6
Karma
0
OS
Ok, this is still a problem for compiling from the source for me. But when searching around it seems there is a kde4-amarok package for kubuntu that I just installed with the package manager and now have Amarok2!!!! WEEEEE!!!!

Everything looks nice so far. Now my only question is where is the equalizer for this buried? :p
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
It's currently a bit hidden: Press Ctrl-Shift-E, then Ctrl-Q.


--
Mark Kretschmann - Amarok Developer
User avatar
imported-abhishektux
Registered Member
Posts
2
Karma
0
Even I seem to be getting this error  :confused:

Code: Select all
[ 95%] Built target amarok_collection-daapcollection                                                                                                        
[ 95%] Generating SqlCollectionAdaptor.cpp, SqlCollectionAdaptor.h                                                                                          
[ 95%] Generating SqlCollectionAdaptor.moc                                                                                                                  
Generating ScanResultProcessor.moc                                                                                                                          
Generating SqliteCollection.moc                                                                                                                             
Generating ScanManager.moc                                                                                                                                  
Generating XesamDbus.moc                                                                                                                                    
Generating SqlCollection.moc                                                                                                                                
Generating SqlCollectionDBusHandler.moc                                                                                                                     
Generating SqlQueryMaker.moc                                                                                                                                
Generating SqlCollectionLocation.moc                                                                                                                        
Generating XesamCollectionBuilder.moc                                                                                                                       
Generating SqlRegistry.moc                                                                                                                                  
Generating sqlmeta.moc                                                                                                                                      
Generating moc_OrganizeCollectionDialog.cpp                                                                                                                 
[ 95%] Generating ui_OrganizeCollectionDialogBase.h                                                                                                         
Scanning dependencies of target amarok_collection-sqlcollection                                                                                             
[ 95%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/amarok_collection-sqlcollection_automoc.o            
[ 95%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/DatabaseUpdater.o                                    
[ 95%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/OrganizeCollectionDialog.o
[ 95%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/ScanManager.o
[ 95%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/ScanResultProcessor.o
[ 95%] Building CXX object src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/SqlCollection.o
In file included from /home/abhishek/amarok/src/collection/sqlcollection/XesamCollectionBuilder.h:22,
                 from /home/abhishek/amarok/src/collection/sqlcollection/SqlCollection.cpp:38:
/home/abhishek/amarok/src/collection/sqlcollection/XesamDbus.h:22:39: error: strigi/qtdbus/strigitypes.h: No such file or directory
In file included from /home/abhishek/amarok/src/collection/sqlcollection/SqlCollection.cpp:308:
/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:201:   instantiated from ‘int qMetaTypeId(T*) [with T = QList<int>]’
/usr/include/qt4/QtCore/qvariant.h:433:   instantiated from ‘QVariant qVariantFromValue(const T&) [with T = QList<int>]’
/home/abhishek/amarok/src/collection/sqlcollection/XesamDbus.h:89:   instantiated from here
/usr/include/qt4/QtCore/qmetatype.h:191: 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:201:   instantiated from ‘int qMetaTypeId(T*) [with T = QVector<QList<QVariant> >]’
/usr/include/qt4/QtDBus/qdbusreply.h:74:   instantiated from ‘QDBusReply<T>& QDBusReply<T>::operator=(const QDBusMessage&) [with T = QVector<QList<QVariant>>]’
/usr/include/qt4/QtDBus/qdbusreply.h:70:   instantiated from ‘QDBusReply<T>::QDBusReply(const QDBusMessage&) [with T = QVector<QList<QVariant> >]’
/home/abhishek/amarok/src/collection/sqlcollection/XesamDbus.h:90:   instantiated from here
/usr/include/qt4/QtCore/qmetatype.h:191: 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
Juri Gagarin
Registered Member
Posts
1
Karma
0
I faced the same error. this is where apt-file pointed me:

Code: Select all
caffeine@caffeine:~/amarok-1.90$ sudo apt-file find strigitypes.h
libstrigiqtdbusclient-dev: /usr/include/strigi/qtdbus/strigitypes.h


and thus "sudo apt-get install libstrigiqtdbusclient-dev" fixed it.

cheers


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]