From 3363f828d614f3b254bb980d318833a1d3a444bd Mon Sep 17 00:00:00 2001 From: Bastien Curutchet Date: Tue, 18 Jun 2024 08:55:16 +0200 Subject: [PATCH] labs: sysdev-thirdparty-*: Add a missing dependency to build alsa-utils On Ubuntu22.04, gettext package is not present by default. Building the alsa-utils library without it ends with following error: mv: cannot stat 't-ja.gmo': No such file or directory Add the installation of the gettext package before starting the Alsa-utils part of the labs Signed-off-by: Bastien Curutchet --- labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex | 5 ++++- .../sysdev-thirdparty-beagleplay.tex | 5 ++++- labs/sysdev-thirdparty-qemu/sysdev-thirdparty-qemu.tex | 5 ++++- labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex | 6 +++++- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex b/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex index 9f02d4bdb5..df58f84692 100644 --- a/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex +++ b/labs/sysdev-thirdparty-bbb/sysdev-thirdparty-bbb.tex @@ -346,7 +346,10 @@ \section{alsa-lib} \section{Alsa-utils} Download {\em alsa-utils} from the ALSA offical webpage. We tested the lab -with version 1.2.11. +with version 1.2.11. The \code{gettext} package is needed during the build +so we have to install it. + +\bashcmd{sudo apt install gettext} Once uncompressed, we quickly discover that the {\em alsa-utils} build system is based on the {\em autotools}, so we will work once again diff --git a/labs/sysdev-thirdparty-beagleplay/sysdev-thirdparty-beagleplay.tex b/labs/sysdev-thirdparty-beagleplay/sysdev-thirdparty-beagleplay.tex index 4b26d4c97a..b9255a3d04 100644 --- a/labs/sysdev-thirdparty-beagleplay/sysdev-thirdparty-beagleplay.tex +++ b/labs/sysdev-thirdparty-beagleplay/sysdev-thirdparty-beagleplay.tex @@ -346,7 +346,10 @@ \section{alsa-lib} \section{Alsa-utils} Download {\em alsa-utils} from the ALSA offical webpage. We tested the lab -with version 1.2.11. +with version 1.2.11. The \code{gettext} package is needed during the build +so we have to install it. + +\bashcmd{sudo apt install gettext} Once uncompressed, we quickly discover that the {\em alsa-utils} build system is based on the {\em autotools}, so we will work once again diff --git a/labs/sysdev-thirdparty-qemu/sysdev-thirdparty-qemu.tex b/labs/sysdev-thirdparty-qemu/sysdev-thirdparty-qemu.tex index 350d8498ba..89dd54ed6f 100644 --- a/labs/sysdev-thirdparty-qemu/sysdev-thirdparty-qemu.tex +++ b/labs/sysdev-thirdparty-qemu/sysdev-thirdparty-qemu.tex @@ -345,7 +345,10 @@ \section{alsa-lib} \section{Alsa-utils} Download {\em alsa-utils} from the ALSA offical webpage. We tested the lab -with version 1.2.9. +with version 1.2.9. The \code{gettext} package is needed during the build +so we have to install it. + +\bashcmd{sudo apt install gettext} Once uncompressed, we quickly discover that the {\em alsa-utils} build system is based on the {\em autotools}, so we will work once again diff --git a/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex b/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex index 3289662fec..8b3472923a 100644 --- a/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex +++ b/labs/sysdev-thirdparty-stm32/sysdev-thirdparty-stm32.tex @@ -345,8 +345,12 @@ \section{alsa-lib} \section{Alsa-utils} + Download {\em alsa-utils} from the ALSA offical webpage. We tested the lab -with version 1.2.11. +with version 1.2.11. The \code{gettext} package is needed during the build +so we have to install it. + +\bashcmd{sudo apt install gettext} Once uncompressed, we quickly discover that the {\em alsa-utils} build system is based on the {\em autotools}, so we will work once again