Maybe this is all pretty obvious stuff, but I looked high and low for a how-to like this, and couldn't find it. The best I could find was someone suggesting the use of alien on an rpm. This didn't fill me with a sense of security. So, if you were trying to figure out how to build your own, I hope this page helps. Remember, I'm not saying this is the best way to do this. But it worked well enough for me.
Since Debian can't ship lame for legal reasons, there is no gstreamer plugin for it. This means that you cannot use soundjuicer (or rhythmbox, which it plugs in to) to burn mp3s. Yes, ogg vorbis is better and free, but if you want to, say, give your music to someone who has an iPod, then the ability to burn mp3s is still pretty nice.
So, here's how I did it. I'm assuming that you're running Debian Sid, though Sarge and Ubuntu would probably work here as well.
deb ftp://ftp.nerim.net/debian-marillat/ unstable mainThis has packages for mplayer, gmplayer, and codecs, as well as lame. Okay, now once that's in your sources.list, use apt (or aptitude, or synaptic) to get the following packages: lame, lame-extras, and liblame-dev. (I don't think that lame-extras is actually necessary here, but I don't feel like building again without it to check. Feel free to try it without it though.)
apt-get source gstreamer0.8-miscThis will download the sources, apply the Debian patches, and so on. (We're not really going to be using the Debian packaging utilities here, but it's still nice to be able to get the source from the command line.)
cd gst-plugins0.8-0.8.6 ./configure --prefix=/usrIt will take a few moments, and possibly fail. If it fails, look at what it says you're missing, download it, and start again.
cd ext/lame makeNow you have two options for installation. You can either run "make install" as root, as you normally would. The Makefile has an "uninstall" target, so that should be pretty safe. Or, you can run checkinstall, which will let you build a debian package. If you do run checkinstall, though, three points to remember: (a) make sure you give your package a name like "gstreamer0.8-lame," which won't conflict with any existing packages; (b) give it a version number -- checkinstall doesn't and dpkg gets mad; (c) either run checkinstall with the "--nodoc" option, or with an alternate doc directory (e.g. "checkinstall -D --docdir=/usr/share/doc/gstreamer0.8-lame"). [Thanks to Lovadina Nicola for this tip]
gst-register-0.8to make gstreamer aware of the new plugin, and you should be ready to go. Next time you start up sound-juicer (or whatever) the mp3 option should be available and functioning.
UPDATE (11 Apr, 2005): For some reason, the new releases of sound-juicer have made enabling mp3-burning a much clumsier operation. I mainly use goobox these days, so I hadn't noticed. But one helpful soul named Christian has sent me an email in which he offers these directions:
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc quality=0 preset=1001(this is for high-quality, standard preset, see 'gst-inspect-0.8 lame' for options)
Here is some other stuff of interest: