How do I get and install a decent MP3 player for red hat?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I get and install a decent MP3 player for red hat?
Hello!
I've just recently installed RH AS x86_64. When I tried to play a mp3 file with xmms it told me that that feature had been disabled in this version of Red Hat. Xmms stinks anyway so I didn't really care.
I've previously used Fedora and the wonderful Amarok player. Is there any way of getting that to work easily on redhat? I only have the crappy up2date software and it doesn't provide amarok (like yum do). Amarok requires like 15 dependencies to work...
Also if there is any other easily accessible player around, please let me know.
* Ruby 1.8
(programming language, used for scoring, lyrics, last.fm streams) http://www.ruby-lang.org
then I couldn't get the recommended
* xine-lib 1.0.2
Note: xine-lib 1.1.1 is required for gapless playback.
(multimedia framework) http://xinehq.de/
to work so I installed the optional
* RealPlayer 10 or HelixPlayer 1.0
(multimedia framework) http://www.real.com
(Note: only HelixPlayer is exactly RealPlayer without MP3 support)
I couldn't find the devel packages for all of these... not taglib or realplayer, and when I tried to run the ./configure command on amarok-1.4.2-beta1 it sais in the end:
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
Now... The versions of libXext I could find have like 10 to 15 dependancies that my newly installed and fully upgraded redhat WS doesn't have. I am going to stop here. this is really ridiculous. Can anyone tell me how to get a decent mp3-playing (note MP3) program to work under RHEL4. it would be nice if I didn't have to waste hours and hours trying to track down rpms and sourcecodes all over the net to get it to work.
First install xmms rpm if its not installed.
# up2date xmms
Then list the files of this rpm
# rpm -ql xmms
here is the line of the output you'll be interested in...
/usr/lib/xmms/Input/librh_mp3.so
This is a dummy library supplied by RH, its suppose to be the mp3 library but due to licensing RH does not supply the working version of it. Instead all this library does is display a banner in xmms when you try to play a mp3 that states mp3 support has been disabled.
You need to delete the librh_mp3.so file and replace it with libmpg123.so.
To do this,
1. google for libmpg123
2. download the source
3. compile it
4. copy libmpg123.so to the /usr/lib/xmms/Input directory
5. delete the file /usr/lib/xmms/Input/librh_mp3.so
when I search for libmpg123.so I can only find several different rpms for xmms addons. When I try to install the xmms-mp3-1.2.10-16.el4.rf.i386.rpm it sais it requires libxmms.so.1
Is there anywhere I can simply find the file libmpg123.so so that I can copy it directly to the folder you described?
This really is amazing guys. Why in the name of all that is holy can't a decent mp3-plyer be installed EASILY on one of the leading linux distributions. I really want Amarok, but since it appears more or less impossible (for someone which actually have work to do as well) I guess I will have to settle for xmms... if this last issue is fixable that is.
Hi,
First please use the "up2date" package manager, that's what its for. Just log in as root and type "up2date xmms".
This packge is provided by Redhat, installs with absolutely no problems along with all its dependencies.
I have used up2date from the beginning. The entire system is as up to date it can be (considering it is RHEL4 and not FC5).
When I download the rpm you recommended and tried to compile it this is what happened.
Now am I just outright clumsy or stupid or what is wrong. I am logged in as super user when I compile.
:/make linux
make CC=gcc LDFLAGS= \
OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
audio_oss.o term.o' \
CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
-DREAD_MMAP -DOSS -DTERM_CONTROL\
-Wall -O2 -m486 \
-fomit-frame-pointer -funroll-all-loops \
-finline-functions -ffast-math' \
mpg123-make
make[1]: Entering directory `/home/martin/mpg123-0.59r'
make[2]: Entering directory `/home/martin/mpg123-0.59r'
gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX -DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -c -o mpg123.o mpg123.c
mpg123.c: In function `shuffle_files':
mpg123.c:225: warning: implicit declaration of function `time'
mpg123.c: At top level:
mpg123.c:480: warning: initialization makes integer from pointer without a cast
gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX -DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -c -o common.o common.c
gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX -DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -c -o decode_i386.o decode_i386.c
gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX -DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -c -o dct64_i386.o dct64_i386.c
as -o decode_i586.o decode_i586.s
decode_i586.s: Assembler messages:
decode_i586.s:44: Error: suffix or operands invalid for `push'
decode_i586.s:45: Error: suffix or operands invalid for `push'
decode_i586.s:46: Error: suffix or operands invalid for `push'
decode_i586.s:47: Error: suffix or operands invalid for `push'
decode_i586.s:67: Error: suffix or operands invalid for `push'
decode_i586.s:70: Error: suffix or operands invalid for `push'
decode_i586.s:81: Error: suffix or operands invalid for `push'
decode_i586.s:83: Error: suffix or operands invalid for `push'
decode_i586.s:86: Error: suffix or operands invalid for `push'
decode_i586.s:161: Error: suffix or operands invalid for `pop'
decode_i586.s:211: Error: suffix or operands invalid for `pop'
decode_i586.s:296: Error: suffix or operands invalid for `pop'
decode_i586.s:315: Error: suffix or operands invalid for `pop'
decode_i586.s:316: Error: suffix or operands invalid for `pop'
decode_i586.s:317: Error: suffix or operands invalid for `pop'
decode_i586.s:318: Error: suffix or operands invalid for `pop'
make[2]: *** [decode_i586.o] Error 1
make[2]: Leaving directory `/home/martin/mpg123-0.59r'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/home/martin/mpg123-0.59r'
make: *** [linux] Error 2
If this is making any sense to anyone? please let me know...
And when I tried to compile the older file that you first suggested, this is what happened.
make
g++.exe -c mpglib/common.c -o mpglib/common.o -I"d:/Dev-Cpp/include/c++/3.3.1" -I"d:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"d:/Dev-Cpp/include/c++/3.3.1/backward" -I"d:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"d:/Dev-Cpp/include" -DBUILDING_DLL=1
/bin/sh: g++.exe: command not found
make: *** [mpglib/common.o] Error 127
I realize it is supposed to work... so It is definitely not chritisism to anyone of you. It is just that the whole thing is very frustrating and I don\t really have time for it. I am really thankful for the help.
Now that is very constructive. thank you ver much. I have fedora at home, I love it. There is absolutely no problem installing all kinds of mp3-playing software on fedora using yum. A child could do it. Now if you would have read my posts above you would have seen that I am in fact trying to install on RHEL4 WS, which only have the redhat up2date program. It can hence not install programs other than the recommended redhat apps.
The irritating thing is that it is indeed so much harder (obviously), using redhat. If there is something wrong with my recently installed and fully upgraded version of redhat then I can't see what it is. All I see is that there are always dependancies missing, or that the packages I find on the net (some recommended by people in this forum) can't be compiled without errors.
Following instructions on the link I gave you, I goggled "xmms-mp3 download" I was immediately taken to a page which included an .rpm ... I assume that RHEL has rpm installed.
I'm sorry. I don't find any link to any rpm on fedoras FAQ site (your link), only an instruction how to install it using yum. The fist thing you see on google when searching for "xmms-mp3 download" is the links to guru-labs. which does not have ANY rpm suitable for redhat enterprise 4. The only one that can be istalled without missing libxmms.so.1 is the one for redhat 9. which by the way, doesn't work. I tried all that yesterday.
The second link, rpmseek... well what can I say. I have tried to find something that actually works there for a while. fc4 or fc5 rpms wont do the trick. Now I have uninstalled my version of xmms. and I'll try to install one from another distro... this is just ugly.
First I want to let you know I can't reproduce my libmpg123.so anymore from the source code I told you to download. I built my library back when I had Redhat WS 3.0, and the one I build now with 4.0 does not work with xmms anymore... I have not figured out why yet, though its not a compiling problem like you are seeing.
I'd be willing to give you my working libmpg123.so library if you email me, I'll reply and attach it. That's all I can offer until I figure out why I can't rebuild a working version anymore.
Now with xmms, I'm not quite following what you are doing with up2date. You seem to be saying you first download the rpm and then install it? That's not the way to do it. To have the benefit of the package manager just type "up2date xmms" and it will pull the xmms rpm and all of its dependencies from the Redhat site and install all of them. Do not download the rpm itself and install it by hand with the rpm program.
You also say you compile the rpm, I don't mean download the source rpm, just get it through redhat the normal way, prebuilt.
Ok sorry for the confusion about the mp3 library, I figured out why I couldn't make it work. Way back when I did this, I compiled xmms from source and it provided the library. It creates a working libmpg123.so you can use. Xmms source can be d/l from http://www.xmms.org/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.