]> Creatis software - creaToolsTools.git/blobdiff - README.txt
*** empty log message ***
[creaToolsTools.git] / README.txt
index 172a7fe331a8a7267d01eb5eefb7cea9bab13ef9..8038d58cb1d58131c46927ec24cee480003ca99e 100644 (file)
@@ -1,12 +1,14 @@
-=== UNIX / LINUX users ===
+=== === ===   (new way) UNIX / LINUX users === === ===
 
-0) Make sure everything you'll need is properly installed :
+
+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
-
-1) Make sure you got the last version of creaToolsTools.
-cvs update -dP creaToolsTools
+and/or :
+cd Install_ThirdParty
+follow the Readme.txt
 
 2) make sure VTK_DIR environment variable is set properly :
 echo $VTK_DIR
@@ -18,23 +20,87 @@ echo $LATEX_COMPILER
 Set it, if not OK:
 export LATEX_COMPILER=/usr/bin/latex, for instance
 
-4) ssh-add
+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>
 
-5)cd Install
+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 :
+--sudo configuration--
+https://fedoraproject.org/wiki/Configuring_Sudo
+
+1) ssh-add
+<type your cvs password>
+
+2) Make sure you got the last version of creaToolsTools.
+cvs update -dP creaToolsTools
+
+3) 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
+
+4) 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
+
+5) 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
+
+6)cd Install
 cp creatools.sh_TEMPLATE creatools.sh
 
-6) modify the file creatools.sh, according to your preferences, modify (only once) 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> 
 cvsUser=<USER>
 docGeneration=<OFF|ON> let it to OFF!
 buildType=<Release|Debug>
-#sudo pwd
 cd scripts
 sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType
 cd .. 
@@ -43,8 +109,18 @@ cd ..
 7) Run the whole stuff :
 sh creatools.sh
 
+8) if you performed a 'local install' (i.e : you *didn't* use installPrefix=/usr/local)
+edit your .bash_profile
+PATH=$PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/bin
+export PATH
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<fullPathnameOfYourInstallPrefix>/creatools_install/lib
+export LD_LIBRARY_PATH
+
+
+
+=== === === WINDOWS users === === ===
+
 
-=== WINDOWS users ===
 
 0) Make sure everything you'll need is properly installed :
 crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008