Installing XMMS on Ubuntu 8.04
Posted: May 25th, 2008 | Author: xanda | Filed under: IT Related | Tags: howto, ubtunu 8.04, xmms | 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!
Thanks!!
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
Thanks, exelent tip
Hello, my friend!
Great many thanks from me!
I REALLY ploughed the Internet for days until I found your page!
You saved the day!
Thanks !!! XMMS rocks the party that rocks the party !!!
Ubuntu 8.04 would be crap without XMMS.
Thanks
This works perfectly. Thanks.
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.
Great…it’s easiest way to install xmmms on my ubuntu 8.04, it’s working now, thank’s
Thx a lot!!!!
Thanks!! Now I can use Streamtuner again!!!
This is an invaluable write-up.
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 !.!.!
Works like a charm – thanks.
8.04 is the worse version I have sued (used 4.10)
Thanks, exelent tip, How to uninstal XMMS on Ubuntu 8.04 ?
Thanks
Even better sratek explaination
I meant this is much better from the explanation from sartek. thanks again
but after I installed it, I tried to play wma files. and no sound come out.
you can try:-
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?
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.
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!
ballboy: they remove it because there is nobody maintaining xmms anymore
Thank you.
Thanks a lot…
Thanks mate.. Installing. ๐
Hey great stuff. Ubuntu should listen and put it back in the reps..!!! ๐
Cool thanks, it works. Without even changing a step. Good work buddy keep posting these king of stuff
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/
Omg, it really works!!! Thank you so much, you saved my day ๐
tks
one more time, you saved the day
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!
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
dude,
Thanks, tons! Easy to follow, easy to use. thanks for sharing knowledge w/ the world!
~E
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
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
Thanks a lot man ! that was an outstanding tip. It worked perfectly
@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
muchas gracias, es muy bueno
Thanks
Work very fine on Ubuntu 8.10 Intrepid Ibex
@Uwe Brauer
sudo apt-get install libgtk1.2-dev
http://ubuntuforums.org/showthread.php?t=122751
Thanks alot
Thanks a lot!! Tried in Kubuntu 9.04, works perfectly.
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 !!!
@sacha
agree!
@the bone
I solved the crash by simply set env variable XLIB_SKIP_ARGB_VISUALS to 1.
good job!
excellent tutorial!
works fine on ubuntu 9.04!
Thank you for a easy to understand how to do.I want to say THANK YOU!
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?