From 16cf9b090b98433af7da5fdc11c056a23b5ecb78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 8 Dec 2020 22:01:00 +0100 Subject: [PATCH] Install gcc during bootstrap --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index efce9d8..22a2b6c 100755 --- a/install.sh +++ b/install.sh @@ -36,6 +36,13 @@ if ! command -v make >/dev/null ; then printf 'Done\n' fi +# Required for compiling modules in venv. +if ! command -v gcc >/dev/null ; then + printf 'gcc not installed, installing ...\n' + _install "gcc" + printf 'Done\n' +fi + if ! python3 -c 'import venv' 2>/dev/null ; then printf 'Python3 venv module not installed, installing ...\n' _install python3-venv