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

Compiling amarok 1.4.4 with libmtp 0.1.2 problem

Tags: None
(comma "," separated)
Webspot
Registered Member
Posts
2
Karma
0
I'm on a mission... To get my Creative Zen Vision M to sync with amarok!

I downloaded the latest libmtp (0.1.2) and compiled and installed it.

I then started to compile amarok 1.4.4. But when it got to the part where it compiles mtpmediadevice, it dies  :confused:

Here is what comes up at the point it dies:

Code: Select all
mtpmediadevice.cpp: In member function 'virtual bool MtpMediaDevice::getCapacity(KIO::filesize_t*, KIO::filesize_t*)':
mtpmediadevice.cpp:986: error: 'LIBMTP_Get_Storageinfo' was not declared in this scope
mtpmediadevice.cpp: In member function 'virtual void MtpMediaDevice::customClicked()':
mtpmediadevice.cpp:1025: error: 'LIBMTP_Get_Storageinfo' was not declared in this scope
make[5]: *** [mtpmediadevice.lo] Error 1
make[5]: Leaving directory `/home/andrew/Desktop/amarok-1.4.4/amarok/src/mediadevice/mtp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/andrew/Desktop/amarok-1.4.4/amarok/src/mediadevice'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/andrew/Desktop/amarok-1.4.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andrew/Desktop/amarok-1.4.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andrew/Desktop/amarok-1.4.4'
make: *** [all] Error 2


Could someone care to help at all?

Thanks

Andrew Gee
Webspot
Registered Member
Posts
2
Karma
0
OK... I managed to find a fix so I thought I'd put it here:

I found this bug report http://bugs.kde.org/show_bug.cgi?id=139489

It contains a patch I can use for the amarok source code. I patched it. Compiled again. And it work!!!

YAY!
ntetreau
Registered Member
Posts
4
Karma
0
Hi, good to hear you fixed your compile problem.  For the benefit of others reading your post, I thought I would had this:

Unfortunately amarok 1.4.4 does not compile with the latest version of libmtp >0.1.0.  So make sure to remove completely libmtp 0.1.1, 0.1.2, or 0.1.3 and reinstall libmtp-0.1.0.

For more info check this howto and thread on the ubuntu forum
http://ubuntuforums.org/showthread.php?t=199250


Bookmarks



Who is online

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