2 # ---------------------------------------------------------------------
4 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
6 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
8 # This software is governed by the CeCILL-B license under French law and
9 # abiding by the rules of distribution of free software. You can use,
10 # modify and/ or redistribute the software under the terms of the CeCILL-B
11 # license as circulated by CEA, CNRS and INRIA at the following URL
12 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
13 # or in the file LICENSE.txt.
15 # As a counterpart to the access to the source code and rights to copy,
16 # modify and redistribute granted by the license, users are provided only
17 # with a limited warranty and the software's author, the holder of the
18 # economic rights, and the successive licensors have only limited
21 # The fact that you are presently reading this means that you have had
22 # knowledge of the CeCILL-B license and that you accept its terms.
23 # ------------------------------------------------------------------------
29 echo "OperatingSystem = $OperatingSystem"
31 # the following stupid test is used at debug time; Please don't remove!
35 # ///\TODO what about SuSE? Debian? Mandriva? Gentoo?
36 case "$OperatingSystem" in
52 #urpmi mesa-libOSMesa-devel
53 urpmi lib64mesagl1-devel
54 urpmi libmesagl1-devel
57 urpmi lib64wxgtk2.8-devel
58 urpmi libwxgtk2.8-devel
62 urpmi patch ### EED It's working ???
63 urpmi fcgi ### EED It's working ???
64 urpmi fcgi-devel ### EED It's working ???
72 yum install cmake-gui -y
73 yum install doxygen -y
74 yum install graphviz -y
75 yum install texlive -y
76 yum install latex2html -y
77 yum install wxGTK-devel wxBase -y
78 yum install boost-devel -y
79 yum install sqlite-devel -y
80 yum install qt-devel -y
81 yum install mesa-libOSMesa-devel -y
83 yum install gcc-c++ -y
84 yum install redhat-rpm-config -y
85 yum install xerces-c-devel -y
87 yum install qtwebkit-devel -y
90 yum install fcgi-devel -y
94 apt-get --yes install aria2
95 apt-get --yes install build-essential # esta linea instala las librerias necesarias para compilar en ubuntu, g++ gcc etc etc etc.
96 apt-get --yes install git
97 apt-get --yes install cmake
98 apt-get --yes install cmake-gui
99 apt-get --yes install cmake-curses-gui
100 apt-get --yes install doxygen
101 apt-get --yes install graphviz
102 apt-get --yes install texlive
103 apt-get --yes install latex2html
104 apt-get --yes install libgtk2.0-dev #GTK
105 apt-get --yes install libwxgtk2.8-dev #Wx GTK
106 apt-get --yes install libwxbase2.8-dev #Wx solito
107 apt-get --yes install wx-common #wxrc
108 apt-get --yes install libboost-dev #Boost
109 apt-get --yes install libboost-all-dev #Boost
110 apt-get --yes install libqt4-dev #QT4
111 apt-get --yes install libxerces-c-dev
112 apt-get --yes install patch
113 apt-get --yes install fcgi
114 apt-get --yes install fcgi-devel
116 apt-get --yes install qt4-qmake #QT4 qmake
117 apt-get --yes install libsqlite0-dev
118 apt-get --yes install libsqlite3-dev
119 apt-get --yes install libosmesa6-dev #Mesa6
120 apt-get --yes install uuid-dev # uuid para la instalacion de itk
121 apt-get --yes install libxaw7-dev # X11
125 port install cmake -y
126 port install doxygen -y
127 port install graphviz -y
128 # port install tetex -y (replaced by texlive) # cf EED : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsInstallInstructionsv2.0.1MacOsv10.5.6-Developpers
129 port install texlive -y
130 port install latex2html -y
131 port install wxGTK -y
132 port install boost -y
133 ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED : http://www.creatis.insa-lyon.fr/site
134 ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED
135 ln -s libboost_filesystem-xgcc40-mt-1_38.dylib libboost_filesystem.dylib /opt/local/lib # cf EE
136 ln -s libboost_system-xgcc40-mt-1_38.dylib libboost_system.dylib /opt/local/lib # cf EE
137 port install sqlite3 -y
138 port install qt4-mac -y
139 ln -s qmake-mac qmake /opt/local/bin # cf EED
141 port install fcgi -y ## It's working ?
142 port install fcgi-devel -y ## It's working ?
145 echo " '$OperatingSystem' : Unknown (for us...) Operating Sytem "
146 echo " Allowed values are (right now) Fedora, Ubuntu, MacOS "