Commit 314ca908 authored by uqchw's avatar uqchw Committed by thomas.forbriger
Browse files

modified snapshot Package installation files

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5309
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 41403295
......@@ -36,6 +36,10 @@ then
elif test -x "$(which gfortran)"
then
export FC="$(which gfortran)"
if test ! -x "${TF_LINK_FORTRAN}"
then
export TF_LINK_FORTRAN=-lgfortran
fi
fi
fi
echo FC set to $FC
......
......@@ -27,7 +27,7 @@ repvar()
fi
}
#
echo '**** install.sh $Revision$ ****'
echo '******* install.sh $Revision$ *******'
#
cd $(dirname $0)
SRCROOT=$(pwd)
......@@ -60,26 +60,49 @@ echo "shell environment or set by ./install.bashrc (not all of them might"
echo "be required for the current package):"
MISSING=0
MISSVAR=""
echo
echo "Following variables are used by all packages!:"
repvar LOCBINDIR || { MISSING=1; MISSVAR="$MISSVAR LOCBINDIR"; }
repvar LOCLIBDIR || { MISSING=1; MISSVAR="$MISSVAR LOCLIBDIR"; }
repvar LOCINCLUDEDIR || { MISSING=1; MISSVAR="$MISSVAR LOCINCLUDEDIR"; }
repvar SERVERBINDIR || { MISSING=1; MISSVAR="$MISSVAR SERVERBINDIR"; }
repvar SERVERLIBDIR || { MISSING=1; MISSVAR="$MISSVAR SERVERLIBDIR"; }
if test 0$MISSING -gt 0
then
echo
echo 'WARNING!'
echo "The following variables are not set:"
echo $MISSVAR | fold -w 70 -s | sed -e "s/^/ /"
fi
MISSING=0
MISSVAR=""
echo
echo "Following variables might be set automatically if missing:"
repvar CC || { MISSING=1; MISSVAR="$MISSVAR CC"; }
repvar CXX || { MISSING=1; MISSVAR="$MISSVAR CXX"; }
repvar FC || { MISSING=1; MISSVAR="$MISSVAR FC"; }
if test 0$MISSING -gt 0
then
echo
echo 'WARNING!'
echo "The following variables are not set:"
echo $MISSVAR | fold -w 70 -s | sed -e "s/^/ /"
fi
MISSING=0
MISSVAR=""
echo
echo "Following variables are optional or not used by all packages:"
echo "(check README.compile for their purpose)"
repvar TF_LINK_FORTRAN || { MISSING=1; MISSVAR="$MISSVAR TF_LINK_FORTRAN"; }
repvar TF_LINK_PGPLOT || { MISSING=1; MISSVAR="$MISSVAR TF_LINK_PGPLOT"; }
repvar PGPLOT_DIR || { MISSING=1; MISSVAR="$MISSVAR PGPLOT_DIR"; }
repvar TF_WWWBASEDIR || { MISSING=1; MISSVAR="$MISSVAR TF_WWWBASEDIR"; }
repvar TF_BROWSER || { MISSING=1; MISSVAR="$MISSVAR TF_BROWSER"; }
repvar LD_LIBRARY_PATH || { MISSING=1; MISSVAR="$MISSVAR LD_LIBRARY_PATH"; }
if test 0$MISSING -gt 0
then
echo
echo 'WARNING!'
echo "The following variables are not set:"
echo $MISSVAR | fold -w 70 -s | sed -e "s/^/ /"
echo "Please check README.compile if in doubt."
echo
echo 'WARNING!'
echo "The following variables are not set:"
echo $MISSVAR | fold -w 70 -s | sed -e "s/^/ /"
fi
if test 0$(printenv LD_LIBRARY_PATH | tr ':' '\n' | grep $LOCLIBDIR | wc -l) -lt 1
then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment