• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2			ALSA utils installation
3			=======================
4
5Requirements
6------------
7
8alsamixer requires the ncurses library.  Some systems need to install
9the develop package additionally to link with this library.
10
11alsaconf requires dialog or whiptail program to run properly.
12
13If systemd (minimum version 18) is installed it will be used to run
14alsactl to store and restore settings.
15
16Installation
17------------
18
19For installation you can use these commands:
20
21	./configure
22	make install
23
24If ./configure command complain that alsa-lib package isn't installed,
25please, check if --prefix option is same for alsa-lib and alsa-utils
26package. The configure script from alsa-utils package probably cannot find
27header file asoundlib.h in $prefix/include/alsa directory (usually in
28/usr/include/alsa directory).
29
30Compilation from git sources
31---------------------------
32
33You need also GNU packages autoconf and automake installed in your system
34to compile git sources of alsa-utils package.
35
36For compilation you can use these commands:
37
38	aclocal
39	gettextize
40	autoheader
41	automake --foreign --copy --add-missing
42	autoconf
43	./configure
44	make
45
46The included gitcompile script does this job for you.
47
48To configure the build to install in a local directory, a command like the
49following can be used:
50
51	./gitcompile --prefix="$PWD/build" \
52	  --with-systemdsystemunitdir="$PWD/build/$(pkg-config systemd --variable=systemdsystemunitdir)" \
53	  --with-udev-rules-dir="$PWD/build/$(pkg-config udev --variable=udevdir)"
54
55Note: Some automake packages have missing aclocal program. Use newer version
56      in the case.
57