alsa-utils/INSTALL
Antonio Ospite 9ea2a1d067 INSTALL: document how to configure a build for installation in a local dir
Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-12-09 17:28:15 +01:00

53 lines
1.5 KiB
Text

ALSA utils installation
=======================
Requirements
------------
alsamixer requires the ncurses library. Some systems need to install
the develop package additionally to link with this library.
alsaconf requires dialog or whiptail program to run properly.
Installation
------------
For installation you can use these commands:
./configure
make install
If ./configure command complain that alsa-lib package isn't installed,
please, check if --prefix option is same for alsa-lib and alsa-utils
package. The configure script from alsa-utils package probably cannot find
header file asoundlib.h in $prefix/include/alsa directory (usually in
/usr/include/alsa directory).
Compilation from git sources
---------------------------
You need also GNU packages autoconf and automake installed in your system
to compile git sources of alsa-utils package.
For compilation you can use these commands:
aclocal
gettextize
autoheader
automake --foreign --copy --add-missing
autoconf
./configure
make
The included gitcompile script does this job for you.
To configure the build to install in a local directory, a command like the
following can be used:
./gitcompile --prefix="$PWD/build" \
--with-systemdsystemunitdir="$PWD/build/$(pkg-config systemd --variable=systemdsystemunitdir)" \
--with-udev-rules-dir="$PWD/build/$(pkg-config udev --variable=udevdir)"
Note: Some automake packages have missing aclocal program. Use newer version
in the case.