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.
This commit is contained in:
cliffmccarthy
2025-07-26 09:27:59 -05:00
committed by missytake
parent 577c04d537
commit 1e05974970

View File

@@ -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