From: vsr Date: Wed, 19 Aug 2009 15:23:31 +0000 (+0000) Subject: Fix bug 0020454: [CEA] Unacessary buggy test of gcc in the InstalWizard X-Git-Tag: V5_1_3~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d1cdf98b24fd2930790eff6a21fe4e6713fbc982;p=tools%2Finstall.git Fix bug 0020454: [CEA] Unacessary buggy test of gcc in the InstalWizard --- diff --git a/bin/SALOME_InstallWizard b/bin/SALOME_InstallWizard index f37e5fb..ff629f4 100755 Binary files a/bin/SALOME_InstallWizard and b/bin/SALOME_InstallWizard differ diff --git a/config_files/BOOST-1.34.1.sh b/config_files/BOOST-1.34.1.sh index c586a0e..a1f26e8 100755 --- a/config_files/BOOST-1.34.1.sh +++ b/config_files/BOOST-1.34.1.sh @@ -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 diff --git a/src/SALOME_InstallWizard.cxx b/src/SALOME_InstallWizard.cxx index 8f40f03..bd069c2 100644 --- a/src/SALOME_InstallWizard.cxx +++ b/src/SALOME_InstallWizard.cxx @@ -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" ); }