[SLUG] Whistle while you work

Carl Dixon Carl.Dixon at newcastle.ac.uk
Wed Jan 28 16:46:36 GMT 2004


> Carl Dixon wrote:
>
>>My uni use red hat 9 so I'm unable to play MP3s while I'm working. Does
>>anyone know of a way round this problem? I don't have root access so the
>>rpms around the Internet that add MP3 support are not an option.
>>
>>
>>
> You can install apps in your homedir.
>
> For example:
>
>   wget
> http://prdownloads.sourceforge.net/mpg321/mpg321-0.2.10.tar.gz?download
>   tar zxvf mpg321-0.2.10.tar.gz
>   cd mpg321-0.2.10/
>   ./configure --prefix=/home/carl/myapps
>   make
>   make install
>   cd /home/carl/myapps/bin
>   ./mpg321 ~/Spice_Girls/ZiggaZiggaaa.mp3
>
> just remember the --prefix option. (./configure --help explains).
>
> For mpg321 you will probably need to install libmad first.
> http://sourceforge.net/project/showfiles.php?group_id=12349
> use the same --prefix. I think mad comes with "madplay" which
> plays mp3's anyway.
>
> If you have libs you've compiled in $HOME/myapps/libs,
> when you ./configure apps, they wont be able to find them,
> so look for ./configure options to specify them, like
> --with-extra-libs=<path> and --with-extra-includes<path>
>
> Good look,
> Gav

Cheers Gav, you are a star.

I've spent the last half an hour compiling and installing libmad and
mpg321, only to have the guy next to me do it by installing Real Player in
about 5 seconds. Oh well.

ZiggaZiggaaa

Carl.





More information about the Scarborough mailing list