The LAME package contains an MP3 encoder and optionally, an MP3 frame analyzer. This is useful for creating and analyzing compressed audio files.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://downloads.sourceforge.net/lame/lame-3.100.tar.gz
Download MD5 sum: 83e260acbe4389b54fe08e0bdbf7cddb
Download size: 1.5 MB
Estimated disk space required: 9.7 MB
Estimated build time: 0.1 SBU
Dmalloc, Electric Fence, libsndfile-1.2.2 and NASM-2.16.01
Editor Notes: https://wiki.linuxfromscratch.org/blfs/wiki/lame
Install LAME by running the following commands:
./configure --prefix=/usr --enable-mp3rtp --disable-static && make
To test the results, issue: make test.
Now, as the root
user:
make pkghtmldir=/usr/share/doc/lame-3.100 install
--enable-mp3rtp
: This switch enables building the encode-to-RTP program.
--disable-static
: This switch prevents installation of static versions of the libraries.
--enable-nasm
: Enable the use of NASM-2.16.01 to compile optimized assembly routines for 32-bit x86. This option has no effect on x86_64.