echo " Get, Compile, Install vtk .......1.1"
echo " Get, Compile, Install gdcm :.. . .1.2"
echo " Get, Compile, Install itk :.......1.3"
+ echo " Get, Compile, Install Wx (for Mac Users) :…....1.4"
else
echo " Install Third Party Libraries :....1 (as root)"
case $i in
0)
-
+
# Do it, while we are under user, not under root! # JPR
if [ -f $HOME/.bashrc ]
then
read a # just to let the user time enough to read the message...
fi
fi
-
+
clear
suitable=XXX
#ls -l scripts/CreaTools-configure.sh
then
echo WARNING
echo "the curently used Third Party libraries are NOT in $installPrefixThird but ... in :"
- grep "installPrefixThird=" $ETC_BASHRC
+ grep "installPrefixThird=" $ETC_BASHRC
echo "VTK_DIR : " $VTK_DIR
echo "ITK_DIR : " $ITK_DIR
echo "GDCM_DIR : " $GDCM_DIR
docgeneration="OFF"
fi
echo "you said : [" $docgeneration "]"
- done
- echo
- echo
+ done
+ echo
+ echo
fi
docgeneration="OFF"
fi
;;
- 1)
- echo "===================================at begin 1) ======ETC_BASHRC : " $ETC_BASHRC
- read a
+ 1)
echo "========================== 1 "
source scripts/Check-if-root.sh
bash scripts/ThirdParty-install-Base-Stuff.sh
bash scripts/ThirdParty-install-gdcm.sh
bash scripts/ThirdParty-install-ITK.sh
bash scripts/ThirdParty-install.sh
- bash scripts/ThirdParty-install-Finalize.sh
- echo "===================================after ThirdParty-install-Finalize.sh ======ETC_BASHRC : " $ETC_BASHRC
+ bash scripts/ThirdParty-install-Finalize.sh
if [ "$sourcesFrom" = "CVS" ]
then
echo "----------------------------------------------------------------------"
echo OK
echo "To go on, run again 'bash menu.sh' as '$loginUserName', in a new window"
- echo "---------------------------------------------------------------------"
+ echo "----------------------------------------------------------------------"
else
echo "----------------------------------------------------------------------"
echo OK
echo "To go on, run again 'bash menu.sh' in a new window"
- echo "---------------------------------------------------------------------"
+ echo "----------------------------------------------------------------------"
fi
echo
echo "==>"
echo "==>"
source $ETC_BASHRC
read a
- kill -9 $PPID
;;
1.0)
echo "========================== 1.1 "
#source scripts/Check-if-root.sh
bash scripts/ThirdParty-install-VTK.sh
- bash scripts/ThirdParty-install-Finalize.sh
- read a
+ bash scripts/ThirdParty-install-Finalize.sh
;;
1.2)
#source scripts/Check-if-root.sh
bash scripts/ThirdParty-install-ITK.sh
bash scripts/ThirdParty-install-Finalize.sh
+ ;;
+ 1.4)
+ echo "========================== 1.4 "
+ #source scripts/Check-if-root.sh
+ bash scripts/ThirdParty-install-WX.sh
+ bash scripts/ThirdParty-install-Finalize.sh
read a
;;
done
+