Launch 'installscript' in command line to see the list of options.
+===== How to Install =======
+0) Not forget:
+ A. Install your ssh key: https://www.creatis.insa-lyon.fr/mywiki/SSH
+ Note: -Put your key in .ssh directory.
+ -Change de right of your
+ chmod ugo-rwx id_dsa
+ chmod u+rwx id_dsa
+ B. Send an email to the web master Fabrice Bellet <fabrice.bellet@creatis.insa-lyon.fr>
+ to be include in the DataBase-GIT of Creatools.
+
+1)
+./installscript config
+
+2)
+./installscript 3rd
+
+3)
+./installscript creatools
+
+
+
+
+
+==========================================
+==========================================
+==========================================
+
+
+Exemples of differents configurations :
+
-===== How to Install (HTML VERSION)=======
+===== How to Install - HTML VERSION =======
1)
./installscript -os Fedora -ncore 8 -gdir $HOME/Creatis/creaTools -instprefix $HOME/Creatis/creaTools/creatools_install -instprefix3 $HOME/Creatis/creaTools/thirdparty_install -build Release config
./installscript creatools
-===== How to Install (GIT VERSION)=======
+===== How to Install - GIT VERSION =======
0) Not forget:
A. Install your ssh key: https://www.creatis.insa-lyon.fr/mywiki/SSH
Note: -Put your key in .ssh directory.
installPrefixThird=
installPrefix=
docgeneration=OFF
-sourcesFrom=HTML
+sourcesFrom=GIT
loginUserName=$USER
loginGroupName=`groups | awk '{print $1}'`
-buildType=RelWithDebug
+buildType=Release
gdcmVersion=GDCM1
ITKVersion=ITK3
-export ETC_BASHRC=`getbashrc`
+export ETC_BASHRC=~/.bashrc
if [ `checkVal $command all 3rd 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx ` == true ] ; then
bigDisplay "FINALIZE 3RD PARTY LIBRARY INSTALLATION"
bash scripts/ThirdParty-install-Finalize.sh
- source $ETC_BASHRC
if [ `checkVal $command 3rd 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx ` == true ] ; then
bigDisplay "Third Party Install Done"
bigDisplay "Please copy paste the following command or open a new terminal: source ~/.bashrc"
if [ `checkVal $command all creatools creatools-cmp` == true ] ; then
bigDisplay "COMPILE CREATOOLS"
source $ETC_BASHRC
- bash -x scripts/CreaTools-compile.sh
+ bash -x scripts/CreaTools-compile.sh
# To allow (*very* aware) user to patch code, later
if [ ! -e $generationdir/creatools_source ] ; then
urpmi gcc-c++
urpmi git
urpmi rpm-build
+ urpmi patch ### EED It's working ???
;;
Fedora)
yum install xerces-c-devel -y
yum install git -y
yum install qtwebkit-devel -y
+ yum install patch -y
;;
Ubuntu)
apt-get --yes install libboost-all-dev #Boost
apt-get --yes install libqt4-dev #QT4
apt-get --yes install libxerces-c-dev
+ apt-get --yes install patch
## CLAIRE - JGRR
apt-get --yes install qt4-qmake #QT4 qmake
apt-get --yes install libsqlite0-dev