[SLUG] Whistle while you work

Gavin Baker gav at supercowpowers.org
Wed Jan 28 11:21:04 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







More information about the Scarborough mailing list