OSDN Git Service

alsaloop: remove unused assignment warning (coverity)
[android-x86/external-alsa-utils.git] / INSTALL
1
2                         ALSA utils installation
3                         =======================
4
5 Requirements
6 ------------
7
8 alsamixer requires the ncurses library.  Some systems need to install
9 the develop package additionally to link with this library.
10
11 alsaconf requires dialog or whiptail program to run properly.
12
13 If systemd (minimum version 18) is installed it will be used to run
14 alsactl to store and restore settings.
15
16 Installation
17 ------------
18
19 For installation you can use these commands:
20
21         ./configure
22         make install
23
24 If ./configure command complain that alsa-lib package isn't installed,
25 please, check if --prefix option is same for alsa-lib and alsa-utils
26 package. The configure script from alsa-utils package probably cannot find
27 header file asoundlib.h in $prefix/include/alsa directory (usually in
28 /usr/include/alsa directory).
29
30 Compilation from git sources
31 ---------------------------
32
33 You need also GNU packages autoconf and automake installed in your system
34 to compile git sources of alsa-utils package.
35
36 For 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
46 The included gitcompile script does this job for you.
47
48 To configure the build to install in a local directory, a command like the
49 following 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
55 Note: Some automake packages have missing aclocal program. Use newer version
56       in the case.