3 if [ ! -f $PWD/scripts/CreaTools-configure.sh ]
7 echo "==================================================="
10 echo "YOU NEED TO RUN 'Configure' (0) First !"
11 echo "==================================================="
17 source $PWD/scripts/CreaTools-configure.sh
20 sourcesDir=$generationdir/thirdparty_sources
21 binDir=$generationdir/thirdparty_bin
23 if [ ! -e $generationdir ]
26 chown $loginUserName $generationdir
27 chgrp $loginGroupName $generationdir
30 if [ ! -e $sourcesDir ]
34 #chown $loginUserName:$loginGroupName $sourcesDir
35 chown $loginUserName $sourcesDir
36 chgrp $loginGroupName $sourcesDir
42 chown $loginUserName $binDir
43 chgrp $loginGroupName $binDir
46 # the following stupid test is used at debug time; Please don't remove!
50 # ///\TODO what about SuSE? Debian? Mandriva? Gentoo?
51 case "$OperatingSystem" in
55 yum install cmake-gui -y
56 yum install doxygen -y
57 yum install graphviz -y
58 yum install texlive -y
59 yum install latex2html -y
60 yum install wxGTK-devel wxBase -y
61 yum install boost-devel -y
62 yum install sqlite-devel -y
63 yum install qt-devel -y
64 yum install mesa-libOSMesa-devel -y
66 yum install gcc-c++ -y
67 yum install xerces-c-devel -y
69 yum install qtwebkit-devel -y
73 apt-get --yes install build-essential # esta linea instala las librerias necesarias para compilar en ubuntu, g++ gcc etc etc etc.
74 apt-get --yes install cmake
75 apt-get --yes install cmake-gui
76 apt-get --yes install cmake-curses-gui
77 apt-get --yes install doxygen
78 apt-get --yes install graphviz
79 apt-get --yes install texlive
80 apt-get --yes install latex2html
81 apt-get --yes install libgtk2.0-dev #GTK
82 apt-get --yes install libwxgtk2.8-dev #Wx GTK
83 apt-get --yes install libwxbase2.8-dev #Wx solito
84 apt-get --yes install wx-common #wxrc
85 apt-get --yes install libboost-dev #Boost
86 apt-get --yes install libboost-all-dev #Boost
87 apt-get --yes install libqt4-dev #QT4
89 apt-get --yes install qt4-qmake #QT4 qmake
90 apt-get --yes install libsqlite0-dev
91 apt-get --yes install libsqlite3-dev
92 apt-get --yes install libosmesa6-dev #Mesa6
93 apt-get --yes install uuid-dev # uuid para la instalacion de itk
94 apt-get --yes install libxaw7-dev # X11
99 port install doxygen -y
100 port install graphviz -y
101 # port install tetex -y (replaced by texlive) # cf EED : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsInstallInstructionsv2.0.1MacOsv10.5.6-Developpers
102 port install texlive -y
103 port install latex2html -y
104 port install wxGTK -y
105 port install boost -y
106 ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED : http://www.creatis.insa-lyon.fr/site
107 ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib /opt/local/lib # cf EED
108 ln -s libboost_filesystem-xgcc40-mt-1_38.dylib libboost_filesystem.dylib /opt/local/lib # cf EE
109 ln -s libboost_system-xgcc40-mt-1_38.dylib libboost_system.dylib /opt/local/lib # cf EE
110 port install sqlite3 -y
111 port install qt4-mac -y
112 ln -s qmake-mac qmake /opt/local/bin # cf EED
116 echo " '$OperatingSystem' : Unknown (for us...) Operating Sytem "
117 echo " Allowed values are (right now) Fedora, Ubuntu, MacOS "