From 1e059749704351a51f4f9985ce5c1f50dbd3430f Mon Sep 17 00:00:00 2001 From: cliffmccarthy <16453869+cliffmccarthy@users.noreply.github.com> Date: Sat, 26 Jul 2025 09:27:59 -0500 Subject: [PATCH] feat: Make sure build-essential is installed - The Python modules installed by initenv.sh require a compiler to build. - Revised initenv.sh to check whether build-essential is installed before proceeding, if the system is based on Debian or Ubuntu. --- scripts/initenv.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/initenv.sh b/scripts/initenv.sh index b4dab1bc..7194f445 100755 --- a/scripts/initenv.sh +++ b/scripts/initenv.sh @@ -9,6 +9,11 @@ if command -v lsb_release 2>&1 >/dev/null; then echo "You need to install python3-dev for installing the other dependencies." exit 1 fi + if ! dpkg -l | grep build-essential 2>&1 >/dev/null + then + echo "You need to install build-essential for building Python dependencies." + exit 1 + fi ;; esac fi