X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=README.txt;h=3de3ee2d73f51191428c5a7304e83928810bef5f;hb=fb494e971b1243f096091f4cac04c7a8d4f488fd;hp=30954fea2abab916775ac5461d3c91e229d7b335;hpb=268d1f3ffb65d1b79acb814fde3c5d07eccc7b76;p=creaToolsTools.git diff --git a/README.txt b/README.txt index 30954fe..3de3ee2 100644 --- a/README.txt +++ b/README.txt @@ -1,33 +1,139 @@ +=== === === (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= +docGeneration= : ON / OFF +cvsUserName= +installPrefix= : /usr/local or $generationdir/creatools_install +buildType= : Release / Debug +gdcmVersion= : GDCM1 / GDCM2 +sourcesFrom= : CVS / HTML +-------------------------------------- + + +d) if you choosed 'sourcesFrom=CVS' : ssh-add -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 + + +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 -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= installPrefix= or -vtkDir= ex : /usr/lib64/vtk-5.4/ or /usr/lib/vtk-5.4/, ... cvsUser= docGeneration= let it to OFF! buildType= -archi=<32|64> according to your processor -#sudo pwd cd scripts -sh All.sh $creatoolsGeneration $docGeneration $cvsUser $vtkDir $installPrefix $buildType $archi +sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType 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:/creatools_install/bin +export PATH +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/creatools_install/lib +export LD_LIBRARY_PATH + + + +=== === === WINDOWS users === === === + + + +0) Make sure everything you'll need is properly installed : +crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008 +Have a look at : +http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload +Change your CVS user in the file All.bat +Copy all the .bat files into one directoy where the tests are going to be run +execute All.bat +Not forget to run your ssh key with puttyAgent +All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run.