Installing XMMS on Ubuntu 8.04

Posted: May 25th, 2008 | Author: | Filed under: IT Related | Tags: , , | 48 Comments »

After Gentoo and Slackware, now is the time for Ubuntu removing XMMS packages from their repo. How SAD! And for those who still want XMMS installed in their Ubuntu, here is the tip.

This this is originally written by Sartek and modified by me

Update your packages list

sudo apt-get update

Now install build-essential

sudo apt-get install build-essential

Alright, now we need to install the XMMS’s dependencies

sudo apt-get install autotools-dev automake1.9 libtool gettext libasound2-dev libaudiofile-dev libgl1-mesa-dev libglib1.2-dev libgtk1.2-dev libesd0-dev libice-dev libmikmod2-dev libogg-dev libsm-dev libvorbis-dev libxxf86vm-dev libxml-dev libssl-dev

Now create a working directory and change into that directory

mkdir ~/build
cd ~/build

Download XMMS sources:

wget http://xmms.org/files/1.2.x/xmms-1.2.11.tar.gz

Extract the file and enter the extracted directory

tar xvf xmms-1.2.11.tar.gz
cd xmms-1.2.11/

Run configure with –prefix=/usr

./configure --prefix=/usr

In my case (Intel Pentium Core Duo), I’ve enable CFLAGS options for processor optimization

CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" ./configure --prefix=/usr --enable-gnutls=yes

You can simply use the command without the CFLAGS above, or if you want to optimize the pidgin to suit your processor, you can refer to Safe_Cflags page (Gentoo.. uhukk..)

Now compile it and install it

make
sudo make install

Now lets create the shortcut in your Gnome Menu

Right click on your Gnome Menu, and click on Edit Menu and follow these pictures:

Finish! now just simply remove your build (working) directory

cd ~
rm -dfr ~/build

Haih… Event XMMS is not in the repo… seriously Ubuntu 8.04 is a mistake!


48 Comments on “Installing XMMS on Ubuntu 8.04”

  1. 1 JohnTsY said at 1:50 PM on May 26th, 2008:

    Thanks!!

  2. 2 eyereex said at 10:19 AM on May 29th, 2008:

    btul2!! btw, wtf is PulseAudio?? bnyk game/app ade sound issue in hardy..

    kalo bleh tlg resolvekan Tremulous no sound issue pun cun gak.. hehe

  3. 3 Rainmaker said at 7:49 PM on June 11th, 2008:

    Thanks, exelent tip

  4. 4 GattaNegra said at 10:12 PM on June 17th, 2008:

    Hello, my friend!
    Great many thanks from me!
    I REALLY ploughed the Internet for days until I found your page!
    You saved the day!

  5. 5 Nickolas Horgan said at 2:30 AM on June 18th, 2008:

    Thanks !!! XMMS rocks the party that rocks the party !!!
    Ubuntu 8.04 would be crap without XMMS.

  6. 6 Daniel said at 5:56 AM on June 20th, 2008:

    Thanks

  7. 7 Sanjeewa said at 10:42 AM on June 22nd, 2008:

    This works perfectly. Thanks.

  8. 8 Aaron said at 12:13 AM on July 27th, 2008:

    Great tutorial. Streamtuner requires XMMS, which seems strange to me that there isn’t a dependency.

    Editing the menu in KDE to add the XMMS icon is very easy. Right click on Multimedia and select “Edit Menu”. The screen will be very similar to what’s in this tutorial.

  9. 9 tjetjep said at 8:10 PM on August 23rd, 2008:

    Great…it’s easiest way to install xmmms on my ubuntu 8.04, it’s working now, thank’s

  10. 10 Tomas Pruzina said at 6:24 PM on August 25th, 2008:

    Thx a lot!!!!

  11. 11 hells yeah said at 11:21 AM on August 27th, 2008:

    Thanks!! Now I can use Streamtuner again!!!
    This is an invaluable write-up.

  12. 12 poutinho said at 9:48 AM on September 2nd, 2008:

    Very good job!!!

    Thanks for this great tutorial, it’s easy to install, works fine on my eeepc 900 with processor optimization (celeron M) and gcc4.2.

    The only bug is when I select the size x2 … it crash ๐Ÿ™
    But finally, I enjoy to have again XMMS … ThX a LoT !.!.!

  13. 13 AlphA said at 11:44 PM on September 4th, 2008:

    Works like a charm – thanks.

    8.04 is the worse version I have sued (used 4.10)

  14. 14 Friki said at 7:20 PM on September 8th, 2008:

    Thanks, exelent tip, How to uninstal XMMS on Ubuntu 8.04 ?

  15. 15 karyadi said at 4:31 AM on September 15th, 2008:

    Thanks
    Even better sratek explaination

  16. 16 karyadi said at 4:32 AM on September 15th, 2008:

    I meant this is much better from the explanation from sartek. thanks again

  17. 17 karyadi said at 4:41 AM on September 15th, 2008:

    but after I installed it, I tried to play wma files. and no sound come out.

  18. 18 xanda said at 9:09 AM on September 15th, 2008:

    you can try:-

    sudo apt-get install alien
    wget http://mcmcc.bat.ru/xmms-wma/xmms-wma-1.0.5-1.i386.rpm
    sudo alien -d xmms-wma-1.0.5-1.i386.rpm
    sudo dpkg -i xmms-wma-1.0.5-1.i386.deb
  19. 19 ballboy said at 6:27 PM on September 17th, 2008:

    Cool! thanks, needed it for streamtuner and dvd::rip (which i want to use for genuine reasons) – what is the reason for being removed from the repository? Is it a licence issue for a component of the app?

  20. 20 jfrg said at 10:02 PM on September 17th, 2008:

    Thanks very much. I’m not a programmer and I’m new to ubuntu (Kubuntu actually) butI’ve been using xmms on Mandrake/Mandriva for 6 years now. I was/am amazed that xmms was not included with ubuntu.

    Any suggestion as to why the X2 feasture doesn’t work? The default xmms window is really tiny on today’s hi-res screens.

    Anyway thanks again. I really appreciate it.

  21. 21 HockeyBob said at 12:50 AM on September 18th, 2008:

    Thank you very much – this worked like a champ on my R51 IBM laptop, running Kubuntu 8.04. Another step further away from Microsoft; this is a good thing!

  22. 22 xanda said at 9:12 AM on September 18th, 2008:

    ballboy: they remove it because there is nobody maintaining xmms anymore

  23. 23 gorkiana maxima said at 6:37 PM on September 22nd, 2008:

    Thank you.

  24. 24 Alex B said at 1:49 AM on September 30th, 2008:

    Thanks a lot…

  25. 25 Swanky said at 9:31 PM on October 6th, 2008:

    Thanks mate.. Installing. ๐Ÿ™‚

  26. 26 Chris said at 9:29 AM on October 10th, 2008:

    Hey great stuff. Ubuntu should listen and put it back in the reps..!!! ๐Ÿ™‚

  27. 27 Prabhakar said at 2:03 PM on October 31st, 2008:

    Cool thanks, it works. Without even changing a step. Good work buddy keep posting these king of stuff

  28. 28 colonos said at 6:58 AM on November 3rd, 2008:

    There is some update info on xmms here, incl. a repository and wma and mp4:
    http://colonos.wordpress.com/2008/11/01/dont-cross-the-river-for-water-xmms-deb-for-intrepid/

  29. 29 lethe said at 9:15 AM on November 4th, 2008:

    Omg, it really works!!! Thank you so much, you saved my day ๐Ÿ™‚

  30. 30 PedroM said at 6:33 AM on November 7th, 2008:

    tks
    one more time, you saved the day

  31. 31 d3nali said at 10:16 AM on December 11th, 2008:

    Another linux newbie tryin to figure things out.

    This is a great “how to” btw, but I’m still having troubles. This is probably (hopefully) a no brainer, but I’m startin to go nuts. I’m running heron 8.04 on a acer aspireone. I went through all the steps listed above and I think the problems started when got to the “Run configure with โ€“prefix=/usr” step which gave the below output:

    root@d3nali-laptop:~/build/xmms-1.2.11# ./configure –prefix=/usr
    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for gawk… no
    checking for mawk… mawk
    checking whether make sets $(MAKE)… yes
    checking for gcc… gcc
    checking for C compiler default output file name… a.out
    checking whether the C compiler works… yes
    checking whether we are cross compiling… no
    checking for suffix of executables…
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ANSI C… none needed
    checking for style of include used by make… GNU
    checking dependency style of gcc… gcc3
    checking for strerror in -lcposix… no
    checking whether byte ordering is bigendian… no
    checking for inline… inline
    checking for an ANSI C-conforming const… yes
    checking whether assembler supports –noexecstack option… .section .note.GNU-stack,””,@progbits
    yes
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether ln -s works… yes
    checking whether make sets $(MAKE)… (cached) yes
    checking for a sed that does not truncate output… /bin/sed
    checking for egrep… grep -E
    checking for ld used by gcc… /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld… yes
    checking for /usr/bin/ld option to reload object files… -r
    checking for BSD-compatible nm… /usr/bin/nm -B
    checking how to recognise dependent libraries… pass_all
    checking how to run the C preprocessor… gcc -E
    checking for ANSI C header files… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking dlfcn.h usability… yes
    checking dlfcn.h presence… yes
    checking for dlfcn.h… yes
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking dependency style of g++… gcc3
    checking how to run the C++ preprocessor… g++ -E
    checking for g77… no
    checking for f77… no
    checking for xlf… no
    checking for frt… no
    checking for pgf77… no
    checking for fort77… no
    checking for fl32… no
    checking for af77… no
    checking for f90… no
    checking for xlf90… no
    checking for pgf90… no
    checking for epcf90… no
    checking for f95… no
    checking for fort… no
    checking for xlf95… no
    checking for ifc… no
    checking for efc… no
    checking for pgf95… no
    checking for lf95… no
    checking for gfortran… no
    checking whether we are using the GNU Fortran 77 compiler… no
    checking whether accepts -g… no
    checking the maximum length of command line arguments… 32768
    checking command to parse /usr/bin/nm -B output from gcc object… ok
    checking for objdir… .libs
    checking for ar… ar
    checking for ranlib… ranlib
    checking for strip… strip
    checking if gcc supports -fno-rtti -fno-exceptions… no
    checking for gcc option to produce PIC… -fPIC
    checking if gcc PIC flag -fPIC works… yes
    checking if gcc static flag -static works… yes
    checking if gcc supports -c -o file.o… yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries… yes
    checking whether -lc should be explicitly linked in… no
    checking dynamic linker characteristics… GNU/Linux ld.so
    checking how to hardcode library paths into programs… immediate
    checking whether stripping libraries is possible… yes
    checking if libtool supports shared libraries… yes
    checking whether to build shared libraries… yes
    checking whether to build static libraries… no
    configure: creating libtool
    appending configuration tag “CXX” to libtool
    checking for ld used by g++… /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld… yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
    checking for g++ option to produce PIC… -fPIC
    checking if g++ PIC flag -fPIC works… yes
    checking if g++ static flag -static works… yes
    checking if g++ supports -c -o file.o… yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
    checking dynamic linker characteristics… GNU/Linux ld.so
    checking how to hardcode library paths into programs… immediate
    appending configuration tag “F77” to libtool
    checking pthread.h usability… yes
    checking pthread.h presence… yes
    checking for pthread.h… yes
    checking for glib-config… no
    checking for GLIB – version >= 1.2.2… no
    *** The glib-config script installed by GLIB could not be found
    *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GLIB_CONFIG environment variable to the
    *** full path to glib-config.
    configure: error: *** GLIB >= 1.2.2 not installed – please install first ***

    I’m not exactly sure what GLIB is, but I ran “locate glib” from root and it’s all over the place so I think it’s installed? Anyway, when I click on the XMMS icon from the app menu i get the error – “failed to execute child process “xmms” (no such file or dir)”

    Again I’m a new, newbie so any help is greatly appreciated.

    Thanks in advance!

  32. 32 Uwe Brauer said at 12:09 AM on December 12th, 2008:

    Hello

    after compiling and installing via make install
    I obtain the following error:
    xmms: error while loading shared libraries: libxmms.so.1: cannot open shared ob
    ject file: No such file or directory

    what shall I do

    Uwe Brauer

  33. 33 eek said at 11:01 AM on December 13th, 2008:

    dude,

    Thanks, tons! Easy to follow, easy to use. thanks for sharing knowledge w/ the world!

    ~E

  34. 34 deadmnky said at 2:16 AM on December 31st, 2008:

    thank you i was bummed when hardy got rid of xmms but now i got it back. now i can listen to jungle streams again

  35. 35 the bone said at 10:07 PM on January 11th, 2009:

    I get a crash when I press “double size”
    Message: device: default
    Gdk-ERROR **: BadMatch (invalid parameter attributes)
    serial 1801 error_code 8 request_code 72 minor_code 0
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xb7a63767]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb7a6381e]
    #2 /usr/lib/libX11.so.6 [0xb7c1b518]
    #3 /usr/lib/libX11.so.6(XSync+0x25) [0xb7c10205]
    #4 /usr/lib/libgdk-1.2.so.0(gdk_flush+0x2a) [0xb7d6e82a]
    #5 /usr/lib/libgdk-1.2.so.0(gdk_image_destroy+0x95) [0xb7d76515]
    #6 /usr/lib/libgdk-1.2.so.0(gdk_image_exit+0x2a) [0xb7d765da]
    #7 /usr/lib/libgdk-1.2.so.0 [0xb7d63305]
    #8 /lib/tls/i686/cmov/libc.so.6(exit+0xd4) [0xb7a96084]
    #9 /usr/lib/libgdk-1.2.so.0 [0xb7d634d1]
    #10 /usr/lib/libX11.so.6(_XError+0xfe) [0xb7c1473e]
    #11 /usr/lib/libX11.so.6 [0xb7c1be5c]
    #12 /usr/lib/libX11.so.6(_XReply+0x15a) [0xb7c1c21a]
    #13 /usr/lib/libX11.so.6(XSync+0x6a) [0xb7c1024a]
    #14 /usr/lib/libgdk-1.2.so.0(gdk_flush+0x2a) [0xb7d6e82a]
    #15 /home/paul/build/xmms/xmms-1.2.11/xmms/.libs/lt-xmms(draw_main_window+0x329) [0x8084ea9]
    #16 /home/paul/build/xmms/xmms-1.2.11/xmms/.libs/lt-xmms(set_doublesize+0x96) [0x80897c6]
    #17 /home/paul/build/xmms/xmms-1.2.11/xmms/.libs/lt-xmms(mainwin_options_menu_callback+0x3a5) [0x808a535]
    #18 /usr/lib/libgtk-1.2.so.0 [0xb7e214c6]
    #19 /usr/lib/libgtk-1.2.so.0(gtk_marshal_NONE__NONE+0x16) [0xb7e34b06]
    Gdk-ERROR **: BadMatch (invalid parameter attributes)
    serial 1802 error_code 8 request_code 72 minor_code 0

  36. 36 Ivan Cross said at 3:10 AM on January 16th, 2009:

    Thanks a lot man ! that was an outstanding tip. It worked perfectly

  37. 37 thrain2 said at 2:23 AM on January 30th, 2009:

    @Uwe Brauer and anyone else who gets the

    “xmms: error while loading shared libraries: libxmms.so.1: cannot open shared object file: No such file or directory”

    error. xmms is looking for the file libxmms.so.1 in the directory /usr/lib/ , whereas you probably put it in /usr/local/lib/. To fix, make a symbolic link between the two:
    ln -s /usr/local/lib/libxmms.so.1 /usr/lib/libxmms.so.1

  38. 38 josh said at 5:38 AM on January 31st, 2009:

    muchas gracias, es muy bueno

  39. 39 Marc said at 2:11 PM on February 8th, 2009:

    Thanks
    Work very fine on Ubuntu 8.10 Intrepid Ibex

  40. 40 Parmanand said at 12:48 AM on April 13th, 2009:

    @Uwe Brauer

    sudo apt-get install libgtk1.2-dev

    http://ubuntuforums.org/showthread.php?t=122751

  41. 41 Mehmet Rฤฑza said at 7:02 PM on April 18th, 2009:

    Thanks alot

  42. 42 Fernando said at 9:59 AM on June 30th, 2009:

    Thanks a lot!! Tried in Kubuntu 9.04, works perfectly.

  43. 43 sacha said at 7:46 PM on July 29th, 2009:

    Thanks XMMS is the best mp3 player on linux for me, just cannot change it for the buggy audacious.
    XMMS rocks the party that rocks the party !!!

  44. 44 xanda said at 10:15 PM on July 29th, 2009:

    @sacha
    agree!

  45. 45 Jerry said at 12:24 PM on August 18th, 2009:

    @the bone

    I solved the crash by simply set env variable XLIB_SKIP_ARGB_VISUALS to 1.

  46. 46 someone said at 4:41 AM on August 31st, 2009:

    good job!
    excellent tutorial!

    works fine on ubuntu 9.04!

  47. 47 Melvin said at 11:14 AM on September 1st, 2010:

    Thank you for a easy to understand how to do.I want to say THANK YOU!

  48. 48 vijesh said at 7:47 PM on June 6th, 2011:

    sudo apt-get install autotools-dev automake1.9 libtool gettext libasound2-dev libaudiofile-dev libgl1-mesa-dev libglib1.2-dev libgtk1.2-dev libesd0-dev libice-dev libmikmod2-dev libogg-dev libsm-dev libvorbis-dev libxxf86vm-dev libxml-dev libssl-dev
    this not working in my ubuntu 11.10 system why?


Leave a Reply