diff options
author | root | 2013-11-20 15:47:46 +0100 |
---|---|---|
committer | root | 2013-11-20 15:47:46 +0100 |
commit | eb6c041631b86b83e8afaba9c38ac5cfdf808592 (patch) | |
tree | a9997c908a7b8850bf055b90a2c22e4b47708c2b /mltk | |
parent | Merge branch 'master' of simonslx:openslx-ng/tm-scripts (diff) | |
download | tm-scripts-eb6c041631b86b83e8afaba9c38ac5cfdf808592.tar.gz tm-scripts-eb6c041631b86b83e8afaba9c38ac5cfdf808592.tar.xz tm-scripts-eb6c041631b86b83e8afaba9c38ac5cfdf808592.zip |
[mltk] openSuse de-patterned, toolinstall checked -> works now. This as first
step to accomplish ticket #577 / redmine OG.
Diffstat (limited to 'mltk')
-rwxr-xr-x | mltk | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -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 } |