Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

  1. #21
    Join Date
    Jun 2007
    Beans
    16,373

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by dentaku65 View Post
    Hi mc4man,

    what about to use Trinity Desktop packages for Oneiric?
    http://www.trinitydesktop.org/installation.php#ubuntu

    I'm waiting them with Precise version in order to start again the "resurrection" of Amarok 1.4

    Unfortunately their version of Amarok 1.4 (amarok-trinity) do not have the precious patches proposed here, so we need to compile it from the sources.
    I don't have a 11.10 install anymore - I know I tried out trinity - can't quite remember why I decided to go with Ubuntu/Debian libs

    As far as 12.04 - there are several things to take into consideration & maybe at the end of the day the trinity or trinity source files may be the best direction
    (ATM the trinity packages are not installable in 12.04, certainly not without some help..

    The 1st. thing to deal with is libtunepimp.. is not in precise & it's not simply a matter of providing

    The 2nd issue may revolve around libjpeg, precise's dev is a dep package to the 8 version, but at least one of the kde deps requires libjpeg62

    Anyway to check out I just today put in a new 12.04 install so used my 11.10 method.
    I had to remove libtunepimp-dev from the pre-installs & add 2 packages
    (libjpeg62 libidn11-dev

    Then proceeded as laid out, was curious to see what would happen about libjpeg62 & libjpeg-dev (libjpeg8-dev

    Actually the build, install & running went fine, all seems ok with amarok though I've only done a short test.
    As far as libjpeg it's using the 8 version with no apparent ill effect (not to say there won't be, What's it used for?

    Seen here -
    ldd /usr/bin/amarok
    linux-gate.so.1 => (0xb779d000)
    libkdecore.so.4 => /usr/lib/libkdecore.so.4 (0xb7595000)
    libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0xb6e30000)
    libkdeui.so.4 => /usr/lib/libkdeui.so.4 (0xb6b8d000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6a91000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb68eb000)
    libDCOP.so.4 => /usr/lib/libDCOP.so.4 (0xb68b9000)
    libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb68a2000)
    libidn.so.11 => /usr/lib/i386-linux-gnu/libidn.so.11 (0xb686d000)
    libkdefx.so.4 => /usr/lib/libkdefx.so.4 (0xb6844000)
    libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb683b000)
    libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb6821000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb66ed000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb66d6000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb66d1000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb66a5000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6687000)
    libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb6653000)
    libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb6639000)
    libjpeg.so.8 => /usr/lib/i386-linux-gnu/libjpeg.so.8 (0xb65e3000)
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb65b9000)
    libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb65a9000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb659f000)
    libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb6595000)
    libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb658a000)
    libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb6586000)
    libXft.so.2 => /usr/lib/i386-linux-gnu/libXft.so.2 (0xb6570000)
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb64d6000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb64c3000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb64a8000)
    /lib/ld-linux.so.2 (0xb779e000)
    libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb64a2000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6481000)
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb6456000)
    libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb63fa000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb63f6000)
    libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb63f0000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb63e9000)
    A continuing minor issue is the systray icon without transparency

    As far as a unity launcher icon if desired to open amarok - I altered the Exec= in the .desktop from Exec=amarok to Exec=amarokapp
    This way a pinned icon opens amarok without a 2nd icon opening.
    (maybe could develop some quicklists, dunno yet

    If you want to go trinity source, either as is or when they do a precise set let me know...
    Attached Images Attached Images

  2. #22
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    I've tried your method on Precise, but I'm stuck with this error on make command

    grep: /usr/lib/libgnutls.la: No such file or directory
    /bin/sed: can't read /usr/lib/libgnutls.la: No such file or directory
    libtool: link: `/usr/lib/libgnutls.la' is not a valid libtool archive
    make[5]: *** [libamarok_ipod-mediadevice.la] Error 1
    make[5]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src/mediadevice/ipod'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src/mediadevice'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/sava/Source/amarok-1.4.10'
    make: *** [all] Error 2
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  3. #23
    Join Date
    Jun 2007
    Beans
    16,373

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Are you on a 64 bit bit install?
    (didn't have a chance to try that yet & there have been all these multiarch changes

    Tonight maybe I'll do a 64 bit install & see if that's what you have (or anyway to see

    Edit - have a few minutes so tried on a Fresh 64 bit - went fine - maybe run a make distclean, run a new configure & post

    Attached complete build log from 64 bit, maybe some use, maybe not

    Otherwise only diff from 11.10
    Code:
    sudo apt-get install libgpod-common libgpod-dev libgpod4  libxine-dev \
    libtag1-dev libsqlite3-dev libmysqlclient-dev libpq-dev \
    libvisual-0.4-dev libsdl1.2-dev libifp-dev libxine1 libxine1-ffmpeg \
    build-essential checkinstall ruby ruby-dev libruby libltdl-dev libxmu-dev \
    libjpeg-dev libmng-dev libcups2-dev libart-2.0-dev libacl1-dev libattr1-dev \
    libaspell-dev libbz2-dev libjasper-dev libopenexr-dev libpcre3-dev liblualib50-dev \
    libsasl2-dev libtiff4-dev libxml2-dev  gettext-kde libxslt1-dev  kdelibs5-data \
    libavahi-common-dev qt3-dev-tools python-scour pkg-kde-tools kdesdk-scripts \
    libjpeg62 libidn11-dev
    add. packages -
    Code:
    $ ls /home/doug/Desktop/ama_deps 
    kdelibs4c2a_3.5.10.dfsg.1-5ubuntu2_amd64.deb   libmp4v2-0_1.6dfsg-0.2ubuntu9_amd64.deb
    kdelibs4-dev_3.5.10.dfsg.1-5ubuntu2_amd64.deb  libmp4v2-dev_1.6dfsg-0.2ubuntu9_amd64.deb
    kdelibs-data_3.5.10.dfsg.1-5ubuntu2_all.deb    libmpeg4ip-0_1.6dfsg-0.2ubuntu9_amd64.deb
    libavahi-qt3-1_0.6.30-0ubuntu2_amd64.deb       libmpeg4ip-dev_1.6dfsg-0.2ubuntu9_amd64.deb
    libavahi-qt3-dev_0.6.30-0ubuntu2_amd64.deb
    Attached Files Attached Files
    Last edited by mc4man; April 9th, 2012 at 05:01 PM.

  4. #24
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by mc4man View Post
    Are you on a 64 bit bit install?
    (didn't have a chance to try that yet & there have been all these multiarch changes

    Tonight maybe I'll do a 64 bit install & see if that's what you have (or anyway to see

    Edit - have a few minutes so tried on a Fresh 64 bit - went fine - maybe run a make distclean, run a new configure & post

    Attached complete build log from 64 bit, maybe some use, maybe not

    Otherwise only diff from 11.10
    Code:
    sudo apt-get install libgpod-common libgpod-dev libgpod4  libxine-dev \
    libtag1-dev libsqlite3-dev libmysqlclient-dev libpq-dev \
    libvisual-0.4-dev libsdl1.2-dev libifp-dev libxine1 libxine1-ffmpeg \
    build-essential checkinstall ruby ruby-dev libruby libltdl-dev libxmu-dev \
    libjpeg-dev libmng-dev libcups2-dev libart-2.0-dev libacl1-dev libattr1-dev \
    libaspell-dev libbz2-dev libjasper-dev libopenexr-dev libpcre3-dev liblualib50-dev \
    libsasl2-dev libtiff4-dev libxml2-dev  gettext-kde libxslt1-dev  kdelibs5-data \
    libavahi-common-dev qt3-dev-tools python-scour pkg-kde-tools kdesdk-scripts \
    libjpeg62 libidn11-dev
    add. packages -
    Code:
    $ ls /home/doug/Desktop/ama_deps 
    kdelibs4c2a_3.5.10.dfsg.1-5ubuntu2_amd64.deb   libmp4v2-0_1.6dfsg-0.2ubuntu9_amd64.deb
    kdelibs4-dev_3.5.10.dfsg.1-5ubuntu2_amd64.deb  libmp4v2-dev_1.6dfsg-0.2ubuntu9_amd64.deb
    kdelibs-data_3.5.10.dfsg.1-5ubuntu2_all.deb    libmpeg4ip-0_1.6dfsg-0.2ubuntu9_amd64.deb
    libavahi-qt3-1_0.6.30-0ubuntu2_amd64.deb       libmpeg4ip-dev_1.6dfsg-0.2ubuntu9_amd64.deb
    libavahi-qt3-dev_0.6.30-0ubuntu2_amd64.deb
    I did a make distclean and configure again
    Code:
    ./configure --without-arts  LDFLAGS='-lkdecore -lDCOP -lkdefx -lkparts'
    But during the make I get this error again
    grep: /usr/lib/libgnutls.la: No such file or directory
    /bin/sed: can't read /usr/lib/libgnutls.la: No such file or directory
    libtool: link: `/usr/lib/libgnutls.la' is not a valid libtool archive
    make[5]: *** [libamarok_ipod-mediadevice.la] Error 1
    make[5]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src/mediadevice/ipod'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src/mediadevice'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/sava/Source/amarok-1.4.10'
    make: *** [all] Error 2
    Runing xubuntu precise 32bit
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  5. #25
    Join Date
    Jun 2007
    Beans
    16,373

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by dentaku65 View Post
    I did a make distclean and configure again
    Code:
    ./configure --without-arts  LDFLAGS='-lkdecore -lDCOP -lkdefx -lkparts'
    But during the make I get this error again


    Runing xubuntu precise 32bit
    Unfortunately I tend to resolve such things thru trial & error (attempted logically) rather than any grand knowledge -
    Give me a hr or 2 & I'll try on a live xubuntu session, should have enough ram to do

    Is libgnutls-dev installed (should be), & is there a /usr/lib/i386-linux-gnu/libgnutls.a & a /usr/lib/i386-linux-gnu/pkgconfig/gnutls.pc

    I guess the first thing I'd try is adding it to the configure though don't think it's exactly proper

    Code:
    ./configure --without-arts  LDFLAGS='-lkdecore -lDCOP -lkdefx -lkparts -lgnutls'
    (Though for that build, no mp4v2, I still use --enable-mysql

    Have you built any related packages like gpod or installed non-repo packages?

    If unresolvable maybe some of the talented people in the dev/compiling sub-forum would know

    As seen here the plugin does link on my various ubuntu builds

    ldd /usr/lib/kde3/libamarok_ipod-mediadevice.so
    .....clipped
    libgnutls.so.26 => /usr/lib/i386-linux-gnu/libgnutls.so.26 (0xb4c28000)

    The other thing you could do is after a ./configure attach here the makefile from amarok/src/mediadevice/ipod

  6. #26
    Join Date
    Jun 2007
    Beans
    16,373

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Booted to todays Xubuntu image & did the build in the live session
    Other then I've never used Xubuntu all went fine
    Used my posted ./configure & the same without mysql, both went fine & amarok is up & running

    So I guess you could spend some time to try to figure what's gone south with your install or at some point copy out anything of interest & do a fresh install
    I'd go for the latter, dev installs can go bad & sometimes best to abandon & start fresh
    You could ck. that those files I mentioned are installed, maybe purge libgnutls-dev & re-install it & whatever else gets removed.
    (also re-run the apt-get, then the dpkg -i *.deb
    Attached Images Attached Images

  7. #27
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by mc4man View Post
    Booted to todays Xubuntu image & did the build in the live session
    Other then I've never used Xubuntu all went fine
    Used my posted ./configure & the same without mysql, both went fine & amarok is up & running

    So I guess you could spend some time to try to figure what's gone south with your install or at some point copy out anything of interest & do a fresh install
    I'd go for the latter, dev installs can go bad & sometimes best to abandon & start fresh
    You could ck. that those files I mentioned are installed, maybe purge libgnutls-dev & re-install it & whatever else gets removed.
    (also re-run the apt-get, then the dpkg -i *.deb
    Thx mac4man for your support,

    I've tried everything from the begininng but I still have the same issue
    /bin/bash ../../../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/lib -R /usr/lib -pthread -L/usr/local/lib -lgpod -lgdk_pixbuf-2.0 -limobiledevice -lgobject-2.0 -lplist -lusbmuxd -lgthread-2.0 -lrt -lgnutls -ltasn1 -lglib-2.0 -lkdecore -lDCOP -lkdefx -lkparts -lgnutls -o libamarok_ipod-mediadevice.la -rpath /usr/lib/kde3 ipodmediadevice.lo ../../../../amarok/src/libamarok.la
    grep: /usr/lib/libgnutls.la: No such file or directory
    /bin/sed: can't read /usr/lib/libgnutls.la: No such file or directory
    libtool: link: `/usr/lib/libgnutls.la' is not a valid libtool archive
    make[5]: *** [libamarok_ipod-mediadevice.la] Error 1
    make[5]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src/mediadevice/ipod'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src/mediadevice'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/sava/Source/amarok-1.4.10/amarok'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/sava/Source/amarok-1.4.10'
    make: *** [all] Error 2
    I've also tried to find libgnutls.la and does not exist on my box
    Code:
    sudo updatedb && locate libgnutls.la
    I think that the issue is derived somehow because I did a version upgrade (from Lucid to Precise); of course the libgnutls-dev is installed.
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  8. #28
    Join Date
    Jun 2007
    Beans
    16,373

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by dentaku65 View Post
    Thx mac4man for your support,

    I've tried everything from the begininng but I still have the same issue


    I've also tried to find libgnutls.la and does not exist on my box
    Code:
    sudo updatedb && locate libgnutls.la
    I think that the issue is derived somehow because I did a version upgrade (from Lucid to Precise); of course the libgnutls-dev is installed.
    Well it can't find because it doesn't exist in 12.04 but did in 10.04

    I'd try a purge. & re-install (maybe even restart/ldconfig in between

    If still no go then it's worthy of a bug report

    http://packages.ubuntu.com/lucid/libgnutls-dev/filelist

    http://packages.ubuntu.com/precise/l...s-dev/filelist

    Edit maybe also re-install libtool libltdl-dev ?
    Last edited by mc4man; April 10th, 2012 at 08:52 AM.

  9. #29
    Join Date
    Apr 2012
    Beans
    1

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    I guess you could spend some time to try to figure what's gone south with your install or at some point copy out anything of interest & do a fresh install I'd go for the latter, dev installs can go bad & sometimes best to abandon & start fresh You could ck. that those files I mentioned are installed, maybe purge libgnutls-dev & re-install it & whatever else gets removed.

  10. #30
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by mc4man View Post
    Well it can't find because it doesn't exist in 12.04 but did in 10.04

    I'd try a purge. & re-install (maybe even restart/ldconfig in between

    If still no go then it's worthy of a bug report

    http://packages.ubuntu.com/lucid/libgnutls-dev/filelist

    http://packages.ubuntu.com/precise/l...s-dev/filelist

    Edit maybe also re-install libtool libltdl-dev ?
    I confirm, this file do not exist in Precise
    http://packages.ubuntu.com/search?su...s=libgnutls.la
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

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
  •