From 5049b7ebef9a343aea85ad804c90b0b4f2136440 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 28 Aug 2013 15:49:57 +0200 Subject: [PATCH] sde-check-system: added bc to the paranoia check Since linux kernel version >= 3.10 bc is needed to build it, which is a side-effect of removing the dependency on perl. --- bin/sde-check-system | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bin/sde-check-system b/bin/sde-check-system index 61ea38e..c6717e1 100755 --- a/bin/sde-check-system +++ b/bin/sde-check-system @@ -121,6 +121,17 @@ if [ -z "`type -p bison`" ] ; then found_error=1 fi +if [ -z "`type -p bc`" ] ; then + cat <<-EOT + Paranoia Check: Program 'bc' not found! + The bc program is needed for compiling linux kernels >= 3.10. + Please make sure that a current version of the bc package is + installed on your system. + + EOT + found_error=1 +fi + case $BASH_VERSION in 2.05b*) ;; 3.*) ;;