From: maintenance team Date: Wed, 26 Sep 2007 07:18:44 +0000 (+0000) Subject: Adding MED without GUI to IP X-Git-Tag: V_3_2_9~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7157cdfa73cf39a19cf8f4d59d4baefa383496b3;p=tools%2Finstall.git Adding MED without GUI to IP --- diff --git a/config_files/MEDWOGUI_BIN.sh b/config_files/MEDWOGUI_BIN.sh new file mode 100755 index 0000000..6a5168f --- /dev/null +++ b/config_files/MEDWOGUI_BIN.sh @@ -0,0 +1,113 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : MEDWOGUI_BIN.sh +# Created : Thu Dec 18 12:01:00 2002 +# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) +# Project : SALOME +# Module : Installation Wizard +# Copyright : 2002-2007 CEA +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### + +VERSION="3.2.7" + +check_version(){ +if [ -n "${MEDWOGUI_ROOT_DIR}" ]; then + check_lib_version VERSION ${MEDWOGUI_ROOT_DIR}/bin/salome + if [ "$?" -eq "0" ]; then + ver=`cat ${MEDWOGUI_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` + if [ "$ver" = "${VERSION}" ]; then + return 0 + fi + fi +fi +return 1 +} + +print_env(){ +if test `uname -m` = "x86_64" ; then +export LIB_PREFIX=64 +else +export LIB_PREFIX="" +fi +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <& ${LOG_DIR}/configure_${module}.log ######################################################### # echo possible errors diff --git a/config_files/build.sh b/config_files/build.sh index 95dc595..2c4b612 100755 --- a/config_files/build.sh +++ b/config_files/build.sh @@ -83,7 +83,7 @@ is_delete=0 verbose_level=2 params="" b_params="" -modules="KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT RANDOMIZER SIERPINSKY" +modules="KERNEL GUI GEOM MED MEDWOGUI SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT RANDOMIZER SIERPINSKY" optim="" is_install=0 is_tui=0 @@ -328,6 +328,9 @@ for module in ${modules}; do if [ "${module}" == "NETGENPLUGIN" ] && [ "$NETGENHOME" != "" ] ; then add_keys="--with-netgen=${NETGENHOME}" fi + if [ "${module}" == "MEDWOGUI" ]; then + add_keys="--without-ihm" + fi ${module_src}/configure --prefix=$px ${optim} ${add_keys} >& ${LOG_DIR}/configure_${module}.log ######################################################### # echo possible errors