]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Debug install wizard for Debian 3.1 (Sarge)
authorvsr <vsr@opencascade.com>
Tue, 20 Dec 2005 15:32:49 +0000 (15:32 +0000)
committervsr <vsr@opencascade.com>
Tue, 20 Dec 2005 15:32:49 +0000 (15:32 +0000)
32 files changed:
config.xml
config_Debian_3.1.xml [new file with mode: 0755]
config_Mandrake_10.1.xml [deleted file]
config_RedHat_8.0.xml [deleted file]
config_RedHat_9.xml [deleted file]
config_Scientific_3.0.5.xml [deleted file]
config_files/BOOST-1.30.2.sh [deleted file]
config_files/BOOST-1.31.0.sh
config_files/HappyDoc-r2_1.sh
config_files/Numeric-22.0.sh [deleted file]
config_files/Numeric-23.7.sh
config_files/Python-2.3.4.sh [deleted file]
config_files/Python-2.3.5.sh [new file with mode: 0755]
config_files/SWIG-1.3.17.sh [deleted file]
config_files/VTK-4.2.2.sh [deleted file]
config_files/VTK-4.2.6.sh
config_files/common.sh
config_files/doxygen-1.3-rc2.sh [deleted file]
config_files/doxygen-1.3.7.sh [deleted file]
config_files/doxygen-1.4.2.sh [new file with mode: 0755]
config_files/gcc-3.2.sh [deleted file]
config_files/gcc-3.3.5.sh [new file with mode: 0755]
config_files/gcc-3.4.sh [deleted file]
config_files/graphviz-1.9.sh [deleted file]
config_files/hdf5-1.4.4.sh [deleted file]
config_files/msg2qm.sh
config_files/qt-3.3.3.sh [deleted file]
config_files/qt-3.3.4.sh [new file with mode: 0755]
config_files/qwt-0.4.1.sh [deleted file]
config_files/sip-4.1.sh
config_files/tcltk-8.3.3.sh [deleted file]
config_files/tcltk-8.4.5.sh

index 7b2ee3a6016694de6a5dfb512698ef917f74ffc2..f86530439a15423ca4c6427d82606f6a5b0ae0a4 100644 (file)
@@ -3,11 +3,11 @@
          caption="SALOME v%1"
           copyright="&lt;h5>Copyright (C) 2003-2005 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
           license="&lt;h5>GNU LGPL&lt;/h5>"
-         os="Mandrake10.1"/>
+         os="DebianSarge"/>
   <path targetdir="${HOME}/salome"
         tempdir="/tmp"/>
   <product name="gcc" 
-           version="3.4.1
+           version="3.3.5
            description="GNU Compiler Collection"
            install="use native"
           supported="use native"
           dependancies=""
           installdiskspace="0"
           temporarydiskspace="0"
-          script="gcc-3.4.sh"/>
+          script="gcc-3.3.5.sh"/>
   <product name="tcltk" 
-           version="8.4.5
+           version="8.4" 
            description="Tcl/Tk library"
-           install="install binaries"
+           install="use native"
           supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc"
-          installdiskspace="23060"
-          temporarydiskspace="39388"
+          installdiskspace="23135"
+          temporarydiskspace="39620"
           script="tcltk-8.4.5.sh"/>
   <product name="Python" 
-           version="2.3.4
+           version="2.3.5
            description="Python language interpreter"
-           install="install binaries"
+           install="use native"
           supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc"
-          installdiskspace="36916"
-          temporarydiskspace="57788"
-          script="Python-2.3.4.sh"/>
+          installdiskspace="43390"
+          temporarydiskspace="69380"
+          script="Python-2.3.5.sh"/>
   <product name="Qt" 
-           version="3.3.3
+           version="3.3.4
            description="Multiplatform C++ GUI application framework"
-           install="install binaries"
+           install="use native"
           supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc"
-          installdiskspace="50369"
-          temporarydiskspace="133413"
-          script="qt-3.3.3.sh"/>
+          installdiskspace="50946"
+          temporarydiskspace="161340"
+          script="qt-3.3.4.sh"/>
   <product name="msg2qm"
            version="" 
            description="Qt's resources compiler"
-           install="install binaries"
-          supported="install sources,install binaries"
+           install="use native"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,Qt"
-          installdiskspace="19"
-          temporarydiskspace="48"
+          installdiskspace="24"
+          temporarydiskspace="56"
           script="msg2qm.sh"/>
   <product name="Sip"
            version="4.1" 
            description="C++ to Python bindings generation tool"
-           install="install binaries"
-          supported="install sources,install binaries"
+           install="use native"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,Python,Qt"
-          installdiskspace="352"
+          installdiskspace="303"
           temporarydiskspace="2168"
           script="sip-4.1.sh"/>
   <product name="PyQt"
            version="3.13" 
            description="Python bindings for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
+           install="use native"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,Python,Qt,Sip"
-          installdiskspace="15669"
-          temporarydiskspace="60356"
+          installdiskspace="15427"
+          temporarydiskspace="60120"
           script="PyQt-3.13.sh"/>
   <product name="boost"
            version="1.31.0" 
            description="Free peer-reviewed portable STL extension"
            install="install sources"
-          supported="install sources"
+          supported="use native,install sources"
           disable="false"
           dependancies="gcc"
           installdiskspace="41770"
   <product name="Swig" 
            version="1.3.24" 
            description="Simplified Wrapper and Interface Generator"
-           install="install sources"
-          supported="install sources"
+           install="use native"
+          supported="use native,install sources"
           disable="false"
           dependancies="gcc,Python,tcltk"
-          installdiskspace="3026"
-          temporarydiskspace="25500"
+          installdiskspace="3283"
+          temporarydiskspace="27724"
           script="SWIG-1.3.24.sh"/>
   <product name="OpenCascade" 
            version="6.0" 
   <product name="Qwt" 
            version="4.2.0" 
            description="2-D plotting extension for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
+           install="use native"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,Qt"
-          installdiskspace="995"
-          temporarydiskspace="11948"
+          installdiskspace="948"
+          temporarydiskspace="12100"
           script="qwt-4.2.0.sh"/>
   <product name="OmniORB"
            version="4.0.5" 
           supported="install sources,install binaries"
           disable="false"
           dependancies="gcc,Python"
-          installdiskspace="31899"
-          temporarydiskspace="71032"
+          installdiskspace="31901"
+          temporarydiskspace="72440"
           script="omniORB-4.0.5.sh"/>
   <product name="Hdf" 
            version="5-1.6.3" 
           supported="install sources,install binaries"
           disable="false"
           dependancies="gcc"
-          installdiskspace="4229"
-          temporarydiskspace="47460"
+          installdiskspace="3724"
+          temporarydiskspace="46480"
           script="hdf5-1.6.3.sh"/>
   <product name="Med"
            version="2.2.2" 
           supported="install sources,install binaries"
           disable="false"
           dependancies="gcc,Hdf"
-          installdiskspace="7470"
-          temporarydiskspace="19052"
+          installdiskspace="18844"
+          temporarydiskspace="44112"
           script="med-2.2.2.sh"/>
   <product name="Vtk"
            version="4.2.6" 
           supported="install sources,install binaries"
           disable="false"
           dependancies="gcc,tcltk,Python"
-          installdiskspace="37001"
-          temporarydiskspace="172034"
+          installdiskspace="35799"
+          temporarydiskspace="196548"
           script="VTK-4.2.6.sh"/>
   <product name="Numeric"
            version="23.7" 
            description="Numerical extension to Python"
            install="install binaries"
-          supported="install sources,install binaries"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,Python"
-          installdiskspace="1177"
-          temporarydiskspace="5304"
+          installdiskspace="1608"
+          temporarydiskspace="6512"
           script="Numeric-23.7.sh"/>
   <product name="HappyDoc"
            version="2.1" 
            description="Python source code documentation extracting tool"
-           install="install binaries"
-          supported="install sources,install binaries"
+           install="use native"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="Python"
           installdiskspace="1517"
-          temporarydiskspace="5020"
+          temporarydiskspace="5408"
           script="HappyDoc-r2_1.sh"/>
   <product name="Graphviz"
            version="2.2.1" 
            description="Graph Drawing Programs set"
-           install="install binaries"
-          supported="install sources,install binaries"
+           install="use native"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,tcltk"
-          installdiskspace="8551"
+          installdiskspace="9445"
           temporarydiskspace="44340"
           script="graphviz-2.2.1.sh"/>
   <product name="Doxygen"
-           version="1.3.7
+           version="1.4.2
            description="Documentation system for C++, C, Java, IDL, etc."
-           install="install binaries"
+           install="use native"
           supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,Qt,Graphviz"
-          installdiskspace="6090"
-          temporarydiskspace="32355"
-          script="doxygen-1.3.7.sh"/>
+          installdiskspace="5116"
+          temporarydiskspace="38060"
+          script="doxygen-1.4.2.sh"/>
   <product name="netgen" 
            version="4.3" 
            description="Quadrangle meshing algorithmic tool"
           supported="install sources,install binaries"
           disable="false"
           dependancies="gcc"
-          installdiskspace="2966"
-          temporarydiskspace="8216"
+          installdiskspace="3070"
+          temporarydiskspace="8384"
           script="netgen-4.3.sh"/>
   <product name="KERNEL-Src"
            version="3.1.0" 
diff --git a/config_Debian_3.1.xml b/config_Debian_3.1.xml
new file mode 100755 (executable)
index 0000000..f865304
--- /dev/null
@@ -0,0 +1,552 @@
+<document>
+  <config version="3.1.0"
+         caption="SALOME v%1"
+          copyright="&lt;h5>Copyright (C) 2003-2005 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
+          license="&lt;h5>GNU LGPL&lt;/h5>"
+         os="DebianSarge"/>
+  <path targetdir="${HOME}/salome"
+        tempdir="/tmp"/>
+  <product name="gcc" 
+           version="3.3.5" 
+           description="GNU Compiler Collection"
+           install="use native"
+          supported="use native"
+          disable="false"
+          dependancies=""
+          installdiskspace="0"
+          temporarydiskspace="0"
+          script="gcc-3.3.5.sh"/>
+  <product name="tcltk" 
+           version="8.4" 
+           description="Tcl/Tk library"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="23135"
+          temporarydiskspace="39620"
+          script="tcltk-8.4.5.sh"/>
+  <product name="Python" 
+           version="2.3.5" 
+           description="Python language interpreter"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="43390"
+          temporarydiskspace="69380"
+          script="Python-2.3.5.sh"/>
+  <product name="Qt" 
+           version="3.3.4" 
+           description="Multiplatform C++ GUI application framework"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="50946"
+          temporarydiskspace="161340"
+          script="qt-3.3.4.sh"/>
+  <product name="msg2qm"
+           version="" 
+           description="Qt's resources compiler"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt"
+          installdiskspace="24"
+          temporarydiskspace="56"
+          script="msg2qm.sh"/>
+  <product name="Sip"
+           version="4.1" 
+           description="C++ to Python bindings generation tool"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python,Qt"
+          installdiskspace="303"
+          temporarydiskspace="2168"
+          script="sip-4.1.sh"/>
+  <product name="PyQt"
+           version="3.13" 
+           description="Python bindings for Qt library"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python,Qt,Sip"
+          installdiskspace="15427"
+          temporarydiskspace="60120"
+          script="PyQt-3.13.sh"/>
+  <product name="boost"
+           version="1.31.0" 
+           description="Free peer-reviewed portable STL extension"
+           install="install sources"
+          supported="use native,install sources"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="41770"
+          temporarydiskspace="0"
+          script="BOOST-1.31.0.sh"/>
+  <product name="Swig" 
+           version="1.3.24" 
+           description="Simplified Wrapper and Interface Generator"
+           install="use native"
+          supported="use native,install sources"
+          disable="false"
+          dependancies="gcc,Python,tcltk"
+          installdiskspace="3283"
+          temporarydiskspace="27724"
+          script="SWIG-1.3.24.sh"/>
+  <product name="OpenCascade" 
+           version="6.0" 
+           description="Open CASCADE version 6.0.0"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,tcltk"
+          installdiskspace="217388"
+          temporarydiskspace="980538"
+          script="CAS-6.0.sh"/>
+  <product name="Qwt" 
+           version="4.2.0" 
+           description="2-D plotting extension for Qt library"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt"
+          installdiskspace="948"
+          temporarydiskspace="12100"
+          script="qwt-4.2.0.sh"/>
+  <product name="OmniORB"
+           version="4.0.5" 
+           description="Open source Object Request Broker (ORB) library that implements the 2.3 specification of the Common Object Request Broker Architecture (CORBA)"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python"
+          installdiskspace="31901"
+          temporarydiskspace="72440"
+          script="omniORB-4.0.5.sh"/>
+  <product name="Hdf" 
+           version="5-1.6.3" 
+           description="Hierarchical Data Format library"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="3724"
+          temporarydiskspace="46480"
+          script="hdf5-1.6.3.sh"/>
+  <product name="Med"
+           version="2.2.2" 
+           description="MED format interface library"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Hdf"
+          installdiskspace="18844"
+          temporarydiskspace="44112"
+          script="med-2.2.2.sh"/>
+  <product name="Vtk"
+           version="4.2.6" 
+           description="Image processing, 3D graphics and visualization software system"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,tcltk,Python"
+          installdiskspace="35799"
+          temporarydiskspace="196548"
+          script="VTK-4.2.6.sh"/>
+  <product name="Numeric"
+           version="23.7" 
+           description="Numerical extension to Python"
+           install="install binaries"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python"
+          installdiskspace="1608"
+          temporarydiskspace="6512"
+          script="Numeric-23.7.sh"/>
+  <product name="HappyDoc"
+           version="2.1" 
+           description="Python source code documentation extracting tool"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="Python"
+          installdiskspace="1517"
+          temporarydiskspace="5408"
+          script="HappyDoc-r2_1.sh"/>
+  <product name="Graphviz"
+           version="2.2.1" 
+           description="Graph Drawing Programs set"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,tcltk"
+          installdiskspace="9445"
+          temporarydiskspace="44340"
+          script="graphviz-2.2.1.sh"/>
+  <product name="Doxygen"
+           version="1.4.2" 
+           description="Documentation system for C++, C, Java, IDL, etc."
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt,Graphviz"
+          installdiskspace="5116"
+          temporarydiskspace="38060"
+          script="doxygen-1.4.2.sh"/>
+  <product name="netgen" 
+           version="4.3" 
+           description="Quadrangle meshing algorithmic tool"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="3070"
+          temporarydiskspace="8384"
+          script="netgen-4.3.sh"/>
+  <product name="KERNEL-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform KERNEL module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
+          installdiskspace="9559"
+          temporarydiskspace="0"
+           pickupenv="true"
+          script="KERNEL_SRC.sh"/>
+  <product name="KERNEL-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform KERNEL module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
+          installdiskspace="66500"
+          temporarydiskspace="0"
+           pickupenv="true"
+          script="KERNEL_BIN.sh"/>
+  <product name="GUI-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform GUI module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src"
+          installdiskspace="9244"
+          temporarydiskspace="0"
+          script="GUI_SRC.sh"/>
+  <product name="GUI-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform GUI module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin"
+          installdiskspace="116318"
+          temporarydiskspace="0"
+          script="GUI_BIN.sh"/>
+  <product name="GEOM-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform GEOM modules sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+          installdiskspace="10968"
+          temporarydiskspace="0"
+          script="GEOM_SRC.sh"/>
+  <product name="GEOM-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform GEOM module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+          installdiskspace="151129"
+          temporarydiskspace="0"
+          script="GEOM_BIN.sh"/>
+  <product name="MED-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform MED module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+          installdiskspace="31443"
+          temporarydiskspace="0"
+          script="MED_SRC.sh"/>
+  <product name="MED-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform MED module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+          installdiskspace="123756"
+          temporarydiskspace="0"
+          script="MED_BIN.sh"/>
+  <product name="SMESH-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform SMESH module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
+          installdiskspace="11383"
+          temporarydiskspace="0"
+          script="SMESH_SRC.sh"/>
+  <product name="SMESH-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform SMEHS module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
+          installdiskspace="133447"
+          temporarydiskspace="0"
+          script="SMESH_BIN.sh"/>
+  <product name="VISU-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform VISU module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,MED-Src"
+          installdiskspace="6897"
+          temporarydiskspace="0"
+          script="VISU_SRC.sh"/>
+  <product name="VISU-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform VISU module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,MED-Bin"
+          installdiskspace="62434"
+          temporarydiskspace="0"
+          script="VISU_BIN.sh"/>
+  <product name="SUPERV-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform SUPERV module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+          installdiskspace="5302"
+          temporarydiskspace="0"
+          script="SUPERV_SRC.sh"/>
+  <product name="SUPERV-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform SUPERV module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+          installdiskspace="63339"
+          temporarydiskspace="0"
+          script="SUPERV_BIN.sh"/>
+  <product name="COMPONENT-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform COMPONENT module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
+          installdiskspace="405"
+          temporarydiskspace="0"
+          script="COMPONENT_SRC.sh"/>
+  <product name="COMPONENT-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform COMPONENT module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
+          installdiskspace="18707"
+          temporarydiskspace="0"
+          script="COMPONENT_BIN.sh"/>
+  <product name="PYCALCULATOR-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform PYCALCULATOR module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
+          installdiskspace="146"
+          temporarydiskspace="0"
+          script="PYCALCULATOR_SRC.sh"/>
+  <product name="PYCALCULATOR-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform PYCALCULATOR module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
+          installdiskspace="28"
+          temporarydiskspace="0"
+          script="PYCALCULATOR_BIN.sh"/>
+  <product name="CALCULATOR-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform CALCULATOR module sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
+          installdiskspace="1075"
+          temporarydiskspace="0"
+          script="CALCULATOR_SRC.sh"/>
+  <product name="CALCULATOR-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform CALCULATOR module"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
+          installdiskspace="3557"
+          temporarydiskspace="0"
+          script="CALCULATOR_BIN.sh"/>
+  <product name="NETGENplugin-Src" 
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform NETGEN meshing algorithm plugin sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
+          installdiskspace="69"
+          temporarydiskspace="0"
+          script="NETGENPLUGIN_SRC.sh"/>
+  <product name="NETGENplugin-Bin" 
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform NETGEN meshing algorithm plugin"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
+          installdiskspace="3747"
+          temporarydiskspace="0"
+          script="NETGENPLUGIN_BIN.sh"/>
+  <product name="GHS3Dplugin-Src" 
+           version="3.1.0" 
+           context="salome sources" 
+           description="SALOME platform GHS3D meshing algorithm plugin sources. For use this plugin you should add the path to ghs3d to your PATH environment variable."
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
+          installdiskspace="913"
+          temporarydiskspace="0"
+          script="GHS3DPLUGIN_SRC.sh"/>
+  <product name="GHS3Dplugin-Bin" 
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable."
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
+          installdiskspace="174"
+          temporarydiskspace="0"
+          script="GHS3DPLUGIN_BIN.sh"/>
+  <product name="Hello-Src" 
+           version="3.1.0" 
+           context="salome sources" 
+           description="Example SALOME C++ module (sources): Hello."
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+          installdiskspace="886"
+          temporarydiskspace="0"
+          script="HELLO_SRC.sh"/>
+  <product name="Hello-Bin" 
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Example SALOME C++ module (binaries): Hello."
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+          installdiskspace="2489"
+          temporarydiskspace="0"
+          script="HELLO_BIN.sh"/>
+  <product name="PyHello-Src" 
+           version="3.1.0" 
+           context="salome sources" 
+           description="Example SALOME Python module (sources): Hello."
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+          installdiskspace="707"
+          temporarydiskspace="0"
+          script="PYHELLO_SRC.sh"/>
+  <product name="PyHello-Bin" 
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Example SALOME Python module (binaries): Hello."
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+          installdiskspace="25"
+          temporarydiskspace="0"
+          script="PYHELLO_BIN.sh"/>
+  <product name="LIGHT-Src"
+           version="3.1.0" 
+           context="salome sources" 
+           description="LIGHT SALOME module example sources"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
+          installdiskspace="1103"
+          temporarydiskspace="0"
+          script="LIGHT_SRC.sh"/>
+  <product name="LIGHT-Bin"
+           version="3.1.0" 
+           context="salome binaries" 
+           description="Precompiled LIGHT SALOME platform module example"
+           install="install binaries"
+          supported="install binaries"
+          disable="false"
+          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
+          installdiskspace="278"
+          temporarydiskspace="0"
+          script="LIGHT_BIN.sh"/>
+  <product name="SAMPLES"
+           version="3.1.0" 
+           context="salome sources,salome binaries" 
+           description="SALOME samples files"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies=""
+          installdiskspace="34470"
+          temporarydiskspace="0"
+          script="SAMPLES.sh"/>
+</document>
diff --git a/config_Mandrake_10.1.xml b/config_Mandrake_10.1.xml
deleted file mode 100755 (executable)
index c898a5b..0000000
+++ /dev/null
@@ -1,552 +0,0 @@
-<document>
-  <config version="3.1.0"
-         caption="SALOME v%1"
-          copyright="&lt;h5>Copyright (C) 2003-2005 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
-          license="&lt;h5>GNU LGPL&lt;/h5>"
-         os="Mandrake10.1"/>
-  <path targetdir="${HOME}/salome"
-        tempdir="/tmp"/>
-  <product name="gcc" 
-           version="3.4.1" 
-           description="GNU Compiler Collection"
-           install="use native"
-          supported="use native"
-          disable="false"
-          dependancies=""
-          installdiskspace="0"
-          temporarydiskspace="0"
-          script="gcc-3.4.sh"/>
-  <product name="tcltk" 
-           version="8.4.5" 
-           description="Tcl/Tk library"
-           install="use native"
-          supported="use native,install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="23060"
-          temporarydiskspace="39388"
-          script="tcltk-8.4.5.sh"/>
-  <product name="Python" 
-           version="2.3.4" 
-           description="Python language interpreter"
-           install="use native"
-          supported="use native,install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="36916"
-          temporarydiskspace="57788"
-          script="Python-2.3.4.sh"/>
-  <product name="Qt" 
-           version="3.3.3" 
-           description="Multiplatform C++ GUI application framework"
-           install="use native"
-          supported="use native,install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="50369"
-          temporarydiskspace="133413"
-          script="qt-3.3.3.sh"/>
-  <product name="msg2qm"
-           version="" 
-           description="Qt's resources compiler"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="19"
-          temporarydiskspace="48"
-          script="msg2qm.sh"/>
-  <product name="Sip"
-           version="4.1" 
-           description="C++ to Python bindings generation tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt"
-          installdiskspace="352"
-          temporarydiskspace="2168"
-          script="sip-4.1.sh"/>
-  <product name="PyQt"
-           version="3.13" 
-           description="Python bindings for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt,Sip"
-          installdiskspace="15669"
-          temporarydiskspace="60356"
-          script="PyQt-3.13.sh"/>
-  <product name="boost"
-           version="1.31.0" 
-           description="Free peer-reviewed portable STL extension"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="41770"
-          temporarydiskspace="0"
-          script="BOOST-1.31.0.sh"/>
-  <product name="Swig" 
-           version="1.3.24" 
-           description="Simplified Wrapper and Interface Generator"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,Python,tcltk"
-          installdiskspace="3026"
-          temporarydiskspace="25500"
-          script="SWIG-1.3.24.sh"/>
-  <product name="OpenCascade" 
-           version="6.0" 
-           description="Open CASCADE version 6.0.0"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="217388"
-          temporarydiskspace="980538"
-          script="CAS-6.0.sh"/>
-  <product name="Qwt" 
-           version="4.2.0" 
-           description="2-D plotting extension for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="995"
-          temporarydiskspace="11948"
-          script="qwt-4.2.0.sh"/>
-  <product name="OmniORB"
-           version="4.0.5" 
-           description="Open source Object Request Broker (ORB) library that implements the 2.3 specification of the Common Object Request Broker Architecture (CORBA)"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="31899"
-          temporarydiskspace="71032"
-          script="omniORB-4.0.5.sh"/>
-  <product name="Hdf" 
-           version="5-1.6.3" 
-           description="Hierarchical Data Format library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="4229"
-          temporarydiskspace="47460"
-          script="hdf5-1.6.3.sh"/>
-  <product name="Med"
-           version="2.2.2" 
-           description="MED format interface library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Hdf"
-          installdiskspace="7470"
-          temporarydiskspace="19052"
-          script="med-2.2.2.sh"/>
-  <product name="Vtk"
-           version="4.2.6" 
-           description="Image processing, 3D graphics and visualization software system"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk,Python"
-          installdiskspace="37001"
-          temporarydiskspace="172034"
-          script="VTK-4.2.6.sh"/>
-  <product name="Numeric"
-           version="23.7" 
-           description="Numerical extension to Python"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="1177"
-          temporarydiskspace="5304"
-          script="Numeric-23.7.sh"/>
-  <product name="HappyDoc"
-           version="2.1" 
-           description="Python source code documentation extracting tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="Python"
-          installdiskspace="1517"
-          temporarydiskspace="5020"
-          script="HappyDoc-r2_1.sh"/>
-  <product name="Graphviz"
-           version="2.2.1" 
-           description="Graph Drawing Programs set"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="8551"
-          temporarydiskspace="44340"
-          script="graphviz-2.2.1.sh"/>
-  <product name="Doxygen"
-           version="1.3.7" 
-           description="Documentation system for C++, C, Java, IDL, etc."
-           install="use native"
-          supported="use native,install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt,Graphviz"
-          installdiskspace="6090"
-          temporarydiskspace="32355"
-          script="doxygen-1.3.7.sh"/>
-  <product name="netgen" 
-           version="4.3" 
-           description="Quadrangle meshing algorithmic tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="2966"
-          temporarydiskspace="8216"
-          script="netgen-4.3.sh"/>
-  <product name="KERNEL-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform KERNEL module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="9559"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_SRC.sh"/>
-  <product name="KERNEL-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform KERNEL module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="66500"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_BIN.sh"/>
-  <product name="GUI-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GUI module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src"
-          installdiskspace="9244"
-          temporarydiskspace="0"
-          script="GUI_SRC.sh"/>
-  <product name="GUI-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GUI module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin"
-          installdiskspace="116318"
-          temporarydiskspace="0"
-          script="GUI_BIN.sh"/>
-  <product name="GEOM-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GEOM modules sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="10968"
-          temporarydiskspace="0"
-          script="GEOM_SRC.sh"/>
-  <product name="GEOM-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GEOM module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="151129"
-          temporarydiskspace="0"
-          script="GEOM_BIN.sh"/>
-  <product name="MED-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform MED module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="31443"
-          temporarydiskspace="0"
-          script="MED_SRC.sh"/>
-  <product name="MED-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform MED module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="123756"
-          temporarydiskspace="0"
-          script="MED_BIN.sh"/>
-  <product name="SMESH-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SMESH module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
-          installdiskspace="11383"
-          temporarydiskspace="0"
-          script="SMESH_SRC.sh"/>
-  <product name="SMESH-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SMEHS module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
-          installdiskspace="133447"
-          temporarydiskspace="0"
-          script="SMESH_BIN.sh"/>
-  <product name="VISU-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform VISU module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,MED-Src"
-          installdiskspace="6897"
-          temporarydiskspace="0"
-          script="VISU_SRC.sh"/>
-  <product name="VISU-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform VISU module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,MED-Bin"
-          installdiskspace="62434"
-          temporarydiskspace="0"
-          script="VISU_BIN.sh"/>
-  <product name="SUPERV-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SUPERV module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="5302"
-          temporarydiskspace="0"
-          script="SUPERV_SRC.sh"/>
-  <product name="SUPERV-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SUPERV module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="63339"
-          temporarydiskspace="0"
-          script="SUPERV_BIN.sh"/>
-  <product name="COMPONENT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform COMPONENT module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="405"
-          temporarydiskspace="0"
-          script="COMPONENT_SRC.sh"/>
-  <product name="COMPONENT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform COMPONENT module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="18707"
-          temporarydiskspace="0"
-          script="COMPONENT_BIN.sh"/>
-  <product name="PYCALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform PYCALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="146"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_SRC.sh"/>
-  <product name="PYCALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform PYCALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="28"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_BIN.sh"/>
-  <product name="CALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform CALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="1075"
-          temporarydiskspace="0"
-          script="CALCULATOR_SRC.sh"/>
-  <product name="CALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform CALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="3557"
-          temporarydiskspace="0"
-          script="CALCULATOR_BIN.sh"/>
-  <product name="NETGENplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform NETGEN meshing algorithm plugin sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="69"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_SRC.sh"/>
-  <product name="NETGENplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform NETGEN meshing algorithm plugin"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="3747"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_BIN.sh"/>
-  <product name="GHS3Dplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GHS3D meshing algorithm plugin sources. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="913"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_SRC.sh"/>
-  <product name="GHS3Dplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="174"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_BIN.sh"/>
-  <product name="Hello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME C++ module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="886"
-          temporarydiskspace="0"
-          script="HELLO_SRC.sh"/>
-  <product name="Hello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME C++ module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="2489"
-          temporarydiskspace="0"
-          script="HELLO_BIN.sh"/>
-  <product name="PyHello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME Python module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="707"
-          temporarydiskspace="0"
-          script="PYHELLO_SRC.sh"/>
-  <product name="PyHello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME Python module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="25"
-          temporarydiskspace="0"
-          script="PYHELLO_BIN.sh"/>
-  <product name="LIGHT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="LIGHT SALOME module example sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="1103"
-          temporarydiskspace="0"
-          script="LIGHT_SRC.sh"/>
-  <product name="LIGHT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled LIGHT SALOME platform module example"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="278"
-          temporarydiskspace="0"
-          script="LIGHT_BIN.sh"/>
-  <product name="SAMPLES"
-           version="3.1.0" 
-           context="salome sources,salome binaries" 
-           description="SALOME samples files"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies=""
-          installdiskspace="34470"
-          temporarydiskspace="0"
-          script="SAMPLES.sh"/>
-</document>
diff --git a/config_RedHat_8.0.xml b/config_RedHat_8.0.xml
deleted file mode 100755 (executable)
index 626502b..0000000
+++ /dev/null
@@ -1,552 +0,0 @@
-<document>
-  <config version="3.1.0"
-         caption="SALOME v%1"
-          copyright="&lt;h5>Copyright (C) 2003-2005 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
-          license="&lt;h5>GNU LGPL&lt;/h5>"
-         os="RedHat8.0"/>
-  <path targetdir="${HOME}/salome"
-        tempdir="/tmp"/>
-  <product name="gcc" 
-           version="3.2" 
-           description="GNU Compiler Collection"
-           install="use native"
-          supported="use native"
-          disable="false"
-          dependancies=""
-          installdiskspace="0"
-          temporarydiskspace="0"
-          script="gcc-3.2.sh"/>
-  <product name="tcltk" 
-           version="8.3.3" 
-           description="Tcl/Tk library"
-           install="use native"
-          supported="use native,install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="17870"
-          temporarydiskspace="33044"
-          script="tcltk-8.3.3.sh"/>
-  <product name="Python" 
-           version="2.3.4" 
-           description="Python language interpreter"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="43714"
-          temporarydiskspace="69972"
-          script="Python-2.3.4.sh"/>
-  <product name="Qt" 
-           version="3.3.3" 
-           description="Multiplatform C++ GUI application framework"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="48991"
-          temporarydiskspace="129729"
-          script="qt-3.3.3.sh"/>
-  <product name="msg2qm"
-           version="" 
-           description="Qt's resources compiler"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="21"
-          temporarydiskspace="56"
-          script="msg2qm.sh"/>
-  <product name="Sip"
-           version="4.1" 
-           description="C++ to Python bindings generation tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt"
-          installdiskspace="291"
-          temporarydiskspace="1793"
-          script="sip-4.1.sh"/>
-  <product name="PyQt"
-           version="3.13" 
-           description="Python bindings for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt,Sip"
-          installdiskspace="14670"
-          temporarydiskspace="55896"
-          script="PyQt-3.13.sh"/>
-  <product name="boost"
-           version="1.30.2" 
-           description="Free peer-reviewed portable STL extension"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="38069"
-          temporarydiskspace="0"
-          script="BOOST-1.30.2.sh"/>
-  <product name="Swig" 
-           version="1.3.17" 
-           description="Simplified Wrapper and Interface Generator"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,Python,tcltk"
-          installdiskspace="1947"
-          temporarydiskspace="18476"
-          script="SWIG-1.3.17.sh"/>
-  <product name="OpenCascade" 
-           version="6.0" 
-           description="Open CASCADE version 6.0"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="207372"
-          temporarydiskspace="844120"
-          script="CAS-6.0.sh"/>
-  <product name="Qwt" 
-           version="0.4.1" 
-           description="2-D plotting extension for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="448"
-          temporarydiskspace="4136"
-          script="qwt-0.4.1.sh"/>
-  <product name="OmniORB"
-           version="4.0.5" 
-           description="Open source Object Request Broker (ORB) library that implements the 2.3 specification of the Common Object Request Broker Architecture (CORBA)"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="31227"
-          temporarydiskspace="70140"
-          script="omniORB-4.0.5.sh"/>
-  <product name="Hdf" 
-           version="5-1.6.3" 
-           description="Hierarchical Data Format library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="3730"
-          temporarydiskspace="28556"
-          script="hdf5-1.6.3.sh"/>
-  <product name="Med"
-           version="2.2.2" 
-           description="MED format interface library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Hdf"
-          installdiskspace="18205"
-          temporarydiskspace="41768"
-          script="med-2.2.2.sh"/>
-  <product name="Vtk"
-           version="4.2.2" 
-           description="Image processing, 3D graphics and visualization software system"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk,Python"
-          installdiskspace="44811"
-          temporarydiskspace="201556"
-          script="VTK-4.2.2.sh"/>
-  <product name="Numeric"
-           version="22.0" 
-           description="Numerical extension to Python"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="2667"
-          temporarydiskspace="8852"
-          script="Numeric-22.0.sh"/>
-  <product name="HappyDoc"
-           version="2.1" 
-           description="Python source code documentation extracting tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="Python"
-          installdiskspace="1490"
-          temporarydiskspace="5408"
-          script="HappyDoc-r2_1.sh"/>
-  <product name="Graphviz"
-           version="1.9" 
-           description="Graph Drawing Programs set"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="17720"
-          temporarydiskspace="71296"
-          script="graphviz-1.9.sh"/>
-  <product name="Doxygen"
-           version="1.3-rc2" 
-           description="Documentation system for C++, C, Java, IDL, etc."
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt,Graphviz"
-          installdiskspace="5438"
-          temporarydiskspace="32696"
-          script="doxygen-1.3-rc2.sh"/>
-  <product name="netgen" 
-           version="4.3" 
-           description="Quadrangle meshing algorithmic tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="2924"
-          temporarydiskspace="8244"
-          script="netgen-4.3.sh"/>
-  <product name="KERNEL-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform KERNEL module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="9570"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_SRC.sh"/>
-  <product name="KERNEL-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform KERNEL module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="102864"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_BIN.sh"/>
-  <product name="GUI-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GUI module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src"
-          installdiskspace="9244"
-          temporarydiskspace="0"
-          script="GUI_SRC.sh"/>
-  <product name="GUI-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GUI module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin"
-          installdiskspace="155687"
-          temporarydiskspace="0"
-          script="GUI_BIN.sh"/>
-  <product name="GEOM-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GEOM modules sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="10968"
-          temporarydiskspace="0"
-          script="GEOM_SRC.sh"/>
-  <product name="GEOM-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GEOM module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="209255"
-          temporarydiskspace="0"
-          script="GEOM_BIN.sh"/>
-  <product name="MED-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform MED module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="31443"
-          temporarydiskspace="0"
-          script="MED_SRC.sh"/>
-  <product name="MED-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform MED module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="144698"
-          temporarydiskspace="0"
-          script="MED_BIN.sh"/>
-  <product name="SMESH-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SMESH module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
-          installdiskspace="11383"
-          temporarydiskspace="0"
-          script="SMESH_SRC.sh"/>
-  <product name="SMESH-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SMEHS module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
-          installdiskspace="168789"
-          temporarydiskspace="0"
-          script="SMESH_BIN.sh"/>
-  <product name="VISU-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform VISU module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,MED-Src"
-          installdiskspace="6897"
-          temporarydiskspace="0"
-          script="VISU_SRC.sh"/>
-  <product name="VISU-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform VISU module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,MED-Bin"
-          installdiskspace="78822"
-          temporarydiskspace="0"
-          script="VISU_BIN.sh"/>
-  <product name="SUPERV-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SUPERV module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="5302"
-          temporarydiskspace="0"
-          script="SUPERV_SRC.sh"/>
-  <product name="SUPERV-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SUPERV module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="86205"
-          temporarydiskspace="0"
-          script="SUPERV_BIN.sh"/>
-  <product name="COMPONENT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform COMPONENT module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="406"
-          temporarydiskspace="0"
-          script="COMPONENT_SRC.sh"/>
-  <product name="COMPONENT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform COMPONENT module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="29440"
-          temporarydiskspace="0"
-          script="COMPONENT_BIN.sh"/>
-  <product name="PYCALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform PYCALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="147"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_SRC.sh"/>
-  <product name="PYCALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform PYCALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="28"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_BIN.sh"/>
-  <product name="CALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform CALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="975"
-          temporarydiskspace="0"
-          script="CALCULATOR_SRC.sh"/>
-  <product name="CALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform CALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="3231"
-          temporarydiskspace="0"
-          script="CALCULATOR_BIN.sh"/>
-  <product name="NETGENplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform NETGEN meshing algorithm plugin sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="69"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_SRC.sh"/>
-  <product name="NETGENplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform NETGEN meshing algorithm plugin"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="4314"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_BIN.sh"/>
-  <product name="GHS3Dplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GHS3D meshing algorithm plugin sources. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="801"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_SRC.sh"/>
-  <product name="GHS3Dplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="152"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_BIN.sh"/>
-  <product name="Hello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME C++ module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="784"
-          temporarydiskspace="0"
-          script="HELLO_SRC.sh"/>
-  <product name="Hello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME C++ module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="2297"
-          temporarydiskspace="0"
-          script="HELLO_BIN.sh"/>
-  <product name="PyHello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME Python module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="650"
-          temporarydiskspace="0"
-          script="PYHELLO_SRC.sh"/>
-  <product name="PyHello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME Python module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="26"
-          temporarydiskspace="0"
-          script="PYHELLO_BIN.sh"/>
-  <product name="LIGHT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="LIGHT SALOME module example sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="979"
-          temporarydiskspace="0"
-          script="LIGHT_SRC.sh"/>
-  <product name="LIGHT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled LIGHT SALOME platform module example"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="248"
-          temporarydiskspace="0"
-          script="LIGHT_BIN.sh"/>
-  <product name="SAMPLES"
-           version="3.1.0" 
-           context="salome sources,salome binaries" 
-           description="SALOME samples files"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies=""
-          installdiskspace="34470"
-          temporarydiskspace="0"
-          script="SAMPLES.sh"/>
-</document>
diff --git a/config_RedHat_9.xml b/config_RedHat_9.xml
deleted file mode 100755 (executable)
index 87d82d6..0000000
+++ /dev/null
@@ -1,552 +0,0 @@
-<document>
-  <config version="3.1.0"
-         caption="SALOME v%1"
-          copyright="&lt;h5>Copyright (C) 2003-2005 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
-          license="&lt;h5>GNU LGPL&lt;/h5>"
-         os="RedHat9"/>
-  <path targetdir="${HOME}/salome"
-        tempdir="/tmp"/>
-  <product name="gcc" 
-           version="3.2" 
-           description="GNU Compiler Collection"
-           install="use native"
-          supported="use native"
-          disable="false"
-          dependancies=""
-          installdiskspace="0"
-          temporarydiskspace="0"
-          script="gcc-3.2.sh"/>
-  <product name="tcltk" 
-           version="8.3.3" 
-           description="Tcl/Tk library"
-           install="install binaries"
-          supported="use native,install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="17870"
-          temporarydiskspace="33044"
-          script="tcltk-8.3.3.sh"/>
-  <product name="Python" 
-           version="2.3.4" 
-           description="Python language interpreter"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="43714"
-          temporarydiskspace="69972"
-          script="Python-2.3.4.sh"/>
-  <product name="Qt" 
-           version="3.3.3" 
-           description="Multiplatform C++ GUI application framework"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="48991"
-          temporarydiskspace="129729"
-          script="qt-3.3.3.sh"/>
-  <product name="msg2qm"
-           version="" 
-           description="Qt's resources compiler"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="21"
-          temporarydiskspace="56"
-          script="msg2qm.sh"/>
-  <product name="Sip"
-           version="4.1" 
-           description="C++ to Python bindings generation tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt"
-          installdiskspace="291"
-          temporarydiskspace="1793"
-          script="sip-4.1.sh"/>
-  <product name="PyQt"
-           version="3.13" 
-           description="Python bindings for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt,Sip"
-          installdiskspace="14670"
-          temporarydiskspace="55896"
-          script="PyQt-3.13.sh"/>
-  <product name="boost"
-           version="1.30.2" 
-           description="Free peer-reviewed portable STL extension"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="38069"
-          temporarydiskspace="0"
-          script="BOOST-1.30.2.sh"/>
-  <product name="Swig" 
-           version="1.3.17" 
-           description="Simplified Wrapper and Interface Generator"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,Python,tcltk"
-          installdiskspace="1947"
-          temporarydiskspace="18476"
-          script="SWIG-1.3.17.sh"/>
-  <product name="OpenCascade" 
-           version="6.0" 
-           description="Open CASCADE version 6.0"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="207372"
-          temporarydiskspace="844120"
-          script="CAS-6.0.sh"/>
-  <product name="Qwt" 
-           version="0.4.1" 
-           description="2-D plotting extension for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="448"
-          temporarydiskspace="4136"
-          script="qwt-0.4.1.sh"/>
-  <product name="OmniORB"
-           version="4.0.5" 
-           description="Open source Object Request Broker (ORB) library that implements the 2.3 specification of the Common Object Request Broker Architecture (CORBA)"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="31227"
-          temporarydiskspace="70140"
-          script="omniORB-4.0.5.sh"/>
-  <product name="Hdf" 
-           version="5-1.6.3" 
-           description="Hierarchical Data Format library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="3730"
-          temporarydiskspace="28556"
-          script="hdf5-1.6.3.sh"/>
-  <product name="Med"
-           version="2.2.2" 
-           description="MED format interface library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Hdf"
-          installdiskspace="18205"
-          temporarydiskspace="41768"
-          script="med-2.2.2.sh"/>
-  <product name="Vtk"
-           version="4.2.2" 
-           description="Image processing, 3D graphics and visualization software system"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk,Python"
-          installdiskspace="44811"
-          temporarydiskspace="201556"
-          script="VTK-4.2.2.sh"/>
-  <product name="Numeric"
-           version="22.0" 
-           description="Numerical extension to Python"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="2667"
-          temporarydiskspace="8852"
-          script="Numeric-22.0.sh"/>
-  <product name="HappyDoc"
-           version="2.1" 
-           description="Python source code documentation extracting tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="Python"
-          installdiskspace="1490"
-          temporarydiskspace="5408"
-          script="HappyDoc-r2_1.sh"/>
-  <product name="Graphviz"
-           version="1.9" 
-           description="Graph Drawing Programs set"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="17720"
-          temporarydiskspace="71296"
-          script="graphviz-1.9.sh"/>
-  <product name="Doxygen"
-           version="1.3-rc2" 
-           description="Documentation system for C++, C, Java, IDL, etc."
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt,Graphviz"
-          installdiskspace="5438"
-          temporarydiskspace="32696"
-          script="doxygen-1.3-rc2.sh"/>
-  <product name="netgen" 
-           version="4.3" 
-           description="Quadrangle meshing algorithmic tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="2924"
-          temporarydiskspace="8244"
-          script="netgen-4.3.sh"/>
-  <product name="KERNEL-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform KERNEL module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="9570"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_SRC.sh"/>
-  <product name="KERNEL-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform KERNEL module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="102864"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_BIN.sh"/>
-  <product name="GUI-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GUI module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src"
-          installdiskspace="9244"
-          temporarydiskspace="0"
-          script="GUI_SRC.sh"/>
-  <product name="GUI-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GUI module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin"
-          installdiskspace="155687"
-          temporarydiskspace="0"
-          script="GUI_BIN.sh"/>
-  <product name="GEOM-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GEOM modules sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="10968"
-          temporarydiskspace="0"
-          script="GEOM_SRC.sh"/>
-  <product name="GEOM-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GEOM module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="209255"
-          temporarydiskspace="0"
-          script="GEOM_BIN.sh"/>
-  <product name="MED-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform MED module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="31443"
-          temporarydiskspace="0"
-          script="MED_SRC.sh"/>
-  <product name="MED-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform MED module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="144698"
-          temporarydiskspace="0"
-          script="MED_BIN.sh"/>
-  <product name="SMESH-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SMESH module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
-          installdiskspace="11383"
-          temporarydiskspace="0"
-          script="SMESH_SRC.sh"/>
-  <product name="SMESH-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SMEHS module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
-          installdiskspace="168789"
-          temporarydiskspace="0"
-          script="SMESH_BIN.sh"/>
-  <product name="VISU-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform VISU module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,MED-Src"
-          installdiskspace="6897"
-          temporarydiskspace="0"
-          script="VISU_SRC.sh"/>
-  <product name="VISU-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform VISU module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,MED-Bin"
-          installdiskspace="78822"
-          temporarydiskspace="0"
-          script="VISU_BIN.sh"/>
-  <product name="SUPERV-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SUPERV module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="5302"
-          temporarydiskspace="0"
-          script="SUPERV_SRC.sh"/>
-  <product name="SUPERV-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SUPERV module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="86205"
-          temporarydiskspace="0"
-          script="SUPERV_BIN.sh"/>
-  <product name="COMPONENT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform COMPONENT module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="406"
-          temporarydiskspace="0"
-          script="COMPONENT_SRC.sh"/>
-  <product name="COMPONENT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform COMPONENT module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="29440"
-          temporarydiskspace="0"
-          script="COMPONENT_BIN.sh"/>
-  <product name="PYCALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform PYCALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="147"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_SRC.sh"/>
-  <product name="PYCALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform PYCALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="28"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_BIN.sh"/>
-  <product name="CALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform CALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="975"
-          temporarydiskspace="0"
-          script="CALCULATOR_SRC.sh"/>
-  <product name="CALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform CALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="3231"
-          temporarydiskspace="0"
-          script="CALCULATOR_BIN.sh"/>
-  <product name="NETGENplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform NETGEN meshing algorithm plugin sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="69"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_SRC.sh"/>
-  <product name="NETGENplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform NETGEN meshing algorithm plugin"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="4314"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_BIN.sh"/>
-  <product name="GHS3Dplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GHS3D meshing algorithm plugin sources. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="801"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_SRC.sh"/>
-  <product name="GHS3Dplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="152"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_BIN.sh"/>
-  <product name="Hello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME C++ module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="784"
-          temporarydiskspace="0"
-          script="HELLO_SRC.sh"/>
-  <product name="Hello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME C++ module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="2297"
-          temporarydiskspace="0"
-          script="HELLO_BIN.sh"/>
-  <product name="PyHello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME Python module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="650"
-          temporarydiskspace="0"
-          script="PYHELLO_SRC.sh"/>
-  <product name="PyHello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME Python module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="26"
-          temporarydiskspace="0"
-          script="PYHELLO_BIN.sh"/>
-  <product name="LIGHT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="LIGHT SALOME module example sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="979"
-          temporarydiskspace="0"
-          script="LIGHT_SRC.sh"/>
-  <product name="LIGHT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled LIGHT SALOME platform module example"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="248"
-          temporarydiskspace="0"
-          script="LIGHT_BIN.sh"/>
-  <product name="SAMPLES"
-           version="3.1.0" 
-           context="salome sources,salome binaries" 
-           description="SALOME samples files"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies=""
-          installdiskspace="34470"
-          temporarydiskspace="0"
-          script="SAMPLES.sh"/>
-</document>
diff --git a/config_Scientific_3.0.5.xml b/config_Scientific_3.0.5.xml
deleted file mode 100755 (executable)
index 28084a5..0000000
+++ /dev/null
@@ -1,552 +0,0 @@
-<document>
-  <config version="3.1.0"
-         caption="SALOME v%1"
-          copyright="&lt;h5>Copyright (C) 2003-2005 OPEN CASCADE,&lt;br>EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D,&lt;br>LEG, PRINCIPIA R&amp;D, BUREAU VERITAS&lt;/h5>"
-          license="&lt;h5>GNU LGPL&lt;/h5>"
-         os="RedHat8.0"/>
-  <path targetdir="${HOME}/salome"
-        tempdir="/tmp"/>
-  <product name="gcc" 
-           version="3.2" 
-           description="GNU Compiler Collection"
-           install="use native"
-          supported="use native"
-          disable="false"
-          dependancies=""
-          installdiskspace="0"
-          temporarydiskspace="0"
-          script="gcc-3.2.sh"/>
-  <product name="tcltk" 
-           version="8.3.3" 
-           description="Tcl/Tk library"
-           install="install binaries"
-          supported="use native,install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="17870"
-          temporarydiskspace="33044"
-          script="tcltk-8.3.3.sh"/>
-  <product name="Python" 
-           version="2.3.4" 
-           description="Python language interpreter"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="43714"
-          temporarydiskspace="69972"
-          script="Python-2.3.4.sh"/>
-  <product name="Qt" 
-           version="3.3.3" 
-           description="Multiplatform C++ GUI application framework"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="48991"
-          temporarydiskspace="129729"
-          script="qt-3.3.3.sh"/>
-  <product name="msg2qm"
-           version="" 
-           description="Qt's resources compiler"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="21"
-          temporarydiskspace="56"
-          script="msg2qm.sh"/>
-  <product name="Sip"
-           version="4.1" 
-           description="C++ to Python bindings generation tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt"
-          installdiskspace="291"
-          temporarydiskspace="1793"
-          script="sip-4.1.sh"/>
-  <product name="PyQt"
-           version="3.13" 
-           description="Python bindings for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python,Qt,Sip"
-          installdiskspace="14670"
-          temporarydiskspace="55896"
-          script="PyQt-3.13.sh"/>
-  <product name="boost"
-           version="1.30.2" 
-           description="Free peer-reviewed portable STL extension"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="38069"
-          temporarydiskspace="0"
-          script="BOOST-1.30.2.sh"/>
-  <product name="Swig" 
-           version="1.3.17" 
-           description="Simplified Wrapper and Interface Generator"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,Python,tcltk"
-          installdiskspace="1947"
-          temporarydiskspace="18476"
-          script="SWIG-1.3.17.sh"/>
-  <product name="OpenCascade" 
-           version="6.0" 
-           description="Open CASCADE version 6.0"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="207372"
-          temporarydiskspace="844120"
-          script="CAS-6.0.sh"/>
-  <product name="Qwt" 
-           version="0.4.1" 
-           description="2-D plotting extension for Qt library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt"
-          installdiskspace="448"
-          temporarydiskspace="4136"
-          script="qwt-0.4.1.sh"/>
-  <product name="OmniORB"
-           version="4.0.5" 
-           description="Open source Object Request Broker (ORB) library that implements the 2.3 specification of the Common Object Request Broker Architecture (CORBA)"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="31227"
-          temporarydiskspace="70140"
-          script="omniORB-4.0.5.sh"/>
-  <product name="Hdf" 
-           version="5-1.6.3" 
-           description="Hierarchical Data Format library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="3730"
-          temporarydiskspace="28556"
-          script="hdf5-1.6.3.sh"/>
-  <product name="Med"
-           version="2.2.2" 
-           description="MED format interface library"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Hdf"
-          installdiskspace="18205"
-          temporarydiskspace="41768"
-          script="med-2.2.2.sh"/>
-  <product name="Vtk"
-           version="4.2.2" 
-           description="Image processing, 3D graphics and visualization software system"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk,Python"
-          installdiskspace="44811"
-          temporarydiskspace="201556"
-          script="VTK-4.2.2.sh"/>
-  <product name="Numeric"
-           version="22.0" 
-           description="Numerical extension to Python"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Python"
-          installdiskspace="2667"
-          temporarydiskspace="8852"
-          script="Numeric-22.0.sh"/>
-  <product name="HappyDoc"
-           version="2.1" 
-           description="Python source code documentation extracting tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="Python"
-          installdiskspace="1490"
-          temporarydiskspace="5408"
-          script="HappyDoc-r2_1.sh"/>
-  <product name="Graphviz"
-           version="1.9" 
-           description="Graph Drawing Programs set"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,tcltk"
-          installdiskspace="17720"
-          temporarydiskspace="71296"
-          script="graphviz-1.9.sh"/>
-  <product name="Doxygen"
-           version="1.3-rc2" 
-           description="Documentation system for C++, C, Java, IDL, etc."
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc,Qt,Graphviz"
-          installdiskspace="5438"
-          temporarydiskspace="32696"
-          script="doxygen-1.3-rc2.sh"/>
-  <product name="netgen" 
-           version="4.3" 
-           description="Quadrangle meshing algorithmic tool"
-           install="install binaries"
-          supported="install sources,install binaries"
-          disable="false"
-          dependancies="gcc"
-          installdiskspace="2924"
-          temporarydiskspace="8244"
-          script="netgen-4.3.sh"/>
-  <product name="KERNEL-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform KERNEL module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="9570"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_SRC.sh"/>
-  <product name="KERNEL-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform KERNEL module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc"
-          installdiskspace="102864"
-          temporarydiskspace="0"
-           pickupenv="true"
-          script="KERNEL_BIN.sh"/>
-  <product name="GUI-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GUI module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src"
-          installdiskspace="9244"
-          temporarydiskspace="0"
-          script="GUI_SRC.sh"/>
-  <product name="GUI-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GUI module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin"
-          installdiskspace="155687"
-          temporarydiskspace="0"
-          script="GUI_BIN.sh"/>
-  <product name="GEOM-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GEOM modules sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="10968"
-          temporarydiskspace="0"
-          script="GEOM_SRC.sh"/>
-  <product name="GEOM-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GEOM module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="209255"
-          temporarydiskspace="0"
-          script="GEOM_BIN.sh"/>
-  <product name="MED-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform MED module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="31443"
-          temporarydiskspace="0"
-          script="MED_SRC.sh"/>
-  <product name="MED-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform MED module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="144698"
-          temporarydiskspace="0"
-          script="MED_BIN.sh"/>
-  <product name="SMESH-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SMESH module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
-          installdiskspace="11383"
-          temporarydiskspace="0"
-          script="SMESH_SRC.sh"/>
-  <product name="SMESH-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SMEHS module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
-          installdiskspace="168789"
-          temporarydiskspace="0"
-          script="SMESH_BIN.sh"/>
-  <product name="VISU-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform VISU module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,MED-Src"
-          installdiskspace="6897"
-          temporarydiskspace="0"
-          script="VISU_SRC.sh"/>
-  <product name="VISU-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform VISU module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,MED-Bin"
-          installdiskspace="78822"
-          temporarydiskspace="0"
-          script="VISU_BIN.sh"/>
-  <product name="SUPERV-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform SUPERV module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="5302"
-          temporarydiskspace="0"
-          script="SUPERV_SRC.sh"/>
-  <product name="SUPERV-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform SUPERV module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="86205"
-          temporarydiskspace="0"
-          script="SUPERV_BIN.sh"/>
-  <product name="COMPONENT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform COMPONENT module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="406"
-          temporarydiskspace="0"
-          script="COMPONENT_SRC.sh"/>
-  <product name="COMPONENT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform COMPONENT module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="29440"
-          temporarydiskspace="0"
-          script="COMPONENT_BIN.sh"/>
-  <product name="PYCALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform PYCALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="147"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_SRC.sh"/>
-  <product name="PYCALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform PYCALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="28"
-          temporarydiskspace="0"
-          script="PYCALCULATOR_BIN.sh"/>
-  <product name="CALCULATOR-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform CALCULATOR module sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,MED-Src"
-          installdiskspace="975"
-          temporarydiskspace="0"
-          script="CALCULATOR_SRC.sh"/>
-  <product name="CALCULATOR-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform CALCULATOR module"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,MED-Bin"
-          installdiskspace="3231"
-          temporarydiskspace="0"
-          script="CALCULATOR_BIN.sh"/>
-  <product name="NETGENplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform NETGEN meshing algorithm plugin sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="69"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_SRC.sh"/>
-  <product name="NETGENplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform NETGEN meshing algorithm plugin"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,netgen,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="4314"
-          temporarydiskspace="0"
-          script="NETGENPLUGIN_BIN.sh"/>
-  <product name="GHS3Dplugin-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="SALOME platform GHS3D meshing algorithm plugin sources. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
-          installdiskspace="801"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_SRC.sh"/>
-  <product name="GHS3Dplugin-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled SALOME platform GHS3D meshing algorithm plugin. For use this plugin you should add the path to ghs3d to your PATH environment variable."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
-          installdiskspace="152"
-          temporarydiskspace="0"
-          script="GHS3DPLUGIN_BIN.sh"/>
-  <product name="Hello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME C++ module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="784"
-          temporarydiskspace="0"
-          script="HELLO_SRC.sh"/>
-  <product name="Hello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME C++ module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="2297"
-          temporarydiskspace="0"
-          script="HELLO_BIN.sh"/>
-  <product name="PyHello-Src" 
-           version="3.1.0" 
-           context="salome sources" 
-           description="Example SALOME Python module (sources): Hello."
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="650"
-          temporarydiskspace="0"
-          script="PYHELLO_SRC.sh"/>
-  <product name="PyHello-Bin" 
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Example SALOME Python module (binaries): Hello."
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="26"
-          temporarydiskspace="0"
-          script="PYHELLO_BIN.sh"/>
-  <product name="LIGHT-Src"
-           version="3.1.0" 
-           context="salome sources" 
-           description="LIGHT SALOME module example sources"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Src,GUI-Src"
-          installdiskspace="979"
-          temporarydiskspace="0"
-          script="LIGHT_SRC.sh"/>
-  <product name="LIGHT-Bin"
-           version="3.1.0" 
-           context="salome binaries" 
-           description="Precompiled LIGHT SALOME platform module example"
-           install="install binaries"
-          supported="install binaries"
-          disable="false"
-          dependancies="gcc,boost,tcltk,OpenCascade,Python,Numeric,Swig,Qt,msg2qm,Qwt,Hdf,Med,Vtk,OmniORB,Sip,PyQt,Doxygen,Graphviz,HappyDoc,KERNEL-Bin,GUI-Bin"
-          installdiskspace="248"
-          temporarydiskspace="0"
-          script="LIGHT_BIN.sh"/>
-  <product name="SAMPLES"
-           version="3.1.0" 
-           context="salome sources,salome binaries" 
-           description="SALOME samples files"
-           install="install sources"
-          supported="install sources"
-          disable="false"
-          dependancies=""
-          installdiskspace="34470"
-          temporarydiskspace="0"
-          script="SAMPLES.sh"/>
-</document>
diff --git a/config_files/BOOST-1.30.2.sh b/config_files/BOOST-1.30.2.sh
deleted file mode 100755 (executable)
index bf0c29a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-
-check_version(){
-ver=`egrep 'BOOST_VERSION [0-9]+' ${BOOSTDIR}/boost/version.hpp | sed 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'`
-if [ "$ver" = "103002" ]; then
-  return 0
-fi
-return 1;
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM 
-export BOOSTDIR=\${INSTALL_ROOT}/${PRODUCT}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-echo "It is impossible to use native BOOST."
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/boost-1.30.2.tgz -C ${INSTALL_ROOT}
-
-print_env
-}
-
-install_binary()
-{
-echo "It impossible to install BOOST from binaries, try install from sources."
-return 1
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="boost" ; fi
-export PRODUCT="boost-1.30.2"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE
index e6e0f760c4992b89309638dfe4d168842e7c405a..a694d27826e99256074e857e3c77e554f9995fc8 100755 (executable)
@@ -23,7 +23,27 @@ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
 
 # looks for the native product and collects it's environment (used by make_env())
 try_native(){
-echo "It is impossible to use native BOOST 1.31.0."
+boostdir="`find_in_path version.hpp /usr/include/boost`"
+if [ -z "${boostdir}" ] ; then
+    boostdir="`find_in_path version.hpp /usr/share/include/boost`"
+fi
+if [ -n "${boostdir}" ] ; then
+    boostdir=`cd ${boostdir}/..; pwd`
+    ver=`egrep 'BOOST_VERSION [0-9]+' ${boostdir}/boost/version.hpp | sed 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'`
+    if [ $ver -ge 103100 ] ;  then 
+       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM 
+export BOOSTDIR=${boostdir}
+##
+EOF
+       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+       if [ $ver -eq 103100 ] ;  then 
+           return 0
+       else
+           return 2
+       fi
+    fi
+fi
 return 1
 }
 
index ba6d1a0f5db6260411f2f7f16a884301bde8c3f1..03ad524bc42dc86154b395bfbf8200c92f07526a 100755 (executable)
@@ -7,7 +7,6 @@ if [ "$?" -ne "0" ]; then
 fi
 happydoc 2&> /dev/null
 if [ "$?" -eq "0" ]; then
-    ver=`happydoc | grep "HappyDoc version 2.1"`  
     ver=`happydoc | grep "HappyDoc version 2.1" | sort -u | awk '{print $NF}'`
     if [ "$ver" == "2.1" ]; then
        return 0
@@ -31,6 +30,7 @@ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
 try_native(){
 happydoc="`find_in_path happydoc ${PATH}`"
 if [ -n "${happydoc}" ] ; then
+    ver=`happydoc | grep "HappyDoc version 2.1" | sort -u | awk '{print $NF}'`
     cat > ${INSTALL_WORK}/try_native.py <<EOF 
 import sys
 try :
@@ -40,10 +40,12 @@ except ImportError, r :
     sys.exit(1)
 EOF
     python ${INSTALL_WORK}/try_native.py
-    if [ $? -eq 0 ] ; then
+    if [ $? -eq 0 ] && [ "$ver" == "2.1" ] ; then
        tmp="${happydoc} ${happydoc} \${PATH} ${PATH}";  
        path=`sort_path ${tmp}`
-       pythonpath="`find_in_path happydocset ${PYTHONPATH}`"
+       pythonpath=`python -c "import happydoclib; print happydoclib.__file__" 2>/dev/null`
+       pythonpath=`dirname $pythonpath`
+       pythonpath=`dirname $pythonpath`
        tmp="${pythonpath} ${pythonpath} \${PYTHONPATH} ${PYTHONPATH}";  
        pythonpath=`sort_path ${tmp}`
        cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
diff --git a/config_files/Numeric-22.0.sh b/config_files/Numeric-22.0.sh
deleted file mode 100755 (executable)
index a1584c4..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-
-check_version(){
-ver=`python -c 'import Numeric; print Numeric.__version__' 2>/dev/null`
-if [ "$ver" == "22.0" ]; then
-   return 0
-fi
-return 1
-}
-
-print_env(){
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PYTHONPATH=\${INSTALL_ROOT}/${PRODUCT}/lib/python\${PYTHON_VERSION}/site-packages/Numeric:\${PYTHONPATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    pythonpath="`find_in_path Numeric.py ${PYTHONPATH}`"
-    tmp="${pythonpath} ${pythonpath} \${PYTHONPATH} ${PYTHONPATH}";  
-    pythonpath=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PYTHONPATH=${pythonpath}
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-makedir ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/Numeric-22.0.tar.gz -C ${INSTALL_WORK}
-cd ${PRODUCT_WORK}
-
-check_job ${PRODUCT_DIR}/INSTALL.LOG python setup.py install --prefix=${PRODUCT_DIR}
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-check_jb tar xfz ${SOURCE_DIR}/Numeric-22.0.tar.gz -C ${INSTALL_ROOT}
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="numeric" ; fi
-export PRODUCT="Numeric-22.0"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
index 57fd1d748bf518125d35efcd463ad3f9ddd7f56f..0f8387b5e678c1e8f59efece350be55c02bbcd6e 100755 (executable)
@@ -20,18 +20,25 @@ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
 
 # looks for the native product and collects it's environment (used by make_env())
 try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    pythonpath="`find_in_path Numeric.py ${PYTHONPATH}`"
-    tmp="${pythonpath} ${pythonpath} \${PYTHONPATH} ${PYTHONPATH}";  
-    pythonpath=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+numpath=`python -c "import Numeric; print Numeric.__file__" 2>/dev/null`
+if [ -n "${numpath}" ] ; then
+    numpath=`dirname ${numpath}`
+    ver=`python -c 'import Numeric; print Numeric.__version__' 2>/dev/null | awk -F. '{v=0;for(i=1;i<=NF;i++)v=v*100+$i;print v}'`
+    if [ $ver -ge 2307 ] ; then
+       tmp="${numpath} ${numpath} \${PYTHONPATH} ${PYTHONPATH}";  
+       pythonpath=`sort_path ${tmp}`
+       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM
 export PYTHONPATH=${pythonpath}
 ##
 EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
+       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+       if [ $ver -eq 2307 ] ; then
+           return 0
+       else
+           return 2
+       fi
+    fi
 fi
 return 1
 }
diff --git a/config_files/Python-2.3.4.sh b/config_files/Python-2.3.4.sh
deleted file mode 100755 (executable)
index 8b4b476..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-if [ -z "$PYTHONHOME"  ]; then
-   return 1
-fi
-isPython=`which python 2>/dev/null`
-if [ -n "$isPython" ]; then
-  # version number is calculated as: <major>*10000+<minor>*100+<release>
-  # e.g. for Python 2.3.4 it is equal to 20304
-  ver=`python -V 2>&1`
-  ver=`echo $ver | awk '{print $2}' | awk -F. '{v1=0;v2=0;v3=0;if(NF>0)v1=$1;if(NF>1)v2=$2;if(NF>2)v3=$3;print v1*10000+v2*100+v3}'`
-  if [ $ver -eq 20304 ] ;  then 
-    return 0
-  fi
-fi
-return 1 
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PYTHONHOME=\${INSTALL_ROOT}/${PRODUCT}
-export PATH=\${PYTHONHOME}/bin:\${PATH}
-export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
-export PYTHON_INCLUDE=\${PYTHONHOME}/include/python\${PYTHON_VERSION}
-export PYTHONPATH=\${PYTHONHOME}/lib/python\${PYTHON_VERSION}:\${PYTHONPATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-pythonhome="`find_in_path python ${PATH}`"
-if [ -z "${pythonhome}" ] ; then
-    pythonhome="`find_in_path python /usr/bin`"
-fi
-if [ -n "${pythonhome}" ] ; then
-    pythonhome=`cd ${pythonhome}/..; pwd`
-    # get version number: <major>, <minor> and <release>
-    # <major> and <minor> numbers are checked strickly, but <release> number can be larger than required one
-    # version number is calculated as: <major>*10000+<minor>*100+<release>
-    # e.g. for Python 2.3.4 it is equal to 20304
-    ver=`python -V 2>&1`
-    maj_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>0) print $1; else print 0}'`
-    min_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>1) print $2; else print 0}'`
-    rel_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>2) print $3; else print 0}'`
-    let ver=$maj_ver*10000+$min_ver*100+$rel_ver
-    if [ $ver -ge 20304 ] ;  then 
-       tmp="\${PYTHONHOME}/bin ${pythonhome}/bin \${PATH} ${PATH}";  
-       path=`sort_path ${tmp}`
-       tmp="\${PYTHONHOME}/lib/python\${PYTHON_VERSION} ${pythonhome}/lib/python${maj_ver}.${min_ver} \${PYTHONPATH} ${PYTHONPATH}";  
-       pythonpath=`sort_path ${tmp}`
-       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PYTHONHOME=${pythonhome}
-export PATH=${path}
-export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
-export PYTHON_INCLUDE=\${PYTHONHOME}/include/python\${PYTHON_VERSION}
-export PYTHONPATH=${pythonpath}
-##
-EOF
-       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-#######       THIS COULD BE USED FOR STRICT COMPARISON  ##############################
-#      if [ $maj_ver -eq 2 ] && [ $min_ver -eq 3 ] && [ $rel_ver -eq 4 ] ;  then 
-######################################################################################
-       if [ $maj_ver -eq 2 ] && [ $min_ver -eq 3 ] && [ $rel_ver -ge 4 ] ;  then 
-           return 0
-       else
-           return 2
-       fi
-    fi
-fi
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-makedir ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/Python-2.3.4.tar.gz -C ${INSTALL_WORK}
-cd ${PRODUCT_WORK}
-
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
-    ./configure --prefix=${PRODUCT_DIR} --with-threads --with-cxx=`which g++`
-# vsr: not compiled on RedHat8.0 without libstdc++.so
-sed -e 's%LIBS=                -ldl  -lpthread -lutil%LIBS=            -ldl  -lpthread -lutil -lstdc++%g' Makefile > _Makefile
-mv -f _Makefile Makefile
-# vsr: socket module is not compiled on RedHat9 because of absent KERBEROS include/libs flags
-sed -e "s%\[('USE_SSL',1)\]%\[('USE_SSL',1),('OPENSSL_NO_KRB5',None)\]%g" setup.py > _setup.py
-mv -f _setup.py setup.py
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-
-check_job ${PRODUCT_DIR}/MAKE.LOG make 
-check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/Python-2.3.4.tar.gz -C ${INSTALL_ROOT}
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi
-export PRODUCT="Python-2.3.4"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-${PROCEDURE}
diff --git a/config_files/Python-2.3.5.sh b/config_files/Python-2.3.5.sh
new file mode 100755 (executable)
index 0000000..182cae8
--- /dev/null
@@ -0,0 +1,137 @@
+#!/bin/sh
+
+check_version()
+{
+if [ -z "$PYTHONHOME"  ]; then
+   return 1
+fi
+isPython=`which python 2>/dev/null`
+if [ -n "$isPython" ]; then
+  # version number is calculated as: <major>*10000+<minor>*100+<release>
+  # e.g. for Python 2.3.5 it is equal to 20305
+  ver=`python -V 2>&1`
+  ver=`echo $ver | awk '{print $2}' | awk -F. '{v1=0;v2=0;v3=0;if(NF>0)v1=$1;if(NF>1)v2=$2;if(NF>2)v3=$3;print v1*10000+v2*100+v3}'`
+  if [ $ver -eq 20305 ] ;  then 
+    return 0
+  fi
+fi
+return 1 
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PYTHONHOME=\${INSTALL_ROOT}/${PRODUCT}
+export PATH=\${PYTHONHOME}/bin:\${PATH}
+export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
+export PYTHON_INCLUDE=\${PYTHONHOME}/include/python\${PYTHON_VERSION}
+export PYTHONPATH=\${PYTHONHOME}/lib/python\${PYTHON_VERSION}:\${PYTHONPATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+pythonhome="`find_in_path python ${PATH}`"
+if [ -z "${pythonhome}" ] ; then
+    pythonhome="`find_in_path python /usr/bin`"
+fi
+if [ -n "${pythonhome}" ] ; then
+    pythonhome=`cd ${pythonhome}/..; pwd`
+    # get version number: <major>, <minor> and <release>
+    # <major> and <minor> numbers are checked strickly, but <release> number can be larger than required one
+    # version number is calculated as: <major>*10000+<minor>*100+<release>
+    # e.g. for Python 2.3.5 it is equal to 20305
+    ver=`python -V 2>&1`
+    maj_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>0) print $1; else print 0}'`
+    min_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>1) print $2; else print 0}'`
+    rel_ver=`echo $ver | awk '{print $2}' | awk -F. '{if(NF>2) print $3; else print 0}'`
+    let ver=$maj_ver*10000+$min_ver*100+$rel_ver
+    if [ $ver -ge 20305 ] ;  then 
+       tmp="\${PYTHONHOME}/bin ${pythonhome}/bin \${PATH} ${PATH}";  
+       path=`sort_path ${tmp}`
+       tmp="\${PYTHONHOME}/lib/python\${PYTHON_VERSION} ${pythonhome}/lib/python${maj_ver}.${min_ver} \${PYTHONPATH} ${PYTHONPATH}";  
+       pythonpath=`sort_path ${tmp}`
+       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PYTHONHOME=${pythonhome}
+export PATH=${path}
+export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\`
+export PYTHON_INCLUDE=\${PYTHONHOME}/include/python\${PYTHON_VERSION}
+export PYTHONPATH=${pythonpath}
+##
+EOF
+       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+#######       THIS COULD BE USED FOR STRICT COMPARISON  ##############################
+#      if [ $maj_ver -eq 2 ] && [ $min_ver -eq 3 ] && [ $rel_ver -eq 4 ] ;  then 
+######################################################################################
+       if [ $maj_ver -eq 2 ] && [ $min_ver -eq 3 ] && [ $rel_ver -ge 5 ] ;  then 
+           return 0
+       else
+           return 2
+       fi
+    fi
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+makedir ${PRODUCT_DIR}
+
+check_jb tar xfz ${SOURCE_DIR}/Python-2.3.5.tar.gz -C ${INSTALL_WORK}
+cd ${PRODUCT_WORK}
+
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
+    ./configure --prefix=${PRODUCT_DIR} --with-threads --with-cxx=`which g++`
+# vsr: not compiled on RedHat8.0 without libstdc++.so
+sed -e 's%LIBS=                -ldl  -lpthread -lutil%LIBS=            -ldl  -lpthread -lutil -lstdc++%g' Makefile > _Makefile
+mv -f _Makefile Makefile
+# vsr: socket module is not compiled on RedHat9 because of absent KERBEROS include/libs flags
+sed -e "s%\[('USE_SSL',1)\]%\[('USE_SSL',1),('OPENSSL_NO_KRB5',None)\]%g" setup.py > _setup.py
+mv -f _setup.py setup.py
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+
+check_job ${PRODUCT_DIR}/MAKE.LOG make 
+check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install
+
+#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
+cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
+print_env
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/Python-2.3.5.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi
+export PRODUCT="Python-2.3.5"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+${PROCEDURE}
diff --git a/config_files/SWIG-1.3.17.sh b/config_files/SWIG-1.3.17.sh
deleted file mode 100755 (executable)
index c436ef6..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-check_version(){
-if [ -n "`which swig 2>/dev/null`" ]; then
-    ver=`swig -version 2>&1`
-    ver=`echo $ver | awk '{print $3}' | grep "1.3.17"`
-    if [ -n "$ver" ] ;  then 
-       return 0;
-    fi
-fi
-return 1;
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM 
-export SWIG_ROOT=\${INSTALL_ROOT}/${PRODUCT}
-export PATH=\${SWIG_ROOT}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${SWIG_ROOT}/lib:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-swig_root="`find_in_path swig ${PATH}`"
-if [ -z "${swig_root}" ] ; then
-    swig_root="`find_in_path swig /usr/bin`"
-fi
-if [ -n "${swig_root}" ] ; then
-    swig_root=`cd ${swig_root}/..; pwd`
-    ver=`${swig_root}/bin/swig -version 2>&1`
-    ver=`echo $ver | awk '{print $3}' | grep "1.3.17"`
-    if [ -n "$ver" ] ;  then 
-       tmp="\${SWIG_ROOT}/bin ${swig_root}/bin \${PATH} ${PATH}";
-       path=`sort_path ${tmp}`
-       tmp="\${SWIG_ROOT}/lib ${swig_root}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-       ld_library_path=`sort_path ${tmp}`
-       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM 
-export SWIG_ROOT=${swig_root}
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-##
-EOF
-       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-       return 0;
-    fi
-fi
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/swig-1.3.17.tar.gz -C ${INSTALL_WORK}
-cd ${PRODUCT_WORK}
-makedir ${PRODUCT_DIR}
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
-  ./configure --prefix=${PRODUCT_DIR} 
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-check_job ${PRODUCT_DIR}/MAKINSTALL.LOG make install 
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-echo "It impossible to install SWIG from binaries, try install from sources."
-return 1
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="swig" ; fi
-export PRODUCT="SWIG-1.3.17"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE
diff --git a/config_files/VTK-4.2.2.sh b/config_files/VTK-4.2.2.sh
deleted file mode 100755 (executable)
index 1c1404d..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-if [ -z "$VTKHOME" ]; then
-   return 1 
-fi
-check_lib_version libvtkCommon.so ${VTKHOME}/lib/vtk
-if [ "$?" -eq "0" ]; then
-   return 0
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export VTKHOME=\${INSTALL_ROOT}/${PRODUCT}
-export PATH=\${VTKHOME}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${VTKHOME}/lib/vtk:\${LD_LIBRARY_PATH}
-export PYTHONPATH=\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python\${PYTHON_VERSION}/site-packages/vtk_python:\${PYTHONPATH}
-export TCLLIBPATH="\${VTKHOME}/lib/vtk/tcl \${TCLLIBPATH}"
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    python_version="`python -c 'import sys; print sys.version[:3]'`"
-    tmp="\${VTKHOME}/bin ${VTKHOME}/bin \${PATH} ${PATH}";  
-    path=`sort_path ${tmp}`
-    tmp="\${VTKHOME}/lib/vtk ${VTKHOME}/lib/vtk \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-    ld_library_path=`sort_path ${tmp}`
-    tmp="\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python${PYTHON_VERSION}/site-packages/vtk_python ${VTKHOME}/lib/vtk:${VTKHOME}/lib/python${python_version}/site-packages/vtk_python \${PYTHONPATH} ${PYTHONPATH}";  
-    python_path=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export VTKHOME=${VTKHOME}
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-export PYTHONPATH=${python_path}
-export TCLLIBPATH="\${VTKHOME}/lib/vtk/tcl \${TCLLIBPATH}"
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1;
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-makedir ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/cmake-1.6.6.tar.gz -C ${INSTALL_WORK}
-cd ${INSTALL_WORK}/cmake-1.6.6
-check_job ${PRODUCT_DIR}/CONFIGUREcmake.LOG ./configure
-cat >> ${PRODUCT_DIR}/MAKEcmake.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKEcmake.LOG make
-
-check_jb tar xfz ${SOURCE_DIR}/VTK-4.2-LatestRelease.tar.gz -C ${INSTALL_WORK}
-cd ${PRODUCT_WORK}
-
-# get Python and tcl/tk version
-python_version="`python -c 'import sys; print sys.version[:3]'`"
-tcl_version=""
-tcldir="`where_tcl`"
-if [ $? -eq 0 ] && [ -e ${tcldir}/tclConfig.sh ] ; then
-    tcl_version=`grep -e "TCL_VERSION=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_VERSION=[\'|\"]\(.*\)[\'|\"]%\1%g"`
-fi
-    
-VTK_CMAKE_OPTIONS=""
-### common VTK settings
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DBUILD_SHARED_LIBS:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_CXX_COMPILER:STRING=`which g++`"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_C_COMPILER:STRING=`which gcc`"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_DIR}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_HYBRID:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_PARALLEL:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_PATENTED:BOOL=OFF" 
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_USE_RENDERING:BOOL=ON"
-### Wrap Python settings
-if [ "${python_version}" != "" ]; then
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_WRAP_PYTHON:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_EXECUTABLE:STRING=${PYTHONHOME}/bin/python${python_version}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_INCLUDE_PATH:STRING=${PYTHONHOME}/include/python${python_version}"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_LIBRARY:STRING=${PYTHONHOME}/lib/python${python_version}/config/libpython${python_version}.a"
-fi
-### Wrap Tcl settings
-if [ "${tcl_version}" != "" ]; then
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_WRAP_TCL:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_INCLUDE_PATH:STRING=${TCLHOME}/include"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_LIBRARY:STRING=${TCLHOME}/lib/libtcl${tcl_version}.so"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_STUB_LIBRARY:STRING=${TCLHOME}/lib/libtclstub${tcl_version}.a"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_TCLSH:STRING=${TCLHOME}/bin/tclsh"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_INCLUDE_PATH:STRING=${TCLHOME}/include"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_LIBRARY:STRING=${TCLHOME}/lib/libtk${tcl_version}.so"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_STUB_LIBRARY:STRING=${TCLHOME}/lib/libtkstub${tcl_version}.a"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_WISH:STRING=${TCLHOME}/bin/wish"
-fi
-### if Mesa is pre-installed
-if [ -n "$MESA_HOME" ]; then
-  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_INCLUDE_DIR:STRING=${MESA_HOME}/include"
-  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_gl_LIBRARY:STRING=${MESA_HOME}/lib/libGL.so"
-  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_glu_LIBRARY:STRING=${MESA_HOME}/lib/libGLU.so"
-  VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DOPENGL_xmesa_INCLUDE_DIR:STRING=${MESA_HOME}/include"
-fi
-
-cat > ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
-used VTK settings:
-$VTK_CMAKE_OPTIONS
-EOF
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ${INSTALL_WORK}/cmake-1.6.6/Source/cmake . $VTK_CMAKE_OPTIONS
-
-cat > ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-cd ${PRODUCT_WORK}/Wrapping/Python
-check_job ${PRODUCT_DIR}/SETUPPYTHON.LOG python setup.py install --prefix=${PRODUCT_DIR}
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-#du -sk ${INSTALL_WORK}/cmake-1.6.6 >> ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK} ${INSTALL_WORK}/cmake-1.6.6
-
-# set correct symbolic links - bug of python wrappings installation
-cd ${PRODUCT_DIR}/lib/python${python_version}/site-packages/vtk_python
-ln -sf ../../../vtk/*Python*.so .
-
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/VTK-4.2.2.tar.gz -C ${INSTALL_ROOT}
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi
-export PRODUCT="VTK-4.2.2"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
index a268794c321725416f3c92481fa03726b2aa7886..0f3ccf8df1ccbef9cc919e3614d840654db52600 100755 (executable)
@@ -85,9 +85,14 @@ mv -f IO/vtkImageReader.cxx.orig IO/vtkImageReader.cxx
 # get Python and tcl/tk version
 python_version="`python -c 'import sys; print sys.version[:3]'`"
 tcl_version=""
+tcl_includes=""
+tcl_libs=""
 tcldir="`where_tcl`"
 if [ $? -eq 0 ] && [ -e ${tcldir}/tclConfig.sh ] ; then
     tcl_version=`grep -e "TCL_VERSION=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_VERSION=[\'|\"]\(.*\)[\'|\"]%\1%g"`
+    tcl_includes=`grep -e "TCL_INCLUDE_SPEC=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_INCLUDE_SPEC=[\'|\"]-I\(.*\)[\'|\"]%\1%g"`
+    if [ -z "$tcl_includes" ] ; then tcl_includes=/usr/include ; fi
+    tcl_libs=`grep -e "TCL_PACKAGE_PATH=.*" ${tcldir}/tclConfig.sh | sed -e "s%TCL_PACKAGE_PATH=[\'|\"]\(.*\)[\'|\"]%\1%g"`
 fi
     
 VTK_CMAKE_OPTIONS=""
@@ -109,16 +114,17 @@ VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_INCLUDE_PATH:STRING=${PYTHONHOME}
 VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DPYTHON_LIBRARY:STRING=${PYTHONHOME}/lib/python${python_version}/config/libpython${python_version}.a"
 fi
 ### Wrap Tcl settings
-if [ "${tcl_version}" != "" ]; then
+if [ "${tcl_version}" != "" ] && [ "${tcl_includes}" != "" ] && [ "${tcl_libs}" != "" ] ; then
+# suppose that tcl and tk are installed in the same dir
 VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DVTK_WRAP_TCL:BOOL=ON"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_INCLUDE_PATH:STRING=${TCLHOME}/include"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_LIBRARY:STRING=${TCLHOME}/lib/libtcl${tcl_version}.so"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_STUB_LIBRARY:STRING=${TCLHOME}/lib/libtclstub${tcl_version}.a"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_TCLSH:STRING=${TCLHOME}/bin/tclsh"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_INCLUDE_PATH:STRING=${TCLHOME}/include"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_LIBRARY:STRING=${TCLHOME}/lib/libtk${tcl_version}.so"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_STUB_LIBRARY:STRING=${TCLHOME}/lib/libtkstub${tcl_version}.a"
-VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_WISH:STRING=${TCLHOME}/bin/wish"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_INCLUDE_PATH:STRING=${tcl_includes}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_LIBRARY:STRING=${tcl_libs}/libtcl${tcl_version}.so"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_STUB_LIBRARY:STRING=${tcl_libs}/libtclstub${tcl_version}.a"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTCL_TCLSH:STRING=${TCLHOME}/bin/tclsh${tcl_version}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_INCLUDE_PATH:STRING=${tcl_includes}"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_LIBRARY:STRING=${tcl_libs}/libtk${tcl_version}.so"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_STUB_LIBRARY:STRING=${tcl_libs}/libtkstub${tcl_version}.a"
+VTK_CMAKE_OPTIONS=$VTK_CMAKE_OPTIONS" -DTK_WISH:STRING=${TCLHOME}/bin/wish${tcl_version}"
 fi
 ### if Mesa is pre-installed
 if [ -n "$MESA_HOME" ]; then
index f8c08cab39794108d112257e480b88e74baa4fa6..9a69683fabf2fb474071bed5de016656f0203f52 100755 (executable)
@@ -358,7 +358,7 @@ find_in_path(){
 file=$1;  shift; 
 path=$*
 for i in `echo ${path} | sed -e"s%:% %g"` ; do 
-    ret=`find $i -name $file 2>/dev/null`
+    ret=`find $i -name $file -maxdepth 1 2>/dev/null`
     if [ -n "$ret" ] ; then
        ret=`echo $ret | sed -e"s%/\$file$%%g"`
        echo $ret
diff --git a/config_files/doxygen-1.3-rc2.sh b/config_files/doxygen-1.3-rc2.sh
deleted file mode 100755 (executable)
index 6784f82..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-check_lib_version doxygen $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-check_lib_version doxysearch $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-check_lib_version doxytag $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-check_lib_version doxywizard $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-ver=`doxygen --version`
-if [ "$ver" == "1.3-rc2" ]; then
-    return 0
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PATH=\${INSTALL_ROOT}/${PRODUCT}/bin:\${PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    doxygen="`find_in_path doxygen ${PATH}`"
-    tmp="${doxygen} ${doxygen} \${PATH} ${PATH}";  
-    path=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PATH=${path}
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1;
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/doxygen-1.3-rc2.tar.gz -C ${INSTALL_WORK}
-
-cd ${PRODUCT_WORK}
-makedir ${PRODUCT_DIR}
-# vsr: fix bug - configure fails on Red Hat 9 because of incorrect autodetect check for install tool
-# so it is necessary to put it directly
-f_install="--install "`which install`
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --with-doxywizard --prefix ${PRODUCT_DIR} $f_install
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-which epstopdf >/dev/null 2>&1;  ISFOUND=$?
-if [ ${ISFOUND} -eq 0 ] ; then  which makeindex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which latex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which latex2html >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pdflatex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pslatex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pstoimg >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then
-    check_job ${PRODUCT_DIR}/MAKEDOCS.LOG make docs
-    check_job ${PRODUCT_DIR}/MAKEINSTALLDOCS.LOG make install_docs
-else
-    cat >> ${PRODUCT_DIR}/MAKEDOCS.LOG <<EOF
-Can't find \"epstopdf\" and \"latex\" or another executables on the computer.
-doxygen documentation will not be built!
-SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!
-EOF
-    check_job ${PRODUCT_DIR}/MAKEDOCS.LOG make docs
-#    rm -fr ${PRODUCT_WORK}
-#    echo -e "Can't find \"epstopdf\" and \"latex\" or another executables on the computer."
-#    echo -e "doxygen documentation will not be built!"
-#    echo -e "SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!"
-#    echo -n "Would you like continue : (Y,N) [Y] : "
-#    read rep;
-#    rep=`echo $rep  | tr "[A-Z]" "[a-z]"`
-#    if test -z $rep || [ $rep != "y" ] ; then
-#      rm -fr ${PRODUCT_WORK}
-#      exit 1
-#    fi
-fi
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/doxygen-1.3-rc2.tar.gz -C ${INSTALL_ROOT}
-which epstopdf >/dev/null 2>&1;  ISFOUND=$?
-if [ ${ISFOUND} -eq 0 ] ; then  which makeindex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which latex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which latex2html >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pdflatex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pslatex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pstoimg >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -ne 0 ] ; then
-    cat >> ${PRODUCT_DIR}/DOCS.LOG <<EOF
-Can't find \"epstopdf\" and \"latex\" or another executables on the computer.
-doxygen documentation will not be built!
-SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!
-EOF
-    check_job ${PRODUCT_DIR}/DOCS.LOG make
-#    rm -fr ${PRODUCT_WORK}
-#    echo -e "Can't find \"epstopdf\" and \"latex\" or another executables on the computer."
-#    echo -e "doxygen documentation will not be built!"
-#    echo -e "SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!"
-#    echo -n "Would you like continue : (Y,N) [Y] : "
-#    read rep;
-#    rep=`echo $rep  | tr "[A-Z]" "[a-z]"`
-#    if test -z $rep || [ $rep != "y" ] ; then
-#      rm -fr ${PRODUCT_WORK}
-#      exit 1
-#    fi
-fi
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi
-export PRODUCT="doxygen-1.3-rc2"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/doxygen-1.3.7.sh b/config_files/doxygen-1.3.7.sh
deleted file mode 100755 (executable)
index df29004..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-check_lib_version doxygen $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-check_lib_version doxytag $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-check_lib_version doxywizard $PATH
-if [ "$?" -ne "0" ]; then
-   return 1
-fi
-ver=`doxygen --version`
-if [ "$ver" == "1.3.7" ]; then
-    return 0
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PATH=\${INSTALL_ROOT}/${PRODUCT}/bin:\${PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    doxygen="`find_in_path doxygen ${PATH}`"
-    tmp="${doxygen} ${doxygen} \${PATH} ${PATH}";  
-    path=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PATH=${path}
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1;
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/doxygen-1.3.7.tar.gz -C ${INSTALL_WORK}
-
-cd ${PRODUCT_WORK}
-makedir ${PRODUCT_DIR}
-# vsr: fix a bug on Mandrake-10.1: wrong qt library reference
-sed -e "s/-lqt/-lqt-mt/g" ./tmake/lib/linux-g++/tmake.conf > ./tmake/lib/linux-g++/tmake.conf.new
-mv ./tmake/lib/linux-g++/tmake.conf.new ./tmake/lib/linux-g++/tmake.conf
-# vsr: fix bug - configure fails on Red Hat 9 because of incorrect autodetect check for install tool
-# so it is necessary to put it directly
-f_install="--install "`which install`
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --with-doxywizard --prefix ${PRODUCT_DIR} $f_install
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-which epstopdf >/dev/null 2>&1;  ISFOUND=$?
-if [ ${ISFOUND} -eq 0 ] ; then  which makeindex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which latex >/dev/null 2>&1; ISFOUND=$?; fi
-#if [ ${ISFOUND} -eq 0 ] ; then  which latex2html >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pdflatex >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then  which pslatex >/dev/null 2>&1; ISFOUND=$?; fi
-#if [ ${ISFOUND} -eq 0 ] ; then  which pstoimg >/dev/null 2>&1; ISFOUND=$?; fi
-if [ ${ISFOUND} -eq 0 ] ; then
-    check_job ${PRODUCT_DIR}/MAKEDOCS.LOG make docs
-    check_job ${PRODUCT_DIR}/MAKEINSTALLDOCS.LOG make install_docs
-else
-    cat >> ${PRODUCT_DIR}/MAKEDOCS.LOG <<EOF
-Can't find \"epstopdf\" and \"latex\" or another executables on the computer.
-doxygen documentation will not be built!
-SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!
-EOF
-#    check_job ${PRODUCT_DIR}/MAKEDOCS.LOG make docs
-#    rm -fr ${PRODUCT_WORK}
-#    echo -e "Can't find \"epstopdf\" and \"latex\" or another executables on the computer."
-#    echo -e "doxygen documentation will not be built!"
-#    echo -e "SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!"
-#    echo -n "Would you like continue : (Y,N) [Y] : "
-#    read rep;
-#    rep=`echo $rep  | tr "[A-Z]" "[a-z]"`
-#    if test -z $rep || [ $rep != "y" ] ; then
-#      rm -fr ${PRODUCT_WORK}
-#      exit 1
-#    fi
-fi
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/doxygen-1.3.7.tar.gz -C ${INSTALL_ROOT}
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi
-export PRODUCT="doxygen-1.3.7"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/doxygen-1.4.2.sh b/config_files/doxygen-1.4.2.sh
new file mode 100755 (executable)
index 0000000..ed32de1
--- /dev/null
@@ -0,0 +1,145 @@
+#!/bin/sh
+
+check_version()
+{
+check_lib_version doxygen $PATH
+if [ "$?" -ne "0" ]; then
+   return 1
+fi
+check_lib_version doxytag $PATH
+if [ "$?" -ne "0" ]; then
+   return 1
+fi
+check_lib_version doxywizard $PATH
+if [ "$?" -ne "0" ]; then
+   return 1
+fi
+ver=`doxygen --version`
+if [ "$ver" == "1.4.2" ]; then
+    return 0
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PATH=\${INSTALL_ROOT}/${PRODUCT}/bin:\${PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+check_version
+if [ $? -eq 0 ] ; then
+    doxygen="`find_in_path doxygen ${PATH}`"
+    tmp="${doxygen} ${doxygen} \${PATH} ${PATH}";  
+    path=`sort_path ${tmp}`
+    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export PATH=${path}
+##
+EOF
+    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+    return 0
+fi
+return 1;
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/doxygen-1.4.2.tar.gz -C ${INSTALL_WORK}
+
+cd ${PRODUCT_WORK}
+makedir ${PRODUCT_DIR}
+# vsr: fix a bug on Mandrake-10.1: wrong qt library reference
+sed -e "s/-lqt$/-lqt-mt/g" ./tmake/lib/linux-g++/tmake.conf > ./tmake/lib/linux-g++/tmake.conf.new
+mv ./tmake/lib/linux-g++/tmake.conf.new ./tmake/lib/linux-g++/tmake.conf
+# vsr: fix bug - configure fails on Red Hat 9 because of incorrect autodetect check for install tool
+# so it is necessary to put it directly
+f_install="--install "`which install`
+# vsr: fix bug on debianex: problem on with unistd.h file
+(cd src; mv unistd.h unistd.h.backup)
+files=`egrep -R -e "^[[:space:]]*unistd" * | awk -F: '{print $1}'`
+for f in $files ; do
+  sed -e '/^[[:space:]]*unistd/d' $f > $f"_"
+  mv $f"_" $f
+done
+# configuring
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --with-doxywizard --prefix ${PRODUCT_DIR} $f_install
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make
+check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
+
+# vsr: skip installing docs (problems on Debian)
+#which epstopdf >/dev/null 2>&1;  ISFOUND=$?
+#if [ ${ISFOUND} -eq 0 ] ; then  which makeindex >/dev/null 2>&1; ISFOUND=$?; fi
+#if [ ${ISFOUND} -eq 0 ] ; then  which latex >/dev/null 2>&1; ISFOUND=$?; fi
+##if [ ${ISFOUND} -eq 0 ] ; then  which latex2html >/dev/null 2>&1; ISFOUND=$?; fi
+#if [ ${ISFOUND} -eq 0 ] ; then  which pdflatex >/dev/null 2>&1; ISFOUND=$?; fi
+#if [ ${ISFOUND} -eq 0 ] ; then  which pslatex >/dev/null 2>&1; ISFOUND=$?; fi
+##if [ ${ISFOUND} -eq 0 ] ; then  which pstoimg >/dev/null 2>&1; ISFOUND=$?; fi
+#if [ ${ISFOUND} -eq 0 ] ; then
+#    check_job ${PRODUCT_DIR}/MAKEDOCS.LOG make docs
+#    check_job ${PRODUCT_DIR}/MAKEINSTALLDOCS.LOG make install_docs
+#else
+#    cat >> ${PRODUCT_DIR}/MAKEDOCS.LOG <<EOF
+#Can't find \"epstopdf\" and \"latex\" or another executables on the computer.
+#doxygen documentation will not be built!
+#SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!
+#EOF
+##    check_job ${PRODUCT_DIR}/MAKEDOCS.LOG make docs
+##    rm -fr ${PRODUCT_WORK}
+##    echo -e "Can't find \"epstopdf\" and \"latex\" or another executables on the computer."
+##    echo -e "doxygen documentation will not be built!"
+##    echo -e "SALOME DOCUMENTATION ALSO CAN NOT BE BUILT!"
+##    echo -n "Would you like continue : (Y,N) [Y] : "
+##    read rep;
+##    rep=`echo $rep  | tr "[A-Z]" "[a-z]"`
+##    if test -z $rep || [ $rep != "y" ] ; then
+##     rm -fr ${PRODUCT_WORK}
+##     exit 1
+##    fi
+#fi
+
+#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
+cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
+print_env
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/doxygen-1.4.2.tar.gz -C ${INSTALL_ROOT}
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi
+export PRODUCT="doxygen-1.4.2"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE 
diff --git a/config_files/gcc-3.2.sh b/config_files/gcc-3.2.sh
deleted file mode 100755 (executable)
index 958ba32..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-#!/bin/sh
-
-check_version(){
-# version number is calculated as: <major>*10000+<minor>*100+<release>
-# e.g. for gcc 3.2 it is equal to 30200, for gcc 3.3.2 - 30202
-gcc_ver=`gcc -dumpversion | awk -F. '{v1=0;v2=0;v3=0;if(NF>0)v1=$1;if(NF>1)v2=$2;if(NF>2)v3=$3;print v1*10000+v2*100+v3}'`
-if [ $gcc_ver -eq 30200 ]  ; then
-    return 0
-fi
-return 1
-}
-
-print_env(){
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export GCC_ROOT=\${INSTALL_ROOT}/${PRODUCT}
-export CXX=\${GCC_ROOT}/bin/g++
-export CC=\${GCC_ROOT}/bin/gcc
-export PATH=\${GCC_ROOT}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${GCC_ROOT}/lib:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-gcc_root="`find_in_path gcc ${PATH}`"
-if [ -z "${gcc_root}" ] ; then
-    gcc_root="`find_in_path gcc /usr/bin`"
-fi
-if [ -n "${gcc_root}" ] ; then
-    gcc_root=`cd ${gcc_root}/..; pwd`
-    # get version number: <major>, <minor> and <release>
-    # <major> and <minor> numbers are checked strickly, but <release> number can be larger than required one
-    # version number is calculated as: <major>*10000+<minor>*100+<release>
-    # e.g. for gcc 3.2 it is equal to 30200, for gcc 3.3.2 - 30202
-    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}'`
-    rel_ver=`gcc -dumpversion | awk -F. '{if(NF>2) print $3; else print 0}'`
-    let gcc_ver=$maj_ver*10000+$min_ver*100+$rel_ver
-    if [ $gcc_ver -ge 30200 ]  ; then
-       tmp="\${GCC_ROOT}/bin ${gcc_root}/bin \${PATH} ${PATH}";  
-       path=`sort_path ${tmp}`
-       tmp="\${GCC_ROOT}/lib ${gcc_root}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-       ld_library_path=`sort_path ${tmp}`
-       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export GCC_ROOT=${gcc_root}
-export CXX=\${GCC_ROOT}/bin/g++
-export CC=\${GCC_ROOT}/bin/gcc
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-##
-EOF
-       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-#######       THIS COULD BE USED FOR STRICT COMPARISON  ##############################
-#      if [ $maj_ver -eq 3 ] && [ $min_ver -eq 2 ] && [ $rel_ver -eq 0 ] ;  then 
-######################################################################################
-       if [ $maj_ver -eq 3 ] && [ $min_ver -eq 2 ] && [ $rel_ver -ge 0 ] ;  then 
-           return 0
-       else
-           return 2
-       fi
-   fi
-fi
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-check_version
-if [ $? == 0 ] ; then
-    echo "It impossible to build gcc-3.2 on your current compiler (gcc-3.2)."
-    echo "Installation aborted."
-    return 1
-fi
-
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-#check if $LIBRARY_PATH and $GCC_EXEC_PREFIX are set and then remove path to current dir from them
-if [ -n "$LIBRARY_PATH" ]; then
-export LIBRARY_PATH=`echo $LIBRARY_PATH | sed -e's/^[:\;]*//g' -e's/[:\;]*$//g' -e's/::*/:/g' -e's/;;*/;/g' -e's/[:\;].$//g' -e's/^.[:\;]//g' -e's/[:\;].[:\;]/:/g' -e's/^.$//g'`
-fi
-if [ -n "$GCC_EXEC_PREFIX" ]; then
-export GCC_EXEC_PREFIX=`echo $GCC_EXEC_PREFIX | sed -e's/^[:\;]*//g' -e's/[:\;]*$//g' -e's/::*/:/g' -e's/;;*/;/g' -e's/[:\;].$//g' -e's/^.[:\;]//g' -e's/[:\;].[:\;]/:/g' -e's/^.$//g'`
-fi
-
-check_jb tar xfz ${SOURCE_DIR}/gcc-3.2.tar.gz  -C ${INSTALL_WORK}
-
-makedir ${PRODUCT_DIR}
-
-makedir ${PRODUCT_WORK}-build
-cd ${PRODUCT_WORK}-build
-
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ${PRODUCT_WORK}/configure --prefix=${PRODUCT_DIR} --enable-static --enable-shared --enable-threads
-check_job ${PRODUCT_DIR}/BOOTSTRAP.LOG make bootstrap
-check_job ${PRODUCT_DIR}/INSTALL.LOG make install
-
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK} ${PRODUCT_WORK}-build
-print_env
-}
-
-install_binary()
-{
-echo "It impossible to install gcc from binaries, try install from sources."
-return 1
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="gcc" ; fi
-export PRODUCT="gcc-3.2"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/gcc-3.3.5.sh b/config_files/gcc-3.3.5.sh
new file mode 100755 (executable)
index 0000000..3678d1f
--- /dev/null
@@ -0,0 +1,98 @@
+#!/bin/sh
+
+check_version(){
+# version number is calculated as: <major>*10000+<minor>*100+<release>
+# e.g. for gcc 3.2 it is equal to 30200, for gcc 3.4.1 - 30401, for gcc 3.3.5 - 30305
+gcc_ver=`gcc -dumpversion | awk -F. '{v1=0;v2=0;v3=0;if(NF>0)v1=$1;if(NF>1)v2=$2;if(NF>2)v3=$3;print v1*10000+v2*100+v3}'`
+if [ $gcc_ver -eq 30305 ]  ; then
+    return 0
+fi
+return 1
+}
+
+print_env(){
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export GCC_ROOT=\${INSTALL_ROOT}/${PRODUCT}
+export CXX=\${GCC_ROOT}/bin/g++
+export CC=\${GCC_ROOT}/bin/gcc
+export PATH=\${GCC_ROOT}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${GCC_ROOT}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+gcc_root="`find_in_path gcc ${PATH}`"
+if [ -z "${gcc_root}" ] ; then
+    gcc_root="`find_in_path gcc /usr/bin`"
+fi
+if [ -n "${gcc_root}" ] ; then
+    gcc_root=`cd ${gcc_root}/..; pwd`
+    # get version number: <major>, <minor> and <release>
+    # <major> and <minor> numbers are checked strickly, but <release> number can be larger than required one
+    # version number is calculated as: <major>*10000+<minor>*100+<release>
+    # e.g. for gcc 3.2 it is equal to 30200, for gcc 3.4.1 - 30401, for gcc 3.3.5 - 30305
+    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}'`
+    rel_ver=`gcc -dumpversion | awk -F. '{if(NF>2) print $3; else print 0}'`
+    let gcc_ver=$maj_ver*10000+$min_ver*100+$rel_ver
+    if [ $gcc_ver -ge 30305 ]  ; then
+       tmp="\${GCC_ROOT}/bin ${gcc_root}/bin \${PATH} ${PATH}";  
+       path=`sort_path ${tmp}`
+       tmp="\${GCC_ROOT}/lib ${gcc_root}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
+       ld_library_path=`sort_path ${tmp}`
+       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export GCC_ROOT=${gcc_root}
+export CXX=\${GCC_ROOT}/bin/g++
+export CC=\${GCC_ROOT}/bin/gcc
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+##
+EOF
+       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+#######       THIS COULD BE USED FOR STRICT COMPARISON  ##############################
+#      if [ $maj_ver -eq 3 ] && [ $min_ver -eq 4 ] && [ $rel_ver -eq 1 ] ;  then 
+######################################################################################
+       if [ $maj_ver -eq 3 ] && [ $min_ver -eq 3 ] && [ $rel_ver -ge 5 ] ;  then 
+           return 0
+       else
+           return 2
+       fi
+   fi
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+echo "The installation of gcc 3.3.5 from sources is not provided! Use native gcc."
+return 1
+}
+
+install_binary()
+{
+echo "The installation of gcc 3.3.5 from binaries is not provided! Use native gcc."
+return 1
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="gcc" ; fi
+export PRODUCT="gcc-3.3.5"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE 
diff --git a/config_files/gcc-3.4.sh b/config_files/gcc-3.4.sh
deleted file mode 100755 (executable)
index db364ac..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-check_version(){
-# version number is calculated as: <major>*10000+<minor>*100+<release>
-# e.g. for gcc 3.2 it is equal to 30200, for gcc 3.4.1 - 30401
-gcc_ver=`gcc -dumpversion | awk -F. '{v1=0;v2=0;v3=0;if(NF>0)v1=$1;if(NF>1)v2=$2;if(NF>2)v3=$3;print v1*10000+v2*100+v3}'`
-if [ $gcc_ver -eq 30401 ]  ; then
-    return 0
-fi
-return 1
-}
-
-print_env(){
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export GCC_ROOT=\${INSTALL_ROOT}/${PRODUCT}
-export CXX=\${GCC_ROOT}/bin/g++
-export CC=\${GCC_ROOT}/bin/gcc
-export PATH=\${GCC_ROOT}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${GCC_ROOT}/lib:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-gcc_root="`find_in_path gcc ${PATH}`"
-if [ -z "${gcc_root}" ] ; then
-    gcc_root="`find_in_path gcc /usr/bin`"
-fi
-if [ -n "${gcc_root}" ] ; then
-    gcc_root=`cd ${gcc_root}/..; pwd`
-    # get version number: <major>, <minor> and <release>
-    # <major> and <minor> numbers are checked strickly, but <release> number can be larger than required one
-    # version number is calculated as: <major>*10000+<minor>*100+<release>
-    # e.g. for gcc 3.2 it is equal to 30200, for gcc 3.4.1 - 30401
-    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}'`
-    rel_ver=`gcc -dumpversion | awk -F. '{if(NF>2) print $3; else print 0}'`
-    let gcc_ver=$maj_ver*10000+$min_ver*100+$rel_ver
-    if [ $gcc_ver -ge 30401 ]  ; then
-       tmp="\${GCC_ROOT}/bin ${gcc_root}/bin \${PATH} ${PATH}";  
-       path=`sort_path ${tmp}`
-       tmp="\${GCC_ROOT}/lib ${gcc_root}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-       ld_library_path=`sort_path ${tmp}`
-       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export GCC_ROOT=${gcc_root}
-export CXX=\${GCC_ROOT}/bin/g++
-export CC=\${GCC_ROOT}/bin/gcc
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-##
-EOF
-       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-#######       THIS COULD BE USED FOR STRICT COMPARISON  ##############################
-#      if [ $maj_ver -eq 3 ] && [ $min_ver -eq 4 ] && [ $rel_ver -eq 1 ] ;  then 
-######################################################################################
-       if [ $maj_ver -eq 3 ] && [ $min_ver -eq 4 ] && [ $rel_ver -ge 1 ] ;  then 
-           return 0
-       else
-           return 2
-       fi
-   fi
-fi
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-echo "The installation of gcc 3.4.1 from sources is not provided! Use native gcc."
-return 1
-}
-
-install_binary()
-{
-echo "The installation of gcc 3.4.1 from binaries is not provided! Use native gcc."
-return 1
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="gcc" ; fi
-export PRODUCT="gcc-3.4.1"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
\ No newline at end of file
diff --git a/config_files/graphviz-1.9.sh b/config_files/graphviz-1.9.sh
deleted file mode 100755 (executable)
index a3dea55..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-isdot=`which dot 2>/dev/null`
-if [ -n "$isdot" ]; then
-  ver=`dot -V 2>&1 | awk '{print $3}'`
-  if [ "$ver" == "1.9" ]; then
-    return 0
-  fi
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PATH=\${INSTALL_ROOT}/${PRODUCT}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${INSTALL_ROOT}/${PRODUCT}/lib/graphviz:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    dot="`find_in_path dot ${PATH}`"
-    dot=`cd ${dot}/..; pwd`
-    tmp="${dot}/bin ${dot}/bin \${PATH} ${PATH}";  
-    path=`sort_path ${tmp}`
-    tmp="${dot}/lib/graphviz ${dot}/lib/graphviz \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-    ld_library_path=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1;
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/graphviz-1.9.tar.gz -C ${INSTALL_WORK}
-
-cd ${PRODUCT_WORK}
-makedir ${PRODUCT_DIR}
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG configure --prefix=${PRODUCT_DIR} --with-tcl=${TCLHOME} --disable-rpath 
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/graphviz-1.9.tar.gz -C ${INSTALL_ROOT}
-cd ${PRODUCT_DIR}/lib/graphviz
-for l in `ls *.la`; do
-    libdir=`grep -e "libdir=.*" $l | sed -e "s/libdir=[\'|\"]\(.*\)[\'|\"]/\1/g"`
-    sed -e "s%${libdir}%${PRODUCT_DIR}/lib/graphviz%g" $l > _$l
-    libdir=`dirname $libdir`
-    sed -e "s%${libdir}%${PRODUCT_DIR}/lib/graphviz%g" _$l > $l
-    rm -f _$l
-    chmod a+x $l
-done
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="graphviz" ; fi
-export PRODUCT="graphviz-1.9"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/hdf5-1.4.4.sh b/config_files/hdf5-1.4.4.sh
deleted file mode 100755 (executable)
index b5abd9b..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-if [ -z "$HDF5HOME" ]; then
-    return 1 
-fi
-check_lib_version libhdf5.so.0.0.0 ${HDF5HOME}/lib
-if [ "$?" -ne "0" ]; then
-    return 1
-fi
-check_lib_version libhdf5.settings ${HDF5HOME}/lib
-if [ "$?" -eq "0" ]; then
-    ver=`grep "HDF5 Version:" ${HDF5HOME}/lib/libhdf5.settings | awk '{print $3}'` 
-    if [ "$ver" = "1.4.4" ]; then 
-       return 0
-    fi
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export HDF5HOME=\${INSTALL_ROOT}/${PRODUCT}
-export PATH=\${HDF5HOME}/bin:\$PATH
-export LD_LIBRARY_PATH=\${HDF5HOME}/lib:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-check_version
-if [ $? -eq 0 ] ; then
-    tmp="\${HDF5HOME}/bin ${HDF5HOME}/bin \${PATH} ${PATH}";  
-    path=`sort_path ${tmp}`
-    tmp="\${HDF5HOME}/lib ${HDF5HOME}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-    ld_library_path=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export HDF5HOME=${HDF5HOME}
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1;
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/hdf5-1.4.4.tar.gz -C ${INSTALL_WORK}
-cd ${PRODUCT_WORK}
-makedir ${PRODUCT_DIR}
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
-    ./configure --prefix=${PRODUCT_DIR} --enable-threadsafe --enable-hdf5v1_2 \
-       --enable-stream-vfd --disable-hsizet --with-pthread=/usr/include,/usr/lib 
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE0.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE0.LOG make 
-# 1
-sed -e 's%$(srcdir)/usr%/usr%g' ./src/.depend > ./src/.dependnew
-mv ./src/.dependnew ./src/.depend
-cat >> ${PRODUCT_DIR}/MAKE1.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE1.LOG make  
-# 2
-sed -e 's%$(srcdir)/usr%/usr%g' ./test/.depend > ./test/.dependnew
-mv ./test/.dependnew ./test/.depend
-cat >> ${PRODUCT_DIR}/MAKE2.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE2.LOG make
-# 3
-sed -e 's%$(srcdir)/usr%/usr%g' ./tools/lib/.depend > ./tools/lib/.dependnew
-mv ./tools/lib/.dependnew ./tools/lib/.depend
-cat >> ${PRODUCT_DIR}/MAKE3.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE3.LOG make
-# 4
-sed -e 's%$(srcdir)/usr%/usr%g' ./tools/h5dump/.depend > ./tools/h5dump/.dependnew
-mv ./tools/h5dump/.dependnew ./tools/h5dump/.depend
-cat >> ${PRODUCT_DIR}/MAKE4.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE4.LOG make
-# 5
-sed -e 's%$(srcdir)/usr%/usr%g' ./tools/h5ls/.depend > ./tools/h5ls/.dependnew
-mv ./tools/h5ls/.dependnew ./tools/h5ls/.depend
-cat >> ${PRODUCT_DIR}/MAKE5.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE5.LOG make
-# 6
-sed -e 's%$(srcdir)/usr%/usr%g' ./tools/misc/.depend > ./tools/misc/.dependnew
-mv ./tools/misc/.dependnew ./tools/misc/.depend
-cat >> ${PRODUCT_DIR}/MAKE6.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE6.LOG make
-# 7
-#sed -e 's%$(srcdir)/usr%/usr%g' ./examples/.depend > ./examples/.dependnew
-#mv ./examples/.dependnew ./examples/.depend
-#cat >> ${PRODUCT_DIR}/MAKE7.LOG <<EOF
-#used gcc=$GCC
-#EOF
-#check_job ${PRODUCT_DIR}/MAKE7.LOG make
-##
-#check_job ${PRODUCT_DIR}/MAKECHECK.LOG make check
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/hdf5-1.4.4.tar.gz -C ${INSTALL_ROOT}
-
-### modify libhdf5.la file to correct direct path to hdf5 library
-### no need to do this for sources installation because 'make install' does it!
-cd ${PRODUCT_DIR}/lib
-sed -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libhdf5.la > libhdf5.la.new
-mv -f libhdf5.la.new libhdf5.la
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="hdf" ; fi
-export PRODUCT="hdf5-1.4.4"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
index 42c4f2fb180a22e9ad4ce8f81b2c809770968091..26b8f69155038279498185575f97c1df38aacd8e 100755 (executable)
@@ -25,8 +25,7 @@ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
 try_native(){
 msg2qmroot="`find_in_path msg2qm ${PATH}`"
 if [ -n "${msg2qmroot}" ] ; then
-    msg2qmroot=`cd ${msg2qmroot}/..; pwd`
-    tmp="\${msg2qmroot} ${MSG2QM_ROOT} \${PATH} ${PATH}";  
+    tmp="\${MSG2QM_ROOT} ${msg2qmroot} \${PATH} ${PATH}";  
     path=`sort_path ${tmp}`
     cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM
diff --git a/config_files/qt-3.3.3.sh b/config_files/qt-3.3.3.sh
deleted file mode 100755 (executable)
index 675e270..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-#!/bin/sh
-
-check_version(){
-if [ -z "$QTDIR" ]; then
-   return 1
-fi
-ver=`grep "QT_VERSION_STR" ${QTDIR}/include/qglobal.h | sed -e 's%^#define QT_VERSION_STR\([[:space:]]*\)%%g' -e 's%\"%%g'`
-if [ "$ver" == "3.3.3" ] ; then
-    return 0
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export QTDIR=\${INSTALL_ROOT}/${PRODUCT}
-export PATH=\${QTDIR}/bin:\$PATH 
-export LD_LIBRARY_PATH=\${QTDIR}/lib:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-qtdir="`find_in_path libqt-mt.so.3.3.3 ${LD_LIBRARY_PATH}`"
-if [ -z "${qtdir}" ] ; then
-    qtdir="`find_in_path libqt-mt.so.3.3.3 /usr/lib/qt3`"
-fi
-if [ -n "${qtdir}" ] ; then
-    qtdir=`cd ${qtdir}/..; pwd`
-    moc="`find_in_path moc ${qtdir}/bin`"
-    uic="`find_in_path uic ${qtdir}/bin`"
-    if [ -n "${moc}" ] && [ -n "${uic}" ] ; then
-       tmp="\${QTDIR}/bin ${qtdir}/bin \${PATH} ${PATH}";  
-       path=`sort_path ${tmp}`
-       tmp="\${QTDIR}/lib ${qtdir}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-       ld_library_path=`sort_path ${tmp}`
-       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export QTDIR=${qtdir}
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-##
-EOF
-       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-       return 0
-    fi
-fi
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-makedir ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/qt-3.3.3.tar.gz -C ${INSTALL_WORK}
-cd ${PRODUCT_WORK}
-
-mv -f configure configure-orig
-sed -e "s%read acceptance%acceptance=yes%" configure-orig > configure
-chmod +x configure
-
-export QTDIR=${PRODUCT_WORK}
-export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH
-
-# basic flags
-QT_FLAGS="-release -thread -shared -qt-gif -platform linux-g++"
-# use system graphics libraries
-QT_FLAGS=$QT_FLAGS" -system-libjpeg -system-libpng -system-libmng -qt-imgfmt-jpeg -qt-imgfmt-png -qt-imgfmt-mng -lpng -lmng -ljpeg"
-# prefix
-
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure $QT_FLAGS -prefix ${PRODUCT_DIR}
-
-sed -e "s%^all: symlinks src-qmake src-moc sub-src sub-tools sub-tutorial sub-examples%all: symlinks src-qmake src-moc sub-src sub-tools%g" Makefile > _Makefile
-mv -f _Makefile Makefile
-
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-# small trick: INSTALL_ROOT is used inside qt-3.3.3 installation
-# so it should be set to empty string
-export INSTALL_ROOT_BACKUP=$INSTALL_ROOT
-export INSTALL_ROOT=""
-check_job ${PRODUCT_DIR}/MAKE.LOG make 
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-export INSTALL_ROOT=$INSTALL_ROOT_BACKUP
-
-for b in `ls ${PRODUCT_WORK}/bin`; do
-    if [ ! -e ${PRODUCT_DIR}/bin/$b ] || [ -h ${PRODUCT_DIR}/bin/$b ]; then
-       if [ -h ${PRODUCT_DIR}/bin/$b ]; then
-           rm -f ${PRODUCT_DIR}/bin/$b
-       fi
-       cp -f ${PRODUCT_WORK}/bin/$b ${PRODUCT_DIR}/bin/$b
-    fi
-done
-#rm -rf ${PRODUCT_DIR}/doc
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/qt-3.3.3.tar.gz -C ${INSTALL_ROOT}
-
-cd ${PRODUCT_DIR}/lib
-sed -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libqt-mt.la > libqt-mt.la.new
-mv -f libqt-mt.la.new libqt-mt.la
-cd ${PRODUCT_DIR}/lib/pkgconfig
-sed -e "s%^prefix=\(.*\)%prefix=${PRODUCT_DIR}%g" qt-mt.pc > qt-mt.pc.new
-mv -f qt-mt.pc.new qt-mt.pc
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi
-export PRODUCT="qt-3.3.3"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/qt-3.3.4.sh b/config_files/qt-3.3.4.sh
new file mode 100755 (executable)
index 0000000..db297cd
--- /dev/null
@@ -0,0 +1,146 @@
+#!/bin/sh
+
+check_version(){
+if [ -z "$QTDIR" ]; then
+   return 1
+fi
+ver=`grep "QT_VERSION_STR" ${QTDIR}/include/qglobal.h | sed -e 's%^#define QT_VERSION_STR\([[:space:]]*\)%%g' -e 's%\"%%g'`
+if [ "$ver" == "3.3.4" ] ; then
+    return 0
+fi
+return 1
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export QTDIR=\${INSTALL_ROOT}/${PRODUCT}
+export PATH=\${QTDIR}/bin:\$PATH 
+export LD_LIBRARY_PATH=\${QTDIR}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+}
+
+# looks for the native product and collects it's environment (used by make_env())
+try_native(){
+qtdir="`find_in_path libqt-mt.so.3.3 /usr/share/qt3/lib`"
+if [ -z "${qtdir}" ] ; then
+    qtdir="`find_in_path libqt-mt.so.3.3 /usr/lib`"
+fi
+if [ -z "${qtdir}" ] ; then
+    qtdir="`find_in_path libqt-mt.so.3.3 ${LD_LIBRARY_PATH}`"
+fi
+if [ -n "${qtdir}" ] ; then
+    qtdir=`cd ${qtdir}/..; pwd`
+    moc="`find_in_path moc ${qtdir}/bin`"
+    uic="`find_in_path uic ${qtdir}/bin`"
+    if [ -n "${moc}" ] && [ -n "${uic}" ] ; then
+       tmp="\${QTDIR}/bin ${qtdir}/bin \${PATH} ${PATH}";  
+       path=`sort_path ${tmp}`
+       tmp="\${QTDIR}/lib ${qtdir}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
+       ld_library_path=`sort_path ${tmp}`
+       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export QTDIR=${qtdir}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_path}
+##
+EOF
+       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+       return 0
+    fi
+fi
+return 1
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+return $?
+}
+
+install_source()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+makedir ${PRODUCT_DIR}
+
+check_jb tar xfz ${SOURCE_DIR}/qt-3.3.4.tar.gz -C ${INSTALL_WORK}
+cd ${PRODUCT_WORK}
+
+mv -f configure configure-orig
+sed -e "s%read acceptance%acceptance=yes%" configure-orig > configure
+chmod +x configure
+
+export QTDIR=${PRODUCT_WORK}
+export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH
+
+# basic flags
+QT_FLAGS="-release -thread -shared -qt-gif -platform linux-g++"
+# use system graphics libraries
+QT_FLAGS=$QT_FLAGS" -system-libjpeg -system-libpng -system-libmng -qt-imgfmt-jpeg -qt-imgfmt-png -qt-imgfmt-mng -lpng -lmng -ljpeg"
+# prefix
+
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure $QT_FLAGS -prefix ${PRODUCT_DIR}
+
+sed -e "s%^all: symlinks src-qmake src-moc sub-src sub-tools sub-tutorial sub-examples%all: symlinks src-qmake src-moc sub-src sub-tools%g" Makefile > _Makefile
+mv -f _Makefile Makefile
+
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+# small trick: INSTALL_ROOT is used inside qt-3.3.3 installation
+# so it should be set to empty string
+export INSTALL_ROOT_BACKUP=$INSTALL_ROOT
+export INSTALL_ROOT=""
+check_job ${PRODUCT_DIR}/MAKE.LOG make 
+check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
+export INSTALL_ROOT=$INSTALL_ROOT_BACKUP
+
+for b in `ls ${PRODUCT_WORK}/bin`; do
+    if [ ! -e ${PRODUCT_DIR}/bin/$b ] || [ -h ${PRODUCT_DIR}/bin/$b ]; then
+       if [ -h ${PRODUCT_DIR}/bin/$b ]; then
+           rm -f ${PRODUCT_DIR}/bin/$b
+       fi
+       cp -f ${PRODUCT_WORK}/bin/$b ${PRODUCT_DIR}/bin/$b
+    fi
+done
+#rm -rf ${PRODUCT_DIR}/doc
+
+#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
+cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
+print_env
+}
+
+install_binary()
+{
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/qt-3.3.4.tar.gz -C ${INSTALL_ROOT}
+
+cd ${PRODUCT_DIR}/lib
+sed -e "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g" libqt-mt.la > libqt-mt.la.new
+mv -f libqt-mt.la.new libqt-mt.la
+cd ${PRODUCT_DIR}/lib/pkgconfig
+sed -e "s%^prefix=\(.*\)%prefix=${PRODUCT_DIR}%g" qt-mt.pc > qt-mt.pc.new
+mv -f qt-mt.pc.new qt-mt.pc
+
+print_env
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INSTALL_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi
+export PRODUCT="qt-3.3.4"
+export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+source ./common.sh
+$PROCEDURE 
diff --git a/config_files/qwt-0.4.1.sh b/config_files/qwt-0.4.1.sh
deleted file mode 100755 (executable)
index 1656160..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-if [ -z "$QWTHOME" ]; then
-   #echo "QWTHOME doesn't set"
-   return 1
-fi
-check_lib_version libqwt.so.0.4.1 ${QWTHOME}/lib
-if [ "$?" -eq "0" ]; then
-    #echo "The product ${PRODUCT} has been already installed on yours system"
-    return 0
-fi
-return 1
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export QWTHOME=\${INSTALL_ROOT}/${PRODUCT}
-export LD_LIBRARY_PATH=\${QWTHOME}/lib:\${LD_LIBRARY_PATH} 
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-qwthome="`find_in_path libqwt.so.0.4.1 ${LD_LIBRARY_PATH}`"
-if [ -n "${qwthome}" ] ; then
-    qwthome=`cd ${qwthome}/..; pwd`
-    tmp="\${QWTHOME}/lib ${QWTHOME}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-    ld_library_path=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export QWTHOME=${qwthome}
-export LD_LIBRARY_PATH=${ld_library_path}
-##
-EOF
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/qwt-0.4.1.tar.gz -C ${INSTALL_WORK}
-cd ${PRODUCT_WORK}
-makedir ${PRODUCT_DIR}
-
-qmake qwt.pro -o Makefile
-
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-
-check_job ${PRODUCT_DIR}/MAKE.LOG make 
-cp -rf include lib ${PRODUCT_DIR}
-
-#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}; rm -rf ${PRODUCT_WORK}
-
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/qwt-0.4.1.tar.gz -C ${INSTALL_ROOT}
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qwt" ; fi
-export PRODUCT="qwt-0.4.1"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
index ccafacf5192b2447174078267ab2f853a6b2fe25..05aa4da4629111749f23c9e4fdb68b40f6fdd289 100755 (executable)
@@ -40,7 +40,7 @@ if [ -n "${sipdir}" ] ; then
     if [ -n "${sippython}" ]; then
         tmp="${sipdir} ${sipdir} \${PATH} ${PATH}";
         path=`sort_path ${tmp}`
-        tmp="${sipdir} ${sipdir} \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
+        tmp="${sippython} ${sippython} \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";
         ld_library_path=`sort_path ${tmp}`
         tmp="${sippython} ${sippython} \${PYTHONPATH} ${PYTHONPATH}";
         pythonpath=`sort_path ${tmp}`
diff --git a/config_files/tcltk-8.3.3.sh b/config_files/tcltk-8.3.3.sh
deleted file mode 100755 (executable)
index 74c7ffa..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-#!/bin/sh
-
-check_version()
-{
-VERSION="8.3"
-if [ -z "$TCLHOME" ]; then
-   echo "TCLHOME doesn't set"
-   return 1
-fi
-
-# check tcl version
-tcl_cfg=${TCLHOME}/lib/tclConfig.sh
-if [ ! -f ${tcl_cfg} ]; then tcl_cfg=${TCLHOME}/tcl${VERSION}/lib/tclConfig.sh; fi
-if [ ! -f ${tcl_cfg} ]; then tcl_cfg=${TCLHOME}/lib/tcl${VERSION}/tclConfig.sh; fi
-if [ ! -f ${tcl_cfg} ]; then tcl_cfg=${TCLHOME}/lib/tcl${VERSION}/lib/tclConfig.sh; fi
-if [ -f ${tcl_cfg} ]; then
-    tcl_ver=`awk '/^TCL_VERSION=.*/ {gsub("TCL_VERSION=","",$1);print $1}' ${tcl_cfg} | cut -d "'" -f 2`
-    if [ "$tcl_ver" != ${VERSION} ] ; then
-       return 1
-    fi
-else
-    return 1
-fi
-
-# check tk version
-tk_cfg=${TCLHOME}/lib/tkConfig.sh
-if [ ! -f ${tk_cfg} ]; then tk_cfg=${TCLHOME}/tk${VERSION}/tkConfig.sh; fi
-if [ ! -f ${tk_cfg} ]; then tk_cfg=${TCLHOME}/lib/tk${VERSION}/tkConfig.sh; fi
-if [ ! -f ${tk_cfg} ]; then tk_cfg=${TCLHOME}/lib/tk${VERSION}/lib/tkConfig.sh; fi
-if [ -f ${tk_cfg} ]; then
-    tk_ver=`awk '/^TK_VERSION=.*/ {gsub("TK_VERSION=","",$1);print $1}' ${tk_cfg} | cut -d "'" -f 2`
-    if [ "$tk_ver" != ${VERSION} ] ; then
-       return 1
-    fi
-else
-    return 1
-fi
-
-return 0
-}
-
-print_env()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export TCLHOME=\${INSTALL_ROOT}/${PRODUCT}
-export PATH=\${TCLHOME}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${TCLHOME}/lib:\${LD_LIBRARY_PATH}
-export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl8.3 \${TCLHOME}/lib/tk8.3 \${TCLLIBPATH}"
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-}
-
-# looks for the native product and collects it's environment (used by make_env())
-try_native(){
-tclhome="`find_in_path tclsh ${PATH}`"
-if [ -z "${tclhome}" ] ; then
-    tclhome="`find_in_path tclsh /usr/bin`"
-fi
-if [ -n "${tclhome}" ] ; then
-    tclhome=`cd ${tclhome}/..; pwd`
-    tmp="\${TCLHOME}/bin ${tclhome}/bin \${PATH} ${PATH}";  
-    path=`sort_path ${tmp}`
-    tmp="\${TCLHOME}/lib ${tclhome}/lib \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
-    ld_library_path=`sort_path ${tmp}`
-    cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export TCLHOME=${tclhome}
-export PATH=${path}
-export LD_LIBRARY_PATH=${ld_library_path}
-export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl8.3 \${TCLHOME}/lib/tk8.3 \${TCLLIBPATH}"
-##
-EOF
-    (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-    make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
-    return 0
-fi
-return 1;
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-return $?
-}
-
-install_source()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-makedir ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/tcl8.3.3.tar.gz -C ${INSTALL_WORK}
-cd ${INSTALL_WORK}/tcl8.3.3/unix
-cat >> ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
--------------------
-Configuring tcl...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --enable-gcc --enable-shared --enable-threads \
-    --prefix=${PRODUCT_DIR}
-GCC=`which gcc`
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
--------------------
-Making tcl...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-cat >> ${PRODUCT_DIR}/MAKEINSTALL.LOG <<EOF
--------------------
-Installing tcl...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-(cd ${PRODUCT_DIR}/bin; ln -s tclsh8.3 tclsh)
-(cd ${PRODUCT_DIR}/lib; ln -s libtcl8.3.so libtcl.so)
-(cd ${PRODUCT_DIR}/lib; ln -s libtclstub8.3.a libtclstub.a)
-
-check_jb tar xfz ${SOURCE_DIR}/tk8.3.3.tar.gz -C ${INSTALL_WORK}
-cd ${INSTALL_WORK}/tk8.3.3/unix
-cat >> ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
--------------------
-Configuring tk...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure --enable-gcc --enable-shared --enable-threads \
-    --prefix=${PRODUCT_DIR} 
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
--------------------
-Making tk...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-cat >> ${PRODUCT_DIR}/MAKEINSTALL.LOG <<EOF
--------------------
-Installing tk...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-(cd ${PRODUCT_DIR}/bin; ln -s wish8.3 wish)
-(cd ${PRODUCT_DIR}/lib; ln -s libtk8.3.so libtk.so)
-(cd ${PRODUCT_DIR}/lib; ln -s libtkstub8.3.a libtkstub.a)
-
-check_jb tar xfz ${SOURCE_DIR}/tclx8.3.tar.gz -C ${INSTALL_WORK}
-cd ${INSTALL_WORK}/tclx8.3/unix
-#VRV - bug in a tclx configure 
-chmod +w ./configure
-echo -e '/test "$no_create" = yes || ${CONFIG_SHELL-\/bin\/sh} $CONFIG_STATUS || exit 1\ns/test "$no_create" = yes || ${CONFIG_SHELL-\/bin\/sh} $CONFIG_STATUS || exit 1/test "$no_create" = yes || ${CONFIG_SHELL-\/bin\/sh} $CONFIG_STATUS || exit 0\nwq' | ed - configure 
-chmod -w ./configure
-#VRV - bug in a tclx configure 
-cat >> ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
--------------------
-Configuring tclx...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
-    ./configure --enable-gcc --enable-shared --enable-threads \
-    --prefix=${PRODUCT_DIR}
-cat >> ${PRODUCT_DIR}/MAKE.LOG <<EOF
--------------------
-Making tclx...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make
-cat >> ${PRODUCT_DIR}/MAKEINSTALLEXEC.LOG <<EOF
--------------------
-Installing tclx...
--------------------
-EOF
-check_job ${PRODUCT_DIR}/MAKEINSTALLEXEC.LOG make install-exec
-
-(cd ${PRODUCT_DIR}/lib; ln -s libtclx8.3.so libtclx.so)
-(cd ${PRODUCT_DIR}/lib; ln -s libtclx8.3.a  libtclx.a)
-(cd ${PRODUCT_DIR}/lib; ln -s libtkx8.3.so  libtkx.so)
-(cd ${PRODUCT_DIR}/lib; ln -s libtkx8.3.a   libtkx.a)
-
-#du -sk ${INSTALL_WORK}/tcl8.3.3 > ${PRODUCT_DIR}/size.log
-#du -sk ${INSTALL_WORK}/tk8.3.3 >> ${PRODUCT_DIR}/size.log
-#du -sk ${INSTALL_WORK}/tclx8.3 >> ${PRODUCT_DIR}/size.log
-cd ${PRODUCT_DIR}
-rm -fr ${INSTALL_WORK}/tcl8.3.3 ${INSTALL_WORK}/tk8.3.3 ${INSTALL_WORK}/tclx8.3
-print_env
-}
-
-install_binary()
-{
-make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/tcltk-8.3.3.tar.gz -C ${INSTALL_ROOT}
-
-# overriding installation path
-cd ${PRODUCT_DIR}/lib
-old_prefix=`grep -e "^TCL_PREFIX='.*'" tclConfig.sh | sed -e "s%^TCL_PREFIX='\(.*\)'%\1%g"`
-sed -e "s%${old_prefix}%${PRODUCT_DIR}%g" tclConfig.sh > _tclConfig.sh
-mv -f _tclConfig.sh tclConfig.sh
-sed -e "s%${old_prefix}%${PRODUCT_DIR}%g" tkConfig.sh > _tkConfig.sh
-mv -f _tkConfig.sh tkConfig.sh
-
-print_env
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INSTALL_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi
-export PRODUCT="tcltk-8.3.3"
-export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-source ./common.sh
-$PROCEDURE 
index 934b879222bd6cd0930843c7d6867ed05703a292..14d0cefe973868f2bc16e315d146471ce1e07ec9 100755 (executable)
@@ -1,8 +1,9 @@
 #!/bin/sh
 
+VERSION="8.4"
+
 check_version()
 {
-VERSION="8.4"
 if [ -z "$TCLHOME" ]; then
    echo "TCLHOME doesn't set"
    return 1
@@ -46,7 +47,7 @@ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
 export TCLHOME=\${INSTALL_ROOT}/${PRODUCT}
 export PATH=\${TCLHOME}/bin:\${PATH}
 export LD_LIBRARY_PATH=\${TCLHOME}/lib:\${LD_LIBRARY_PATH}
-export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl8.4 \${TCLHOME}/lib/tk8.4 \${TCLLIBPATH}"
+export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl${VERSION} \${TCLHOME}/lib/tk${VERSION} \${TCLLIBPATH}"
 ##
 EOF
 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
@@ -70,7 +71,7 @@ if [ -n "${tclhome}" ] ; then
 export TCLHOME=${tclhome}
 export PATH=${path}
 export LD_LIBRARY_PATH=${ld_library_path}
-export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl8.4 \${TCLHOME}/lib/tk8.4 \${TCLLIBPATH}"
+export TCLLIBPATH="\${TCLHOME}/lib \${TCLHOME}/lib/tcl${VERSION} \${TCLHOME}/lib/tk${VERSION} \${TCLLIBPATH}"
 ##
 EOF
     (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})