1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # This software is governed by the CeCILL-B license under French law and
8 # abiding by the rules of distribution of free software. You can use,
9 # modify and/ or redistribute the software under the terms of the CeCILL-B
10 # license as circulated by CEA, CNRS and INRIA at the following URL
11 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
12 # or in the file LICENSE.txt.
14 # As a counterpart to the access to the source code and rights to copy,
15 # modify and redistribute granted by the license, users are provided only
16 # with a limited warranty and the software's author, the holder of the
17 # economic rights, and the successive licensors have only limited
20 # The fact that you are presently reading this means that you have had
21 # knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------
26 #######################################
27 two solution to install the creatools under Linux:
28 -- the new install script (called installscript)
29 -- the old interactive script (menu.sh) (obsolete will disappear in a near future)
32 ===================================
34 ===================================
39 ./installscript -gdir $HOME/work/creatools/creainstall config
41 ./installscript -git sdika -ncore 4 -gdir $HOME/work/creatools/creainstall config
43 # to configure / compile-install all packages and the creatools themselves
44 ./installscript -git sdika -ncore 4 -gdir $HOME/work/creatools/creainstall all
46 # compile-install only one part (vtk for example) ONCE CONFIG HAS BEEN RUN
47 ./installscript 3rd-vtk
52 ===================================
54 ===================================
56 Use always bash (never use sh!)
60 You will be prompted to say what you want to do :
62 Configure :........................0
63 Install Third Party Libraries :....1 (as root)
64 Get and Install the 'CreaTools':...2
66 Get the 'CreaTools' source files :.2.1 (GIT : as user!)
67 Compile the CreaTools :..........2.2
68 Install the CreaTools :..........2.3
70 Use compact menu :.................5
72 Use expanded menu :................5
73 Uninstall the CreaTools :..........6
74 Help ..............................7 Help about this menu
76 Show some Environment Variables ...8
77 Exit :.............................9
80 B) As a user, choose 'Configure' (0)
82 You will be prompted to give your preferences :
84 "Operating System : Fedora/Ubuntu/MacOS"
86 "Name of the Generation Directory"
87 "Boolean for Doc Generation : YES/NO"
88 "Where do you want to get source files from : GIT/HTML"
91 1/ you must have shared your public key on CREATIS server
96 "Build type : Release/Debug"
97 "Gdcm version : GDCM1/GDCM2"
98 "ITK version : ITK3/ITK4"
100 Note : Currently, only GDCM1 and ITK 3 are supported.
102 C) - Exit the menu (9).
103 - Switch as root and run 'bash menu.sh'.
104 - Choose 'Install Third Party Libraries' (1).
105 - Close the terminal window.
107 D) - Open a new terminal window.
109 - Launch 'bash menu.sh'.
110 - Choose 'Get and Install the CreaTools source files' (2).
111 - Close the terminal window.
113 E) Open a new terminal window.
114 You can work, by launching creaTools.sh!