echo
echo " Choose what you want to do :"
echo
- echo " Configure :..........................0 "
- echo " Install Third Party Libraries :......1 (as root)"
- echo " Get the 'CreaTools' source files :...2 (CVS : as user!)"
- echo " Compile the CreaTools :............3 "
- echo " Install the CreaTools :............4 (as root)"
- echo " Uninstall the CreaTools :............5 (as root)"
+ echo " Configure :........................0 "
+ echo " Install Third Party Libraries :....1 (as root)"
+ echo " Get the 'CreaTools' source files :.2 (CVS : as user!)"
+ echo " Compile the CreaTools :..........3 "
+ echo " Install the CreaTools :..........4 (as root)"
+ echo " Uninstall the CreaTools :..........5 (as root)"
echo
- echo " Show some Environment Variables .....8"
- echo " Exit :...............................9"
+ echo " Show some Environment Variables ...8"
+ echo " Exit :.............................9"
echo
echo
echo
then
mkdir $generationdir
chown $loginUserName:$loginGroupName $generationdir
+fi
+if [ ! -e $sourcesDir ]
+then
mkdir $sourcesDir
+fi
+
+if [ ! -e $binDir ]
+then
mkdir $binDir
fi
rm -rf $binDir/gdcm*
rm -rf $binDir/InsightToolkit*
rm -rf $binDir/VTK*
-
cd $sourcesDir
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/vtk-5.6.1.tar.gz
wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_08_Dic_2009.tar.gz