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