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
libogg-1.1.3, XMMS-1.2.10, NASM-0.98.39, DocBook-utils-0.6.14, Doxygen-1.5.2 and Valgrind
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:
make install
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.
Last updated on 2007-04-04 21:42:53 +0200