Page 1 of 4 123 ... LastLast
Results 1 to 10 of 143

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

Hybrid View

  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
    Dec 2006
    Beans
    Hidden!

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

    I am having touble when I get to step #4 with amarok with MTP support.

    here is what happens.

    cd libmtp-0.1.0.tar.gz
    bash: cd: libmtp-0.1.0.tar.gz: Not a directory
    mark@mark-desktop:~$

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

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

    libmtp-0.1.0.tar.gz is not a directory.


    libmtp-0.1.0/ is.


    So,

    Code:
    cd libmtp-0.1.0/

    Accordingly fixed in the first post. A rewrite of this script is coming by Christmas Day.
    Last edited by ButteBlues; December 24th, 2006 at 12:48 AM.

  9. #9
    Join Date
    Apr 2006
    Beans
    57

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

    when i try to configure libmtp i get the following error. any suggestions?

    configure: error: I can't find the libusb libraries on your system. You
    may need to set the LDFLAGS environment variable to include the
    search path where you have libusb installed before running
    configure (e.g. setenv LDFLAGS=-L/usr/local/lib)

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

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

    Quote Originally Posted by djsamsel View Post
    when i try to configure libmtp i get the following error. any suggestions?

    configure: error: I can't find the libusb libraries on your system. You
    may need to set the LDFLAGS environment variable to include the
    search path where you have libusb installed before running
    configure (e.g. setenv LDFLAGS=-L/usr/local/lib)
    Try:

    Code:
    sudo apt-get install libusb libusb-dev

Page 1 of 4 123 ... 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
  •