X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FThirdParty-install-Base-Stuff.sh;h=a548be6662590a4f879ed902d014413b6c459b6c;hb=fd2aac7e56a2ae4ecd5ed98deec488f6dbbedc1b;hp=ff862d1451acbc7adb9926e4674addd371159111;hpb=c6a324a9e343fcd992fc3e73e886bc0323d5c0a7;p=creaToolsTools.git diff --git a/Linux/scripts/ThirdParty-install-Base-Stuff.sh b/Linux/scripts/ThirdParty-install-Base-Stuff.sh index ff862d1..a548be6 100644 --- a/Linux/scripts/ThirdParty-install-Base-Stuff.sh +++ b/Linux/scripts/ThirdParty-install-Base-Stuff.sh @@ -46,25 +46,25 @@ binDir=$generationdir/thirdparty_bin if [ ! -e $generationdir ] then - mkdir $generationdir - chown $loginUserName $generationdir - chgrp $loginGroupName $generationdir + mkdir -p $generationdir + chown -R $loginUserName $generationdir + chgrp -R $loginGroupName $generationdir fi if [ ! -e $sourcesDir ] then - mkdir $sourcesDir + mkdir -p $sourcesDir #was : (pb on MacOS?) - #chown $loginUserName:$loginGroupName $sourcesDir - chown $loginUserName $sourcesDir - chgrp $loginGroupName $sourcesDir + #chown -R $loginUserName:$loginGroupName $sourcesDir + chown -R $loginUserName $sourcesDir + chgrp -R $loginGroupName $sourcesDir fi if [ ! -e $binDir ] then - mkdir $binDir - chown $loginUserName $binDir - chgrp $loginGroupName $binDir + mkdir -p $binDir + chown -R $loginUserName $binDir + chgrp -R $loginGroupName $binDir fi # the following stupid test is used at debug time; Please don't remove! @@ -95,12 +95,14 @@ then urpmi lib64wxgtk2.8-devel urpmi libwxgtk2.8-devel urpmi gcc-c++ - urpmi cvs + urpmi git urpmi rpm-build + urpmi patch ### EED It's working ??? ;; Fedora) yum install wget -y + yum install unzip -y yum install cmake -y yum install cmake-gui -y yum install doxygen -y @@ -115,12 +117,14 @@ then yum install gcc -y yum install gcc-c++ -y yum install xerces-c-devel -y - yum install cvs -y + yum install git -y yum install qtwebkit-devel -y + yum install patch -y ;; Ubuntu) apt-get --yes install build-essential # esta linea instala las librerias necesarias para compilar en ubuntu, g++ gcc etc etc etc. + apt-get --yes install git apt-get --yes install cmake apt-get --yes install cmake-gui apt-get --yes install cmake-curses-gui @@ -135,6 +139,8 @@ then apt-get --yes install libboost-dev #Boost 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