Blame INSTALL

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