Home > IT Related > Installing XMMS on Ubuntu 8.04

Installing XMMS on Ubuntu 8.04

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!

xanda IT Related , ,

  1. JohnTsY
    May 26th, 2008 at 13:50 | #1

    Thanks!!

  2. May 29th, 2008 at 10:19 | #2

    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. June 11th, 2008 at 19:49 | #3

    Thanks, exelent tip

  4. June 17th, 2008 at 22:12 | #4

    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. Nickolas Horgan
    June 18th, 2008 at 02:30 | #5

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

  6. Daniel
    June 20th, 2008 at 05:56 | #6

    Thanks

  7. Sanjeewa
    June 22nd, 2008 at 10:42 | #7

    This works perfectly. Thanks.

  8. Aaron
    July 27th, 2008 at 00:13 | #8

    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. tjetjep
    August 23rd, 2008 at 20:10 | #9

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

  10. Tomas Pruzina
    August 25th, 2008 at 18:24 | #10

    Thx a lot!!!!

  11. hells yeah
    August 27th, 2008 at 11:21 | #11

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

  12. September 2nd, 2008 at 09:48 | #12

    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. AlphA
    September 4th, 2008 at 23:44 | #13

    Works like a charm – thanks.

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

  14. September 8th, 2008 at 19:20 | #14

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

  15. karyadi
    September 15th, 2008 at 04:31 | #15

    Thanks
    Even better sratek explaination

  16. karyadi
    September 15th, 2008 at 04:32 | #16

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

  17. karyadi
    September 15th, 2008 at 04:41 | #17

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

  18. September 15th, 2008 at 09:09 | #18

    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. ballboy
    September 17th, 2008 at 18:27 | #19

    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. jfrg
    September 17th, 2008 at 22:02 | #20

    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. HockeyBob
    September 18th, 2008 at 00:50 | #21

    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. September 18th, 2008 at 09:12 | #22

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

  23. gorkiana maxima
    September 22nd, 2008 at 18:37 | #23

    Thank you.

  24. Alex B
    September 30th, 2008 at 01:49 | #24

    Thanks a lot…

  25. October 6th, 2008 at 21:31 | #25

    Thanks mate.. Installing. :)

  26. Chris
    October 10th, 2008 at 09:29 | #26

    Hey great stuff. Ubuntu should listen and put it back in the reps..!!! :-)

  27. Prabhakar
    October 31st, 2008 at 14:03 | #27

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

  28. November 3rd, 2008 at 06:58 | #28

    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. lethe
    November 4th, 2008 at 09:15 | #29

    Omg, it really works!!! Thank you so much, you saved my day :)

  30. PedroM
    November 7th, 2008 at 06:33 | #30

    tks
    one more time, you saved the day

  31. d3nali
    December 11th, 2008 at 10:16 | #31

    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. Uwe Brauer
    December 12th, 2008 at 00:09 | #32

    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. eek
    December 13th, 2008 at 11:01 | #33

    dude,

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

    ~E

  34. deadmnky
    December 31st, 2008 at 02:16 | #34

    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. the bone
    January 11th, 2009 at 22:07 | #35

    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+0×2e) [0xb7a6381e]
    #2 /usr/lib/libX11.so.6 [0xb7c1b518]
    #3 /usr/lib/libX11.so.6(XSync+0×25) [0xb7c10205]
    #4 /usr/lib/libgdk-1.2.so.0(gdk_flush+0×2a) [0xb7d6e82a]
    #5 /usr/lib/libgdk-1.2.so.0(gdk_image_destroy+0×95) [0xb7d76515]
    #6 /usr/lib/libgdk-1.2.so.0(gdk_image_exit+0×2a) [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+0×15a) [0xb7c1c21a]
    #13 /usr/lib/libX11.so.6(XSync+0×6a) [0xb7c1024a]
    #14 /usr/lib/libgdk-1.2.so.0(gdk_flush+0×2a) [0xb7d6e82a]
    #15 /home/paul/build/xmms/xmms-1.2.11/xmms/.libs/lt-xmms(draw_main_window+0×329) [0x8084ea9]
    #16 /home/paul/build/xmms/xmms-1.2.11/xmms/.libs/lt-xmms(set_doublesize+0×96) [0x80897c6]
    #17 /home/paul/build/xmms/xmms-1.2.11/xmms/.libs/lt-xmms(mainwin_options_menu_callback+0×3a5) [0x808a535]
    #18 /usr/lib/libgtk-1.2.so.0 [0xb7e214c6]
    #19 /usr/lib/libgtk-1.2.so.0(gtk_marshal_NONE__NONE+0×16) [0xb7e34b06]
    Gdk-ERROR **: BadMatch (invalid parameter attributes)
    serial 1802 error_code 8 request_code 72 minor_code 0

  36. Ivan Cross
    January 16th, 2009 at 03:10 | #36

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

  37. thrain2
    January 30th, 2009 at 02:23 | #37

    @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. January 31st, 2009 at 05:38 | #38

    muchas gracias, es muy bueno

  39. February 8th, 2009 at 14:11 | #39

    Thanks
    Work very fine on Ubuntu 8.10 Intrepid Ibex

  40. Parmanand
    April 13th, 2009 at 00:48 | #40
  41. Mehmet Rıza
    April 18th, 2009 at 19:02 | #41

    Thanks alot

  42. Fernando
    June 30th, 2009 at 09:59 | #42

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

  43. sacha
    July 29th, 2009 at 19:46 | #43

    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. July 29th, 2009 at 22:15 | #44

    @sacha
    agree!

  45. Jerry
    August 18th, 2009 at 12:24 | #45

    @the bone

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

  1. No trackbacks yet.