]> Creatis software - creaToolsTools.git/commitdiff
(try to) fix DYLD_LIBRARY_PATH issue
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 20 Jun 2011 09:38:14 +0000 (09:38 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 20 Jun 2011 09:38:14 +0000 (09:38 +0000)
Linux/menu.sh
Linux/scripts/ThirdParty-install-Finalize.sh

index 3aeb7f98d6eaf21bf264218122d900e2afa66152..699f5ed874e968de854de7364704dedd34835538 100644 (file)
@@ -163,7 +163,6 @@ do
         read generationdir
         if [ "$generationdir" = "" ]
         then
-          
            generationdir=$racine
         fi
         echo "you said : [" $generationdir "]"
@@ -357,6 +356,7 @@ docgeneration="OFF"
    echo "loginGroupName=$loginGroupName"         >> $configureFile
    echo "buildType=$buildType"                   >> $configureFile
    echo "gdcmVersion=$gdcmVersion"               >> $configureFile
+   echo "ETC_BASHRC=$ETC_BASHRC"                 >> $configureFile   
    
   # ------------------      
   # endif 'suitable'
@@ -389,6 +389,7 @@ docgeneration="OFF"
      echo "==>"
      echo "==> You HAVE to leave current window to continue!" 
      echo "==>"
+     source $ETC_BASHRC
      read a
      kill -9 $PPID 
   ;;
@@ -435,6 +436,7 @@ docgeneration="OFF"
      echo "==>"
      echo "==> You HAVE to leave current window to continue!"
      echo "==>"
+     source $ETC_BASHRC
      read a
      kill -9 $PPID
   ;;
@@ -477,6 +479,7 @@ docgeneration="OFF"
 #      else
 #        echo "==> Hit any key to close current window"
 #      fi
+     source $ETC_BASHRC
   ;;
 
 
index 2310b2e55e04d3d16b5f7503e6b6dee622735167..06f77fc195c33487cc9c5e4f82b70b5a824cdc6b 100644 (file)
@@ -16,8 +16,15 @@ fi
 
 source $PWD/scripts/CreaTools-configure.sh
 
-#deal with create creatools_third_party_libraries_config.sh
+# /// \TODO move theese ones upper in the process!  JPR
+
+export GDCM_DIR=$installPrefixThird/lib/gdcm/
+export VTK_DIR=$installPrefixThird/lib/vtk-5.6/
+export ITK_DIR=$installPrefixThird/lib/InsightToolkit/
+
 
+#deal with create creatools_third_party_libraries_config.sh
+echo "=========================================================installPrefixThird "$installPrefixThird
 if [ -f $installPrefixThird/share/creatools_third_party_library_config.sh ]
 then
    rm $installPrefixThird/share/creatools_third_party_library_config.sh
@@ -67,7 +74,7 @@ fi
 echo installPrefixThird=$installPrefixThird >> $ETC_BASHRC
 echo '[ -f "$installPrefixThird/share/creatools_third_party_library_config.sh" ] &&  source $installPrefixThird/share/creatools_third_party_library_config.sh' >> $ETC_BASHRC 
 
-
+echo "====================================================ETC_BASHRC "  $ETC_BASHRC 
 
 chown -R $loginUserName  $generationdir
 chgrp -R $loginGroupName $generationdir