Page 1 of 15 12311 ... LastLast
Results 1 to 10 of 143

Thread: [How-To] Install Amarok with MTP-Device Support

  1. #1
    Join Date
    Jun 2006
    Location
    ~wfarr
    Beans
    409

    [How-To] Install Amarok with MTP-Device Support

    The scripts are broken at the moment. Use manual instructions please.


    As of recent builds of Amarok by the devs, and the release of a recent libmtp, it is now possible to install Amarok with support for your MTP device.

    Note: This article was written mainly for Feisty users. However, it is possible to install this without Feisty. You will need to locate the corresponding updated libs which can be found in http://archive.ubuntu.com/pool.

    Method 1: Installation Script

    Download one of the tarballs at the bottom of this post. Untar them, read the README, and go.

    If you are using Edgy, use 1.2.2. If you are using Feisty, either tarball should work.


    Method 2: Install yourself

    These steps are a copy/paste of the same steps used in the install script.

    1. Upgrade the system

    Code:
    sudo apt-get update
    sudo apt-get dist-upgrade
    2. Make the install directory.

    Code:
    cd ~
    mkdir amarok-with-mtp_dir
    cd amarok-with-mtp_dir
    3. Obtain the files.

    Code:
    If on Feisty:
    wget "http://archive.ubuntu.com/ubuntu/pool/main/a/amarok/amarok_1.4.4-0.3ubuntu2_i386.deb"
    wget "http://archive.ubuntu.com/ubuntu/pool/main/a/amarok/amarok-xine_1.4.4-0.3ubuntu2_i386.deb"[/color]
    
    If on Edgy:
    sudo apt-get source amarok
    
    Do either way:
    wget "http://downloads.sourceforge.net/libmtp/libmtp-0.1.0.tar.gz?modtime=1165440680&big_mirror=0"
    4. Install libmtp.

    Code:
    tar -zxvf libmtp-0.1.0.tar.gz
    cd libmtp-0.1.0/
    ./configure --prefix=/usr
    sudo make
    sudo checkinstall
    sudo cp libmtp.rules /etc/udev/rules.d/
    cd ../
    5. Install Amarok

    Code:
    If on Feisty:
    
    sudo dpkg -i amarok_1.4.4-0.3ubuntu2_i386.deb
    sudo dpkg -i amarok-xine_1.4.4-0.3ubuntu2_i386.deb
    
    If on Edgy:
    sudo chmod 700 amarok*
    cd amarok-1.4*
    sudo apt-get build-dep amarok
    ./configure --with-njb --with-mtp --prefix=`kde-config --prefix`
    make
    sudo make install
    sudo apt-get install amarok-xine
    6. Choose one of the below options:

    6A. Restart the computer.

    6B. Run the following command, and restart Amarok:

    Code:
    sudo /etc/init.d/udev restart
    7. You're done. Just plug your MTP device in with Amarok open and it should auto-detect.



    Changelog:
    11.12.2006 - Added 1.2.2 bug fix.
    11.12.2006 - Added 1.2.1 bug fix.
    11.12.2006 - First beta for Edgy support, 1.2.0.
    11.12.2006 - fixed minor typo.
    Attached Files Attached Files
    Last edited by ButteBlues; December 24th, 2006 at 01:04 AM.

  2. #2

    Re: [How-To] Install Amarok with MTP-Device Support

    Hi!
    It seems that there is an error in the manual installation instructions!
    Indeed, for the second package we donwloadn, the instruction should be
    Code:
    wget "http://archive.ubuntu.com/ubuntu/pool/main/a/amarok/amarok-xine_1.4.4-0.3ubuntu2_i386.deb"
    and Not
    Code:
    wget "http://archive.ubuntu.co/ubuntu/pool/main/a/amarok/amarok-xine_1.4.4-0.3ubuntu2_i386.deb"
    (notice the "M" missing in ubuntu.coM)

    Anyway, it's a great script
    Thanks !

    Splitsch

  3. #3

    Re: [How-To] Install Amarok with MTP-Device Support

    Hello !
    I get a dependencies error.
    libmtp install itself fine, then, whenever I try to install either amarok or amarok-xine, I have depedencies error, about kdelibs4c2a, libc6, libfontconfig1, libgcc1, libmtp2, libqt3-mt.
    Here is the error message (in french)

    Code:
    dpkg : des problèmes de dépendances empêchent la configuration de amarok :
     amarok dépend de kdelibs4c2a (>= 4:3.5.5-1) ; cependant :
      La version de kdelibs4c2a sur le système est 4:3.5.5-0ubuntu3.
     amarok dépend de libc6 (>= 2.5-0ubuntu1) ; cependant :
      La version de libc6 sur le système est 2.4-1ubuntu12.
     amarok dépend de libfontconfig1 (>= 2.4.0) ; cependant :
      La version de libfontconfig1 sur le système est 2.3.2-7ubuntu2.
     amarok dépend de libgcc1 (>= 1:4.1.1-20ubuntu1) ; cependant :
      La version de libgcc1 sur le système est 1:4.1.1-13ubuntu5.
     amarok dépend de libmtp2 (>= 0.0.18) ; cependant :
      Le paquet libmtp2 n'est pas installé.
     amarok dépend de libqt3-mt (>= 3:3.3.7) ; cependant :
      La version de libqt3-mt sur le système est 3:3.3.6-3ubuntu3.
     amarok dépend de libstdc++6 (>= 4.1.1-20ubuntu1) ; cependant :
      La version de libstdc++6 sur le système est 4.1.1-13ubuntu5.
    dpkg : erreur de traitement de amarok (--install) :
     problèmes de dépendances - laissé non configuré
    Des erreurs ont été rencontrées pendant l'exécution :
     amarok
    I'm running ubuntu edgy eft, fully updated...Maybe my sources.list isn't good enough...?
    Or the mirror need time to update...
    Do you have any solution, please ?

    Thanks a lot

  4. #4
    Join Date
    Jun 2006
    Location
    ~wfarr
    Beans
    409

    Re: [How-To] Install Amarok with MTP-Device Support

    I'm running feisty, so some of those packages reflect that.

    I'll add that as a note.


    If needed, additional packages can be found in the archive.ubuntu.com pool for those libraries. They shouldn't break anything, but if they do, reverting is easy enough.

  5. #5

    Re: [How-To] Install Amarok with MTP-Device Support

    Hello!
    Okay, I give up
    Indeed, all the depedencies aren't there :s
    Anyway, if you have any idea how to get it work on edgy, I'll be the one happy :d

    Thanks

  6. #6
    Join Date
    Jun 2006
    Location
    ~wfarr
    Beans
    409

    Re: [How-To] Install Amarok with MTP-Device Support

    I'll add edgy support shortly.

  7. #7
    Join Date
    Jun 2006
    Location
    ~wfarr
    Beans
    409

    Re: [How-To] Install Amarok with MTP-Device Support

    First test of Edgy support has been added.

    I need edgy users to check both the Manual and scripted installation (choose amarok-with-mtp_1.2.0.tar.gz if trying the script under edgy).

    Please report any errors here.

  8. #8
    Join Date
    Sep 2006
    Location
    Frisco, TX
    Beans
    119
    Distro
    Ubuntu 6.10 Edgy

    Re: [How-To] Install Amarok with MTP-Device Support

    Anybody know why the Amarok in the official repos would lack mtp and other features? I continue to be frustrated with the repository method of installing software. Seems like a good idea, but it just doesn't seem to work in lots of cases.

    Edit:

    I got the following error message when running the 1.1.0 script on edgy:

    ./amarok-with-mtp: line 55: unexpected EOF while looking for matching `''
    ./amarok-with-mtp: line 62: syntax error: unexpected end of file

    Edit 2:

    appears that the script tries to mkdir a directory with the same name as the script file.
    Last edited by jrjazzman; December 12th, 2006 at 01:47 AM. Reason: error messages

  9. #9
    Join Date
    Jun 2006
    Location
    ~wfarr
    Beans
    409

    Re: [How-To] Install Amarok with MTP-Device Support

    Quote Originally Posted by jrjazzman View Post
    Anybody know why the Amarok in the official repos would lack mtp and other features? I continue to be frustrated with the repository method of installing software. Seems like a good idea, but it just doesn't seem to work in lots of cases.

    Edit:

    I got the following error message when running the 1.1.0 script on edgy:

    ./amarok-with-mtp: line 55: unexpected EOF while looking for matching `''
    ./amarok-with-mtp: line 62: syntax error: unexpected end of file

    Edit 2:

    appears that the script tries to mkdir a directory with the same name as the script file.
    1. It needs a compatible Libmtp version.

    2. The amarok in Feisty repos is built with mtp support. Just not the Edgy one.


    ===

    For edgy, please try 1.2.0. It accounts for Edgy not being compatible with certain libs.

    I'll be looking through for those bugs.

  10. #10
    Join Date
    Jun 2006
    Location
    ~wfarr
    Beans
    409

    Re: [How-To] Install Amarok with MTP-Device Support

    Script and instructions updated to reflect errors noted from jrjazzman.

Page 1 of 15 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •