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

Making amarok 1.90 fails

Tags: None
(comma "," separated)
joeda
Registered Member
Posts
1
Karma
0

Making amarok 1.90 fails

Sun Aug 31, 2008 12:52 pm
Hello

I try to compile amarok 1.90 downloaded on the official website.

Code: Select all
Linking CXX shared module ../../../lib/libamarok_collection-daapcollection.so
[ 89%] Built target amarok_collection-daapcollection
Generating MtpCollectionLocation.moc
Generating mtpmeta.moc
Generating MtpCollection.moc
Generating moc_MtpHandler.cpp
Scanning dependencies of target amarok_collection-mtpcollection
[ 89%] Building CXX object src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o
In file included from /home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/moc_MtpHandler.cpp:10,
                 from /home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/amarok_collection-mtpcollection_automoc.cpp:4:
/home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/../../../../src/collection/mtpcollection/handler/MtpHandler.h:66: error: ‘LIBMTP_raw_device_t’ has not been declared
/home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/../../../../src/collection/mtpcollection/handler/MtpHandler.h:156: error: ‘LIBMTP_raw_device_t’ has not been declared
/home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/../../../../src/collection/mtpcollection/handler/MtpHandler.h:167: error: ISO C++ forbids declaration of ‘LIBMTP_raw_device_t’ with no type
/home/jo/downloads/amarok-1.90/build/src/collection/mtpcollection/../../../../src/collection/mtpcollection/handler/MtpHandler.h:167: error: expected ‘;’ before ‘*’ token
make[2]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/amarok_collection-mtpcollection_automoc.o] Fehler 1
make[1]: *** [src/collection/mtpcollection/CMakeFiles/amarok_collection-mtpcollection.dir/all] Fehler 2
make: *** [all] Fehler 2
jo@jo:~/downloads/amarok-1.90/build$ make clean
jo@jo:~/downloads/amarok-1.90/build$


Cmake told me there won't be MTP-Support because it wasn't present.

Compiled on KDE 4.1.0.

Any Ideas?

greetz joe
conholster
Registered Member
Posts
3
Karma
0

Re: Making amarok 1.90 fails

Wed Sep 10, 2008 10:32 am
Same problem here on Slackware 12.1 with 4.1 KDE. I also tried the instructions in the Development wiki which stop at 91% something with Last.fm seems to be the problem.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Making amarok 1.90 fails

Wed Sep 10, 2008 3:34 pm
This can be solved by either uninstalling libmtp, or upgrading it, since Amarok 2 needs a newer version of the library.


--
Mark Kretschmann - Amarok Developer
conholster
Registered Member
Posts
3
Karma
0

Re: Making amarok 1.90 fails

Wed Sep 10, 2008 5:39 pm
Thanks for the help Mark! After uninstalling libmtp I also had to delete the amarok-1.90 folder and re-extract it (probably contains old configure files) before amarok would compile succesfully. Running 1.90 now and it LOOKS F***ING AMAZING!!!!! :D :D :D Good job amarok devs!!!!! Me likes it alot!


Bookmarks



Who is online

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