# ///\TODO what about SuSE? Debian? Mandriva? Gentoo?
case "$OperatingSystem" in
Fedora)
- yum install cmake -y
- yum install cmake-gui -y
- yum install doxygen -y
- yum install graphviz -y
- yum install texlive -y
- yum install latex2html -y
- yum install wxGTK-devel wxBase -y
- yum install boost-devel -y
- yum install sqlite-devel -y
- yum install qt-devel -y
+ yum install cmake -y
+ yum install cmake-gui -y
+ yum install doxygen -y
+ yum install graphviz -y
+ yum install texlive -y
+ yum install latex2html -y
+ yum install wxGTK-devel wxBase -y
+ yum install boost-devel -y
+ yum install sqlite-devel -y
+ yum install qt-devel -y
yum install mesa-libOSMesa-devel -y
;;
Ubuntu)
apt-get --yes install libxaw7-dev # X11
;;
MacOS)
-
port selfupdate
port install cmake -y
port install doxygen -y
port install graphviz -y
+ port install tetex -y # cf EED : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsInstallInstructionsv2.0.1MacOsv10.5.6-Developpers
port install texlive -y
port install latex2html -y
- port install wxGTK -y
+ port install wxGTK -y
port install boost -y
+ ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /usr/local/lib # cf EED : http://www.creatis.insa-lyon.fr/site
+ ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /usr/local/lib # cf EED
+ ln -s libboost_filesystem-xgcc40-mt-1_38.dylib libboost_filesystem.dylib /usr/local/lib # cf EE
+ ln -s libboost_system-xgcc40-mt-1_38.dylib libboost_system.dylib /usr/local/lib # cf EE
port install sqlite3 -y
port install qt4-mac -y
+ ln -s qmake-mac qmake /opt/local/bin # cf EED
port install mesa -y
;;
*)
curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/InsightToolkit-3.20.0.tar.gz
curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_Developer_Tools/All_Versions/tth/tth_linux/tth
-
+
tar -xvf VTK-5.6.1.patchCreatis.tar.gz
tar -xvf gdcm_05_Mai_2011.tar.gz
tar -xvf InsightToolkit-3.20.0.tar.gz
echo installPrefixThird=$installPrefixThird >> $ETC_BASHRC
echo '[ -f "$installPrefixThird/share/creatools_third_party_library_config.sh" ] && source $installPrefixThird/share/creatools_third_party_library_config.sh' >> $ETC_BASHRC
-chown -R $loginUserName $generationdir
+chown -R $loginUserName $generationdir
chgrp -R $loginGroupName $generationdir