From 13e1c42a7acddd22c9afbba85b743d857ae11ecf Mon Sep 17 00:00:00 2001 From: Anirudha Bose Date: Sun, 18 May 2014 02:18:45 +0530 Subject: [PATCH] Also check python during --check-requirements --- tools/packaging/debian/debianize.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/packaging/debian/debianize.sh b/tools/packaging/debian/debianize.sh index 31f010fe..5fec6cf0 100755 --- a/tools/packaging/debian/debianize.sh +++ b/tools/packaging/debian/debianize.sh @@ -96,7 +96,7 @@ function compile { cd ${workdir}/builddir echo "Configuring Cling for compilation" - ${srcdir}/configure --disable-compiler-version-checks --with-python=$python --enable-targets=host --prefix=${prefix} --enable-optimized=yes --enable-cxx11 + ${srcdir}/configure --disable-compiler-version-checks --with-python=${python} --enable-targets=host --prefix=${prefix} --enable-optimized=yes --enable-cxx11 echo "Building Cling..." cores=$(nproc) @@ -308,6 +308,13 @@ while [ "${1}" != "" ]; do check debhelper check devscripts check gnupg + check python + echo -e "\nYou are advised to make sure you have the \"latest\" versions of the above packages installed." + echo -e "\nYou can upgrade all your installed packages by:" + echo -e "\tsudo apt-get update\n\tsudo apt-get upgrade" + echo -e "\nor update only the required packages by:" + echo -e "\tsudo apt-get update git curl debhelper devscripts gnupg python" + ;; --current-dev-tarball) fetch_llvm