# ///\TODO what about SuSE? Debian? Mandriva? Gentoo?
case "$OperatingSystem" in
Mandriva)
+ urpmi aria2
urpmi cmake
urpmi cmake-qtgui
urpmi doxygen
urpmi gcc-c++
urpmi git
urpmi rpm-build
- urpmi patch ### EED It's working ???
+ urpmi patch ### EED It's working ???
+ urpmi fcgi ### EED It's working ???
+ urpmi fcgi-devel ### EED It's working ???
;;
Fedora)
+ yum install aria2 -y
+ yum install wget -y
+ yum install unzip -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 wxGTK3-devel wxBase3 -y
+ yum install boost-devel -y
+ yum install sqlite-devel -y
+ yum install qt-devel -y
+ yum install mesa-libOSMesa-devel -y
+ yum install gcc -y
+ yum install gcc-c++ -y
+ yum install redhat-rpm-config -y
+ yum install xerces-c-devel -y
+ yum install git -y
+ yum install qtwebkit-devel -y
+ yum install patch -y
+ yum install fcgi -y
+ yum install fcgi-devel -y
+
+ ;;
+ CentOS)
+ yum install aria2 -y
yum install wget -y
yum install unzip -y
yum install cmake -y
yum install mesa-libOSMesa-devel -y
yum install gcc -y
yum install gcc-c++ -y
+ yum install redhat-rpm-config -y
yum install xerces-c-devel -y
yum install git -y
yum install qtwebkit-devel -y
yum install patch -y
+ yum install fcgi -y
+ yum install fcgi-devel -y
;;
Ubuntu)
+ apt-get --yes install aria2
apt-get --yes install build-essential # esta linea instala las librerias necesarias para compilar en ubuntu, g++ gcc etc etc etc.
apt-get --yes install git
apt-get --yes install cmake
apt-get --yes install libqt4-dev #QT4
apt-get --yes install libxerces-c-dev
apt-get --yes install patch
+ apt-get --yes install fcgi
+ apt-get --yes install fcgi-devel
## CLAIRE - JGRR
apt-get --yes install qt4-qmake #QT4 qmake
apt-get --yes install libsqlite0-dev
apt-get --yes install libosmesa6-dev #Mesa6
apt-get --yes install uuid-dev # uuid para la instalacion de itk
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 (replaced by texlive) # 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 boost -y
- ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED : http://www.creatis.insa-lyon.fr/site
- ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED
- ln -s libboost_filesystem-xgcc40-mt-1_38.dylib libboost_filesystem.dylib /opt/local/lib # cf EE
- ln -s libboost_system-xgcc40-mt-1_38.dylib libboost_system.dylib /opt/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
+ port -N install cairo -y
+ port -N install libomp -y
+ port -N install wget -y
+ port -N install cmake -y
+ port -N install doxygen -y
+ port -N install graphviz -y
+ # port -N install tetex -y (replaced by texlive) # cf EED : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsInstallInstructionsv2.0.1MacOsv10.5.6-Developpers
+ port -N install texlive -y
+ port -N install latex2html -y
+ port -N install wxWidgets-3.0 -y
+ port -N install boost -y
+# ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED : http://www.creatis.insa-lyon.fr/site
+# ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED
+# ln -s libboost_filesystem-xgcc40-mt-1_38.dylib libboost_filesystem.dylib /opt/local/lib # cf EE
+# ln -s libboost_system-xgcc40-mt-1_38.dylib libboost_system.dylib /opt/local/lib # cf EE
+ port -N install sqlite3 -y
+# port install qt4-mac -y
+# ln -s qmake-mac qmake /opt/local/bin # cf EED
+# port install mesa -y
+ port -N install fcgi -y ## It's working ?
;;
*)
echo " '$OperatingSystem' : Unknown (for us...) Operating Sytem "