]> Creatis software - creaToolsTools.git/commitdiff
Forgot to commit theese ones
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 4 Jan 2011 14:28:05 +0000 (14:28 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 4 Jan 2011 14:28:05 +0000 (14:28 +0000)
Install_ThirdParty/scripts/install_thirdparty_all.sh
README.txt

index 0154ffcef6e3150acb2b32aa196ace78b0a410c3..a33f03a5e7e839c687f05981a21ef431b83954b2 100644 (file)
@@ -34,8 +34,7 @@ then
   exit 0
 fi
 
-echo $OS 
-echo 'ididid'
+echo $OS
 generationdir=$1
 installPrefix=$2
 buildType=$3
@@ -212,7 +211,7 @@ echo export PATH='$'PATH:$installPrefix/bin                         >> $installPrefix/share
 echo export VTK_DIR=$installPrefix/lib/vtk-5.6                         >> $installPrefix/share/creatools_third_party_library_config.sh
 echo export ITK_DIR=$installPrefix/lib/InsightToolkit                  >> $installPrefix/share/creatools_third_party_library_config.sh
 echo export GDCM_DIR=$installPrefix/lib/gdcm                   >> $installPrefix/share/creatools_third_party_library_config.sh
-echo export TTH=$installPrefix/bin/tth                         >> $installPrefix/share/creatools_third_party_library_config.sh
+echo export TTH=$installPrefix/bin/tth                             >> $installPrefix/share/creatools_third_party_library_config.sh
 echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$GDCM_DIR       >> $installPrefix/share/creatools_third_party_library_config.sh
 echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$ITK_DIR        >> $installPrefix/share/creatools_third_party_library_config.sh
 echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$VTK_DIR        >> $installPrefix/share/creatools_third_party_library_config.sh
index a1b7bd1b13fbf1c44d625bfc73c582f59f15e62e..3de3ee2d73f51191428c5a7304e83928810bef5f 100644 (file)
@@ -1,4 +1,63 @@
-=== === ===  UNIX / LINUX users === === ===
+=== === ===   (new way) UNIX / LINUX users === === ===
+
+
+1) Make sure everything you'll need is properly installed :
+crea_Developers_tools, crea_ThirdParty_Libraries
+have a look at :
+http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
+and/or :
+cd Install_ThirdParty
+follow the Readme.txt
+
+2) make sure VTK_DIR environment variable is set properly :
+echo $VTK_DIR
+Set it, if not OK:
+export VTK_DIR=/usr/local/lib/vtk-5.4, for instance
+
+3) make sure LATEX_COMPILER environment variable is set properly :
+echo $LATEX_COMPILER 
+Set it, if not OK:
+export LATEX_COMPILER=/usr/bin/latex, for instance
+
+4) Make sure you got the last version of creaToolsTools.
+cvs update -dP creaToolsTools
+
+a) cd Install
+
+b) cp configure.sh_TEMPLATE  configure.sh
+
+c) modify (only once) the file configure.sh, according to your preferences:
+vim configure.sh
+as follows :
+-- configure.sh ---------------------
+generationdir=<name of the Generation Directory>
+docGeneration=<Boolean For Doc Generation> : ON / OFF
+cvsUserName=<user Name For CVS>
+installPrefix=<installPrefix> : /usr/local or $generationdir/creatools_install
+buildType=<buildType> : Release / Debug
+gdcmVersion=<GDCM Version> : GDCM1 / GDCM2
+sourcesFrom=<where do you want to get them from> : CVS / HTML
+--------------------------------------
+
+
+d) if you choosed  'sourcesFrom=CVS' :
+ssh-add
+<type your cvs password>
+
+e) sh scripts/make.sh
+
+f) make sure everything is OK
+
+g) switch as root
+
+h) sh scripts/make-install.sh
+
+
+
+
+
+
+=== === ===  (old way) UNIX / LINUX users === === ===
 
 0)  Make sure you are a 'sudoer'.
 have a look at :
@@ -35,7 +94,6 @@ cp creatools.sh_TEMPLATE creatools.sh
 7) modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh
 vim creatools.sh
 as follows :
-
 -- creatools.sh ---------------------
 creatoolsGeneration=<directory you want to generate in>
 installPrefix=<your Install dir> or </usr/local>