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