From eb6c041631b86b83e8afaba9c38ac5cfdf808592 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Nov 2013 15:47:46 +0100 Subject: [mltk] openSuse de-patterned, toolinstall checked -> works now. This as first step to accomplish ticket #577 / redmine OG. --- mltk | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'mltk') diff --git a/mltk b/mltk index 52a00da5..753af701 100755 --- a/mltk +++ b/mltk @@ -102,7 +102,8 @@ print_usage() { check_devtools() { # Checking for needed development tools, compilers etc. # Required: m4 make gcc g++ binutils - local DEV_TOOLS="gcc c++ g++ make m4 strip git depmod patch mksquashfs pkg-config qmake" # 'strip' as marker for binutils + # no qmake here, qmake (libqt4-devel) should be installed in a module! + local DEV_TOOLS="gcc c++ g++ make m4 strip git depmod patch mksquashfs pkg-config" # 'strip' as marker for binutils # DEV_CHECK marks missing dev-tools local DEV_TOOLS_MISSING="" @@ -115,11 +116,17 @@ check_devtools() { pinfo "Missing tools are: $DEV_TOOLS_MISSING" pinfo "For $SYS_DISTRIBUTION you probably need to run:" case $SYS_DISTRIBUTION in - ubuntu | debian) pinfo "apt-get install build-essential m4 squashfs-tools" ;; - # FIXME: Don't know how precise this filter works so we might want to have a better matching ... - opensuse) pinfo "zypper install -t pattern devel_basis libqt4-devel" ;; - *) perror "Cannot determine SYS_DISTRIBUTION: $SYS_DISTRIBUTION unknown!" ;; + ubuntu | debian) pinfo "apt-get install build-essential m4 squashfs-tools" + pinfo "to install missing development tools." + ;; + # FIXME: Don't know how precise this filter works so we might want to have a better matching ... + opensuse) pinfo "zypper install gcc gcc-c++ make m4 binutils git module-init-tools patch squashfs pkg-config" + pinfo "to install missing development tools." + ;; + *) perror "Cannot determine SYS_DISTRIBUTION: $SYS_DISTRIBUTION unknown!" + ;; esac + perror "Please install missing dependencies (see above) and try again!" fi } -- cgit v1.2.3-55-g7522