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

[SOLVED] Compile 1.4.8 on Ubuntu 7.10 (Gnome)

Tags: None
(comma "," separated)
RLovelett
Registered Member
Posts
11
Karma
0
I'm trying to get Video Podcasts working on Amarok.  So I've been doing some reading and I have found that I need to go to 1.4.8 (from 1.4.7 in repos) because this allows the 3g Nano to recieve mp4 files from Amarok.  I am following the directions over here: http://amarok.kde.org/wiki/Download:Source.  I have downloaded the source, my MD5 hash matches.  Now I start going through all of the steps to compile.  I ran the sudo apt-get build-dep amarok line for Ubuntu users.  Next I run the configure command given below.

Code: Select all
./configure --with-libgpod --with-mp4v2 --with-libmtp --enable-mysql --prefix=`kde-config --prefix`


That comes back and tells me it will compile everything that I want
==========================
===  Amarok - PLUGINS  ========================================================
==========================
=
= The following extra functionality will NOT be included:
=   - NMM-engine
=   - Helix-engine
=   - yauap-engine
=   - Postgresql Support
=   - Rio Karma Support
=
= The following extra functionality will be included:
=   + xine-engine
=   + libvisual Support
=   + MySql Support
=   + Konqueror Sidebar
=   + MusicBrainz Support
=   + MP4/AAC Tag Write Support
=   + iPod Support
=   + iRiver iFP Support
=   + Creative Nomad Jukebox Support
=   + MTP Device Support
=   + DAAP Music Sharing Support
=
===============================================================================

Good - your configure finished. Start make now


I then run
Code: Select all
make
and it compiles for a minute or two and then it fails with this message:

../../amarok/src/metadata/.libs/libmetadata.a(mp4tag.o): In function `TagLib::MP4::Tag::isEmpty() const':
mp4tag.cpp:(.text+0x480): multiple definition of `TagLib::MP4::Tag::isEmpty() const'
../../amarok/src/metadata/.libs/libmetadata.a(mp4itunestag.o):mp4itunestag.cpp:(.text+0xc0): first defined here
../../amarok/src/metadata/.libs/libmetadata.a(mp4tag.o): In function `TagLib::MP4::Tag::~Tag()':
mp4tag.cpp:(.text+0x570): multiple definition of `TagLib::MP4::Tag::~Tag()'
../../amarok/src/metadata/.libs/libmetadata.a(mp4itunestag.o):mp4itunestag.cpp:(.text+0x7d0): first defined here
../../amarok/src/metadata/.libs/libmetadata.a(mp4tag.o): In function `TagLib::MP4::Tag::~Tag()':
mp4tag.cpp:(.text+0x600): multiple definition of `TagLib::MP4::Tag::~Tag()'
../../amarok/src/metadata/.libs/libmetadata.a(mp4itunestag.o):mp4itunestag.cpp:(.text+0x4d0): first defined here
../../amarok/src/metadata/.libs/libmetadata.a(mp4tag.o): In function `TagLib::MP4::Tag::~Tag()':
mp4tag.cpp:(.text+0x680): multiple definition of `TagLib::MP4::Tag::~Tag()'
../../amarok/src/metadata/.libs/libmetadata.a(mp4itunestag.o):mp4itunestag.cpp:(.text+0x720): first defined here
../../amarok/src/metadata/.libs/libmetadata.a(mp4tag.o): In function `TagLib::MP4::Tag::Tag()':
mp4tag.cpp:(.text+0x700): multiple definition of `TagLib::MP4::Tag::Tag()'
../../amarok/src/metadata/.libs/libmetadata.a(mp4itunestag.o):mp4itunestag.cpp:(.text+0x580): first defined here
../../amarok/src/metadata/.libs/libmetadata.a(mp4tag.o): In function `TagLib::MP4::Tag::Tag()':
mp4tag.cpp:(.text+0x820): multiple definition of `TagLib::MP4::Tag::Tag()'
../../amarok/src/metadata/.libs/libmetadata.a(mp4itunestag.o):mp4itunestag.cpp:(.text+0x650): first defined here
collect2: ld returned 1 exit status
make[4]: *** [libamarok.la] Error 1
make[4]: Leaving directory `/home/rlovelett/Desktop/amarok-1.4.8/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rlovelett/Desktop/amarok-1.4.8/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rlovelett/Desktop/amarok-1.4.8/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rlovelett/Desktop/amarok-1.4.8'
make: *** [all] Error 2


I'm not really sure what that means at all.  Any help would be greatly appreciated, thanks!  Also, if more info is needed please let me know!

Ryan

[SOLUTION]

In the end I could never figure out what the dependency problem was on my desktop.  In the end I just compiled it on my laptop, and made a deb file and brought it to my desktop.  I have attached the deb file in the last post.  Hope that helps everyone.

Last edited by RLovelett on Thu Mar 06, 2008 10:41 pm, edited 1 time in total.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Might be easier to just get 1.4.8 from the Ubuntu backports.


--
Mark Kretschmann - Amarok Developer
RLovelett
Registered Member
Posts
11
Karma
0
I tried the Amarok ( 1.4.8 ) in the Gutsy Backport repos and it does not support MTP.  I wrote up a full thing on it not working (The Post In UbuntuForums).  At the time I didn't realize that the problem was that I had enabled a backport.  I've since fixed that issue, but obviously MTP support was not compiled with that backport.  So I need to figure out how to compile Amarok on my own now.

Since yesterday I fixed the compile error that I had posted previously.  In the end, I'm not sure how I fixed that one entirely.  I deleted the folder I had extracted the files to, then extracted them into the folder again and did all the steps.  Which enabled it to go past that error.  Unfortunately, I now get a new error.  This time about me not having xine available (-lxine) fails.  I know that I have xine installed (libxine-dev), so I'm not sure why it did not see that xine is there.  I've tried compiling without xine (--without-xine) and it goes, but then won't work properly which isn't shocking.  In the end, I'm having a lot of issues here.  I'll see what I can do to keep working on this to get it right.  I'll keep this post updated with the steps that I've taken to get it all working correctly.  And if I get it working I'll see if I can't make a DEB file to install it on Gutsy.

Thanks,
Ryan
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
You could always come to our IRC channel (#amarok on Freenode); it's probably easier to help you there.


--
Mark Kretschmann - Amarok Developer
RLovelett
Registered Member
Posts
11
Karma
0
Well here it is.  A working 1.4.8 DEB file (or at least it worked on my system).  THE LINK IS HERE

Now what you should know about this deb.

  • My system is Ubuntu Gutsy
  • Remove amarok and amarok-xine
  • No dependency checking, you'll need to do this manually

I made it using checkinstall, and I couldn't figure out how to set dependencies.  My email is in the DEB file if you want to ask me anything directly.  So this should hold you over until Ubuntu releases there own.  The version numbers aren't technically correct to Debian standards.  However, it made my package manager work correctly and that's all I was after.  :biggrin:


Bookmarks



Who is online

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