]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix bug 0020454: [CEA] Unacessary buggy test of gcc in the InstalWizard
authorvsr <vsr@opencascade.com>
Wed, 19 Aug 2009 15:41:47 +0000 (15:41 +0000)
committervsr <vsr@opencascade.com>
Wed, 19 Aug 2009 15:41:47 +0000 (15:41 +0000)
bin/SALOME_InstallWizard
config_files/BOOST-1.34.1.sh
src/SALOME_InstallWizard.cxx

index 7e18df83ee65f2fb2bb9b23f5d7bbf535d79ffc9..915efb2f862a27792f7dad8ee9166376c358a8f8 100755 (executable)
Binary files a/bin/SALOME_InstallWizard and b/bin/SALOME_InstallWizard differ
index c586a0efca8123b0d01a197c8b398210514b6dfa..a1f26e8ffbbd121d86f76345f5dead2a1d0ec99f 100755 (executable)
@@ -121,10 +121,12 @@ rm -rf boost-1_34_1
 # create additional links for libraries
 cd ${PRODUCT_DIR}/lib
 
-gcc_root="`where_gcc $GCC_VERSION`"
-gcc_root=`cd ${gcc_root}/..; pwd`
-maj_ver=`${gcc_root}/bin/gcc -dumpversion | awk -F[.-] '{if(NF>0) print $1; else print 0}'`
-min_ver=`${gcc_root}/bin/gcc -dumpversion | awk -F[.-] '{if(NF>1) print $2; else print 0}'`
+#gcc_root="`where_gcc $GCC_VERSION`"
+#gcc_root=`cd ${gcc_root}/..; pwd`
+#maj_ver=`${gcc_root}/bin/gcc -dumpversion | awk -F[.-] '{if(NF>0) print $1; else print 0}'`
+#min_ver=`${gcc_root}/bin/gcc -dumpversion | awk -F[.-] '{if(NF>1) print $2; else print 0}'`
+maj_ver=`gcc -dumpversion | awk -F[.-] '{if(NF>0) print $1; else print 0}'`
+min_ver=`gcc -dumpversion | awk -F[.-] '{if(NF>1) print $2; else print 0}'`
 gcc_ver=$maj_ver$min_ver
 
 for aLib in date_time filesystem prg_exec_monitor python regex signals test_exec_monitor thread unit_test_framework ; do
index 909deaa449ad896ef34bf2184e84c017f2319b60..72a8193ca3eb9b7233abd1b437db499b526af0be 100644 (file)
@@ -2655,7 +2655,7 @@ void SALOME_InstallWizard::pageChanged( const QString & mytitle)
     }
     // add extra products to install list
     extraProducts.clear();
-    extraProducts.insert( "gcc", "gcc-common.sh" );
+    //extraProducts.insert( "gcc", "gcc-common.sh" );
     if ( refPlatform == commonPlatform && installType == Binaries )
       extraProducts.insert( "DebianLibsForSalome", "DEBIANFORSALOME-3.1.sh" );
   }