FLAC is an audio CODEC similar to MP3, but lossless, meaning that audio is compressed without losing any information.
Download (HTTP): http://downloads.sourceforge.net/flac/flac-1.1.2.tar.gz
Download MD5 sum: 2bfc127cdda02834d0491ab531a20960
Download size: 1.5 MB
Estimated disk space required: 49 MB
Estimated build time: 0.7 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/flac
Install FLAC by running the following commands:
patch -Np1 -i ../flac-1.1.2-xmms_plugin_fix-1.patch && LIBS=-lm ./configure --prefix=/usr && make
If you have Valgrind version 3.0.0 or higher installed and you plan on running the test suites after passing the --enable-valgrind-testing parameter to configure, you need to issue the following command to change some test scripts:
sed -i -e "s/logfile-fd/log-fd/" `grep -lr logfile-fd test/*sh`
To test the results, issue: make check. This test suite will take quite a while. Note that if you passed the --enable-exhaustive-tests and --enable-valgrind-testing parameters to configure and then run the test suite, it will take a very long time (up to 300 SBUs) and use about 375 MB of disk space.
Now, as the root user:
LIBS=-lm ./configure --prefix=/usr: libFLAC uses a function from the math library but is not linked with libm. Passing the environment variable to configure satisfies this dependency.
--enable-sse: This option is off by default and should be set on if your machine has SSE capability. One way to find out if you have SSE is to issue cat /proc/cpuinfo and see if sse is listed in the flags.
is a command-line utility for encoding, decoding and converting FLAC files.
is a program for listing, adding, removing, or editing metadata in one or more FLAC files.
these libraries provide native FLAC and Ogg FLAC C/C++ APIs for programs utilizing FLAC.
is a plugin for XMMS.
Last updated on 2007-01-15 17:25:53 -0600