From: Erwan Velu Date: Mon, 25 Apr 2016 15:11:45 +0000 (+0200) Subject: install-deps: Adding gcc for debian based systems X-Git-Tag: v11.0.0~834^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bbcda5a2c284778a34c29bc473b378753416cc36;p=ceph.git install-deps: Adding gcc for debian based systems When running install-deps on a minimalistic system, we reach that situation : dpkg-checkbuilddeps --admindir=/tmp/install-deps.5526 debian/control sh: 1: gcc: not found dpkg-checkbuilddeps: warning: Couldn't determine gcc system type, falling back to default (native compilation) dpkg-checkbuilddeps: error: cannot open /tmp/install-deps.5526/status: No such file or directory This means that we shall install gcc before calling dpkg-checkbuilddeps. Signed-off-by: Erwan Velu --- diff --git a/install-deps.sh b/install-deps.sh index 21e71ee77977..fa330035c8db 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -33,7 +33,7 @@ fi case $(lsb_release -si) in Ubuntu|Debian|Devuan) - $SUDO apt-get install -y dpkg-dev + $SUDO apt-get install -y dpkg-dev gcc if ! test -r debian/control ; then echo debian/control is not a readable file exit 1