2 ALSA library installation
3 =========================
5 Installation from tarbal
6 ------------------------
8 For installation you can use these commands:
13 If ./configure command complain that alsa-driver package isn't installed,
14 please, check if --prefix option is same for alsa-driver and alsa-lib
15 package. The configure script from alsa-lib package probably cannot find
16 header file asound.h in $prefix/include/linux directory (usually in
17 /usr/include/linux directory).
19 Note: If you change kernel sources frequently, please, check if you have
20 installed alsa-driver for current version of your kernel.
22 Compilation from CVS sources
23 ----------------------------
25 You need also GNU packages automake and libtool installed in your system
26 to compile CVS sources of alsa-lib package.
28 For compilation you can use these commands:
30 libtoolize --force --copy --automake
33 automake --foreign --copy --add-missing
38 The included cvscompile script does this job for you.
40 Note: Some automake packages have missing aclocal program. Use newer version
43 Compilation of static library
44 -----------------------------
46 If you would like to use the static ALSA library, you need to use these
47 options for the configure script:
49 ./configure --enable-shared=no --enable-static=yes
51 Unfortunately, due to bug in the libtool script, the shared and static
52 library cannot be built together.