]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Merge from SALOME_3_DS branch
authorvsr <vsr@opencascade.com>
Wed, 17 May 2006 09:01:48 +0000 (09:01 +0000)
committervsr <vsr@opencascade.com>
Wed, 17 May 2006 09:01:48 +0000 (09:01 +0000)
config_Debian_3.1.xml [new file with mode: 0755]
config_Mandriva_2006.0.xml [new file with mode: 0755]
config_files/BOOST-1.32.0.sh [new file with mode: 0755]
config_files/Python-2.3.5.sh [new file with mode: 0755]
config_files/Python-2.4.1.sh [new file with mode: 0755]
config_files/VTK-4.2.2.sh [deleted file]
config_files/gcc-3.3.5.sh [new file with mode: 0755]
config_files/gcc-4.0.1.sh [new file with mode: 0755]
config_files/graphviz-1.9.sh [deleted file]

diff --git a/config_Debian_3.1.xml b/config_Debian_3.1.xml
new file mode 100755 (executable)
index 0000000..4c8dc05
--- /dev/null
@@ -0,0 +1,562 @@
+<document>
+  <config version="3.2.0b1"
+         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_3.2.0b1"
+        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="install binaries"
+          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="install binaries"
+          supported="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="install binaries"
+          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="install binaries"
+          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="install binaries"
+          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="install binaries"
+          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 binaries"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python"
+          installdiskspace="20281"
+          temporarydiskspace="69752"
+          script="BOOST-1.31.0.sh"/>
+  <product name="Swig" 
+           version="1.3.24" 
+           description="Simplified Wrapper and Interface Generator"
+           install="install sources"
+          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.1" 
+           description="Open CASCADE version 6.1.0"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,tcltk"
+          installdiskspace="217388"
+          temporarydiskspace="980538"
+          script="CAS-6.1.sh"/>
+  <product name="Qwt" 
+           version="4.2.0" 
+           description="2-D plotting extension for Qt library"
+           install="install binaries"
+          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.3" 
+           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.3.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="Graphviz"
+           version="2.2.1" 
+           description="Graph Drawing Programs set"
+           install="install binaries"
+          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.6" 
+           description="Documentation system for C++, C, Java, IDL, etc."
+           install="install binaries"
+          supported="use native,install binaries"
+          disable="false"
+          dependancies="gcc,Qt,Graphviz"
+          installdiskspace="5116"
+          temporarydiskspace="38060"
+          script="doxygen-1.4.6.sh"/>
+  <product name="netgen" 
+           version="4.5" 
+           description="Quadrangle meshing algorithmic tool"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="3070"
+          temporarydiskspace="8384"
+          script="netgen-4.5.sh"/>
+  <product name="HXX2SALOME"
+           version="3.2.0b1" 
+           description="SALOME module generator"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt,HXX2SALOMEDOC"
+          installdiskspace="741"
+          temporarydiskspace="13328"
+          script="HXX2SALOME.sh"/>
+  <product name="HXX2SALOMEDOC"
+           version="3.2.0b1" 
+           description="SALOME module generator documentation"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies=""
+          installdiskspace="2256"
+          temporarydiskspace="9923"
+          script="HXX2SALOMEDOC.sh"/>
+  <product name="KERNEL-Src"
+           version="3.2.0b1" 
+           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"
+          installdiskspace="9810"
+          temporarydiskspace="0"
+           pickupenv="true"
+          script="KERNEL_SRC.sh"/>
+  <product name="KERNEL-Bin"
+           version="3.2.0b1" 
+           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"
+          installdiskspace="23122"
+          temporarydiskspace="0"
+           pickupenv="true"
+          script="KERNEL_BIN.sh"/>
+  <product name="GUI-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src"
+          installdiskspace="6963"
+          temporarydiskspace="0"
+          script="GUI_SRC.sh"/>
+  <product name="GUI-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin"
+          installdiskspace="64060"
+          temporarydiskspace="0"
+          script="GUI_BIN.sh"/>
+  <product name="GEOM-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="12393"
+          temporarydiskspace="0"
+          script="GEOM_SRC.sh"/>
+  <product name="GEOM-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="38934"
+          temporarydiskspace="0"
+          script="GEOM_BIN.sh"/>
+  <product name="MED-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="31729"
+          temporarydiskspace="0"
+          script="MED_SRC.sh"/>
+  <product name="MED-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="61046"
+          temporarydiskspace="0"
+          script="MED_BIN.sh"/>
+  <product name="SMESH-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
+          installdiskspace="11120"
+          temporarydiskspace="0"
+          script="SMESH_SRC.sh"/>
+  <product name="SMESH-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
+          installdiskspace="45273"
+          temporarydiskspace="0"
+          script="SMESH_BIN.sh"/>
+  <product name="VISU-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src,MED-Src"
+          installdiskspace="6650"
+          temporarydiskspace="0"
+          script="VISU_SRC.sh"/>
+  <product name="VISU-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin,MED-Bin"
+          installdiskspace="24011"
+          temporarydiskspace="0"
+          script="VISU_BIN.sh"/>
+  <product name="SUPERV-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="4991"
+          temporarydiskspace="0"
+          script="SUPERV_SRC.sh"/>
+  <product name="SUPERV-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="59188"
+          temporarydiskspace="0"
+          script="SUPERV_BIN.sh"/>
+  <product name="COMPONENT-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,MED-Src"
+          installdiskspace="481"
+          temporarydiskspace="0"
+          script="COMPONENT_SRC.sh"/>
+  <product name="COMPONENT-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,MED-Bin"
+          installdiskspace="37241"
+          temporarydiskspace="0"
+          script="COMPONENT_BIN.sh"/>
+  <product name="PYCALCULATOR-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,MED-Src"
+          installdiskspace="147"
+          temporarydiskspace="0"
+          script="PYCALCULATOR_SRC.sh"/>
+  <product name="PYCALCULATOR-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,MED-Bin"
+          installdiskspace="28"
+          temporarydiskspace="0"
+          script="PYCALCULATOR_BIN.sh"/>
+  <product name="CALCULATOR-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,MED-Src"
+          installdiskspace="324"
+          temporarydiskspace="0"
+          script="CALCULATOR_SRC.sh"/>
+  <product name="CALCULATOR-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,MED-Bin"
+          installdiskspace="3361"
+          temporarydiskspace="0"
+          script="CALCULATOR_BIN.sh"/>
+  <product name="NETGENplugin-Src" 
+           version="3.2.0b1" 
+           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,netgen,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
+          installdiskspace="72"
+          temporarydiskspace="0"
+          script="NETGENPLUGIN_SRC.sh"/>
+  <product name="NETGENplugin-Bin" 
+           version="3.2.0b1" 
+           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,netgen,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
+          installdiskspace="2468"
+          temporarydiskspace="0"
+          script="NETGENPLUGIN_BIN.sh"/>
+  <product name="GHS3Dplugin-Src" 
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
+          installdiskspace="56"
+          temporarydiskspace="0"
+          script="GHS3DPLUGIN_SRC.sh"/>
+  <product name="GHS3Dplugin-Bin" 
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
+          installdiskspace="173"
+          temporarydiskspace="0"
+          script="GHS3DPLUGIN_BIN.sh"/>
+  <product name="Hello-Src" 
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="90"
+          temporarydiskspace="0"
+          script="HELLO_SRC.sh"/>
+  <product name="Hello-Bin" 
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="2385"
+          temporarydiskspace="0"
+          script="HELLO_BIN.sh"/>
+  <product name="PyHello-Src" 
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="172"
+          temporarydiskspace="0"
+          script="PYHELLO_SRC.sh"/>
+  <product name="PyHello-Bin" 
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="26"
+          temporarydiskspace="0"
+          script="PYHELLO_BIN.sh"/>
+  <product name="LIGHT-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="141"
+          temporarydiskspace="0"
+          script="LIGHT_SRC.sh"/>
+  <product name="LIGHT-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="143"
+          temporarydiskspace="0"
+          script="LIGHT_BIN.sh"/>
+  <product name="SAMPLES"
+           version="3.2.0b1" 
+           context="salome sources,salome binaries" 
+           description="SALOME samples files"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies=""
+          installdiskspace="34976"
+          temporarydiskspace="0"
+          script="SAMPLES.sh"/>
+</document>
diff --git a/config_Mandriva_2006.0.xml b/config_Mandriva_2006.0.xml
new file mode 100755 (executable)
index 0000000..f47ce29
--- /dev/null
@@ -0,0 +1,562 @@
+<document>
+  <config version="3.2.0b1"
+         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="Mandriva2006.0"/>
+  <path targetdir="${HOME}/salome_3.2.0b1"
+        tempdir="/tmp"/>
+  <product name="gcc" 
+           version="4.0.1" 
+           description="GNU Compiler Collection"
+           install="use native"
+          supported="use native"
+          disable="false"
+          dependancies=""
+          installdiskspace="0"
+          temporarydiskspace="0"
+          script="gcc-4.0.1.sh"/>
+  <product name="tcltk" 
+           version="8.4.5" 
+           description="Tcl/Tk library"
+           install="use native"
+          supported="use native,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="23060"
+          temporarydiskspace="39388"
+          script="tcltk-8.4.5.sh"/>
+  <product name="Python" 
+           version="2.4.1" 
+           description="Python language interpreter"
+           install="use native"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="37875"
+          temporarydiskspace="59397"
+          script="Python-2.4.1.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="50369"
+          temporarydiskspace="133413"
+          script="qt-3.3.4.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="use native"
+          supported="use native"
+          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.32.0" 
+           description="Free peer-reviewed portable STL extension"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Python"
+          installdiskspace="19786"
+          temporarydiskspace="66848"
+          script="BOOST-1.32.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.1" 
+           description="Open CASCADE version 6.1.0"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,tcltk"
+          installdiskspace="217388"
+          temporarydiskspace="980538"
+          script="CAS-6.1.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.6" 
+           description="Open source Object Request Broker (ORB) library that implements the 2.3 specification of the Common Object Request Broker Architecture (CORBA)"
+           install="use native"
+          supported="use native"
+          disable="false"
+          dependancies="gcc,Python"
+          installdiskspace="31899"
+          temporarydiskspace="71032"
+          script="omniORB-4.0.6.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.3" 
+           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.3.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="2396"
+          temporarydiskspace="7840"
+          script="Numeric-23.7.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.4.6" 
+           description="Documentation system for C++, C, Java, IDL, etc."
+           install="install binaries"
+          supported="use native,install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt,Graphviz"
+          installdiskspace="6090"
+          temporarydiskspace="32355"
+          script="doxygen-1.4.6.sh"/>
+  <product name="netgen" 
+           version="4.5"
+           description="Quadrangle meshing algorithmic tool"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc"
+          installdiskspace="2966"
+          temporarydiskspace="8216"
+          script="netgen-4.5.sh"/>
+  <product name="HXX2SALOME"
+           version="3.2.0b1" 
+           description="SALOME module generator"
+           install="install binaries"
+          supported="install sources,install binaries"
+          disable="false"
+          dependancies="gcc,Qt,HXX2SALOMEDOC"
+          installdiskspace="741"
+          temporarydiskspace="13328"
+          script="HXX2SALOME.sh"/>
+  <product name="HXX2SALOMEDOC"
+           version="3.2.0b1" 
+           description="SALOME module generator documentation"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies=""
+          installdiskspace="2256"
+          temporarydiskspace="9923"
+          script="HXX2SALOMEDOC.sh"/>
+  <product name="KERNEL-Src"
+           version="3.2.0b1" 
+           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"
+          installdiskspace="9810"
+          temporarydiskspace="0"
+           pickupenv="true"
+          script="KERNEL_SRC.sh"/>
+  <product name="KERNEL-Bin"
+           version="3.2.0b1" 
+           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"
+          installdiskspace="22407"
+          temporarydiskspace="0"
+           pickupenv="true"
+          script="KERNEL_BIN.sh"/>
+  <product name="GUI-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src"
+          installdiskspace="6963"
+          temporarydiskspace="0"
+          script="GUI_SRC.sh"/>
+  <product name="GUI-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin"
+          installdiskspace="57997"
+          temporarydiskspace="0"
+          script="GUI_BIN.sh"/>
+  <product name="GEOM-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="12393"
+          temporarydiskspace="0"
+          script="GEOM_SRC.sh"/>
+  <product name="GEOM-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="40742"
+          temporarydiskspace="0"
+          script="GEOM_BIN.sh"/>
+  <product name="MED-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="31729"
+          temporarydiskspace="0"
+          script="MED_SRC.sh"/>
+  <product name="MED-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="64498"
+          temporarydiskspace="0"
+          script="MED_BIN.sh"/>
+  <product name="SMESH-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src,GEOM-Src,MED-Src"
+          installdiskspace="11120"
+          temporarydiskspace="0"
+          script="SMESH_SRC.sh"/>
+  <product name="SMESH-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin,GEOM-Bin,MED-Bin"
+          installdiskspace="48564"
+          temporarydiskspace="0"
+          script="SMESH_BIN.sh"/>
+  <product name="VISU-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src,MED-Src"
+          installdiskspace="6650"
+          temporarydiskspace="0"
+          script="VISU_SRC.sh"/>
+  <product name="VISU-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin,MED-Bin"
+          installdiskspace="25310"
+          temporarydiskspace="0"
+          script="VISU_BIN.sh"/>
+  <product name="SUPERV-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="4990"
+          temporarydiskspace="0"
+          script="SUPERV_SRC.sh"/>
+  <product name="SUPERV-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="40288"
+          temporarydiskspace="0"
+          script="SUPERV_BIN.sh"/>
+  <product name="COMPONENT-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,MED-Src"
+          installdiskspace="481"
+          temporarydiskspace="0"
+          script="COMPONENT_SRC.sh"/>
+  <product name="COMPONENT-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,MED-Bin"
+          installdiskspace="20252"
+          temporarydiskspace="0"
+          script="COMPONENT_BIN.sh"/>
+  <product name="PYCALCULATOR-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,MED-Src"
+          installdiskspace="147"
+          temporarydiskspace="0"
+          script="PYCALCULATOR_SRC.sh"/>
+  <product name="PYCALCULATOR-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,MED-Bin"
+          installdiskspace="28"
+          temporarydiskspace="0"
+          script="PYCALCULATOR_BIN.sh"/>
+  <product name="CALCULATOR-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,MED-Src"
+          installdiskspace="324"
+          temporarydiskspace="0"
+          script="CALCULATOR_SRC.sh"/>
+  <product name="CALCULATOR-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,MED-Bin"
+          installdiskspace="3559"
+          temporarydiskspace="0"
+          script="CALCULATOR_BIN.sh"/>
+  <product name="NETGENplugin-Src" 
+           version="3.2.0b1" 
+           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,netgen,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
+          installdiskspace="71"
+          temporarydiskspace="0"
+          script="NETGENPLUGIN_SRC.sh"/>
+  <product name="NETGENplugin-Bin" 
+           version="3.2.0b1" 
+           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,netgen,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
+          installdiskspace="2618"
+          temporarydiskspace="0"
+          script="NETGENPLUGIN_BIN.sh"/>
+  <product name="GHS3Dplugin-Src" 
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src,GEOM-Src,SMESH-Src"
+          installdiskspace="56"
+          temporarydiskspace="0"
+          script="GHS3DPLUGIN_SRC.sh"/>
+  <product name="GHS3Dplugin-Bin" 
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin,GEOM-Bin,SMESH-Bin"
+          installdiskspace="175"
+          temporarydiskspace="0"
+          script="GHS3DPLUGIN_BIN.sh"/>
+  <product name="Hello-Src" 
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="90"
+          temporarydiskspace="0"
+          script="HELLO_SRC.sh"/>
+  <product name="Hello-Bin" 
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="2480"
+          temporarydiskspace="0"
+          script="HELLO_BIN.sh"/>
+  <product name="PyHello-Src" 
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="172"
+          temporarydiskspace="0"
+          script="PYHELLO_SRC.sh"/>
+  <product name="PyHello-Bin" 
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="26"
+          temporarydiskspace="0"
+          script="PYHELLO_BIN.sh"/>
+  <product name="LIGHT-Src"
+           version="3.2.0b1" 
+           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,KERNEL-Src,GUI-Src"
+          installdiskspace="141"
+          temporarydiskspace="0"
+          script="LIGHT_SRC.sh"/>
+  <product name="LIGHT-Bin"
+           version="3.2.0b1" 
+           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,KERNEL-Bin,GUI-Bin"
+          installdiskspace="152"
+          temporarydiskspace="0"
+          script="LIGHT_BIN.sh"/>
+  <product name="SAMPLES"
+           version="3.2.0b1" 
+           context="salome sources,salome binaries" 
+           description="SALOME samples files"
+           install="install sources"
+          supported="install sources"
+          disable="false"
+          dependancies=""
+          installdiskspace="34976"
+          temporarydiskspace="0"
+          script="SAMPLES.sh"/>
+</document>
diff --git a/config_files/BOOST-1.32.0.sh b/config_files/BOOST-1.32.0.sh
new file mode 100755 (executable)
index 0000000..72c8fff
--- /dev/null
@@ -0,0 +1,141 @@
+#!/bin/sh
+
+check_version(){
+if [ -n "${BOOSTDIR}" ] && [ -f ${BOOSTDIR}/include/boost/version.hpp ] ; then
+    ver=`egrep 'BOOST_VERSION [0-9]+' ${BOOSTDIR}/include/boost/version.hpp | sed 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'`
+    if [ "$ver" = "103200" ]; then
+       return 0
+    fi
+fi
+return 1;
+}
+
+print_env()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM 
+export BOOSTDIR=\${INSTALL_ROOT}/${PRODUCT}
+export LD_LIBRARY_PATH=\${BOOSTDIR}/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(){
+boostdir="`find_in_path version.hpp /usr/include/boost:/usr/share/include/boost`"
+if [ -n "${boostdir}" ] ; then
+    boostdir=`cd ${boostdir}/../..; pwd`
+    ls ${boostdir}/lib/libboost_thread* &> /dev/null
+    if [ "$?" -ne "0" ] ; then 
+       return 1
+    fi
+    ver=`egrep 'BOOST_VERSION [0-9]+' ${boostdir}/include/boost/version.hpp | sed 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'`
+    if [ $ver -ge 103200 ] ;  then 
+       cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM 
+export BOOSTDIR=${boostdir}
+export LD_LIBRARY_PATH=\${BOOSTDIR}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+       make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
+       if [ $ver -eq 103200 ] ;  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}
+
+# unpack
+check_jb tar xzf ${SOURCE_DIR}/boost-1.32.0.tar.gz -C ${INSTALL_WORK}
+
+# build
+GCC=`which gcc`
+cat >> ${PRODUCT_DIR}/BUILD.LOG <<EOF
+used gcc=$GCC
+EOF
+cd ${PRODUCT_WORK}/tools/build/jam_src
+check_job ${PRODUCT_DIR}/BUILD.LOG ./build.sh
+
+# apply patch to avoid conflicts with Qt signals
+# VSR 07/03/06 : this is no more needed
+#cd ${PRODUCT_WORK}/boost/signals/detail
+#sed -e "s%#  define BOOST_SIGNALS_NAMESPACE signals%#  define BOOST_SIGNALS_NAMESPACE bsignals%g" \
+#    signals_common.hpp > signals_common.hpp.orig
+#mv -f signals_common.hpp.orig signals_common.hpp
+
+# install
+cd ${PRODUCT_WORK}
+python_root=`find_in_path python $PATH`;
+python_root=`cd ${python_root}/..; pwd`
+python_version=`python -c "import sys; print sys.version[:3]"`
+
+echo "`pwd` -> ./tools/build/jam_src/bin.linuxx86/bjam >> ${PRODUCT_DIR}/INSTALL.LOG"
+./tools/build/jam_src/bin.linuxx86/bjam "-sBOOST_ALL_DYN_LINK=1"         \
+    "-sBUILD=release <runtime-link>dynamic <threading>multi"             \
+    --prefix=${PRODUCT_DIR} --builddir=${PRODUCT_WORK}                   \
+    "-sPYTHON_VERSION=$python_version" --with-python-root=${python_root} \
+    install >> ${PRODUCT_DIR}/INSTALL.LOG 2> $INSTALL_WORK/errlog
+
+if [ "$?" -ne "0" ] ; then
+    cat ${PRODUCT_DIR}/INSTALL.LOG
+    cat $INSTALL_WORK/errlog >&2
+    cat $INSTALL_WORK/errlog >> ${PRODUCT_DIR}/INSTALL.LOG
+fi
+
+# move includes
+cd ${PRODUCT_DIR}/include
+mv -f boost-1_32/boost boost
+rm -rf boost-1_32
+
+# create additional links for libraries
+cd ${PRODUCT_DIR}/lib
+for aLib in date_time filesystem prg_exec_monitor python regex signals test_exec_monitor thread unit_test_framework ; do
+    if [ -f libboost_${aLib}-gcc-mt-1_32.so ] ; then
+       ln -s libboost_${aLib}-gcc-mt-1_32.so libboost_${aLib}-mt.so
+    fi
+done
+
+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}/boost-1.32.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="boost" ; fi
+export PRODUCT="boost-1.32.0"
+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..48392f5
--- /dev/null
@@ -0,0 +1,159 @@
+#!/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 LD_LIBRARY_PATH=\${PYTHONHOME}/lib:\${LD_LIBRARY_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}`
+       tmp="\${PYTHONHOME}/lib ${pythonhome}/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 PYTHONHOME=${pythonhome}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_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++` --enable-shared
+# vsr: force linking to libstdc++.so
+sed -e 's%\(^LIBS=.*\)%\1 -lstdc++%g' Makefile > _Makefile
+mv -f _Makefile Makefile
+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
+(cd ${PRODUCT_DIR}/lib/python2.3/config; ln -fs ../../libpython2.3.so.1.0 libpython2.3.so)
+
+cd ${PRODUCT_DIR}/bin
+for sc in idle pydoc smtpd.py ; do
+    if [ -e $sc ] ; then
+       sed -e "s%#\!.*python%#\!/usr/bin/env python%" "$sc" > _"$sc"
+       mv -f _"$sc" "$sc"
+       chmod a+x "$sc"
+    fi
+done
+
+#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}
+
+(cd ${PRODUCT_DIR}/lib/python2.3/config; ln -fs ../../libpython2.3.so.1.0 libpython2.3.so)
+
+cd ${PRODUCT_DIR}/bin
+for sc in idle pydoc smtpd.py ; do
+    if [ -e $sc ] ; then
+       sed -e "s%#\!.*python%#\!/usr/bin/env python%" "$sc" > _"$sc"
+       mv -f _"$sc" "$sc"
+       chmod a+x "$sc"
+    fi
+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="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/Python-2.4.1.sh b/config_files/Python-2.4.1.sh
new file mode 100755 (executable)
index 0000000..cd183ec
--- /dev/null
@@ -0,0 +1,159 @@
+#!/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>
+  # for Python 2.4.1 it is equal to 20401
+  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 20401 ] ;  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 LD_LIBRARY_PATH=\${PYTHONHOME}/lib:\${LD_LIBRARY_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>
+    # for Python 2.4.1 it is equal to 20401
+    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 20401 ] ;  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}`
+       tmp="\${PYTHONHOME}/lib ${pythonhome}/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 PYTHONHOME=${pythonhome}
+export PATH=${path}
+export LD_LIBRARY_PATH=${ld_library_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 4 ] && [ $rel_ver -eq 1 ] ;  then 
+######################################################################################
+       if [ $maj_ver -eq 2 ] && [ $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()
+{
+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.4.1.tar.gz -C ${INSTALL_WORK}
+cd ${PRODUCT_WORK}
+
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG \
+    ./configure --prefix=${PRODUCT_DIR} --with-threads --with-cxx=`which g++` --enable-shared
+# vsr: force linking to libstdc++.so
+sed -e 's%\(^LIBS=.*\)%\1 -lstdc++%g' Makefile > _Makefile
+mv -f _Makefile Makefile
+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
+(cd ${PRODUCT_DIR}/lib/python2.4/config; ln -fs ../../libpython2.4.so.1.0 libpython2.4.so)
+
+cd ${PRODUCT_DIR}/bin
+for sc in idle pydoc smtpd.py ; do
+    if [ -e $sc ] ; then
+       sed -e "s%#\!.*python%#\!/usr/bin/env python%" "$sc" > _"$sc"
+       mv -f _"$sc" "$sc"
+       chmod a+x "$sc"
+    fi
+done
+
+#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.4.1.tar.gz -C ${INSTALL_ROOT}
+
+(cd ${PRODUCT_DIR}/lib/python2.4/config; ln -fs ../../libpython2.4.so.1.0 libpython2.4.so)
+
+cd ${PRODUCT_DIR}/bin
+for sc in idle pydoc smtpd.py ; do
+    if [ -e $sc ] ; then
+       sed -e "s%#\!.*python%#\!/usr/bin/env python%" "$sc" > _"$sc"
+       mv -f _"$sc" "$sc"
+       chmod a+x "$sc"
+    fi
+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="python" ; fi
+export PRODUCT="Python-2.4.1"
+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 
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..23fbcc8
--- /dev/null
@@ -0,0 +1,95 @@
+#!/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="`where_gcc 3.3.5`"
+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_root}/bin/gcc -dumpversion | awk -F. '{if(NF>0) print $1; else print 0}'`
+    min_ver=`${gcc_root}/bin/gcc -dumpversion | awk -F. '{if(NF>1) print $2; else print 0}'`
+    rel_ver=`${gcc_root}/bin/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-4.0.1.sh b/config_files/gcc-4.0.1.sh
new file mode 100755 (executable)
index 0000000..474690b
--- /dev/null
@@ -0,0 +1,95 @@
+#!/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 4.0.1 - 40001
+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 40001 ]  ; 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="`where_gcc 4.0.1`"
+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 4.0.1 - 40001
+    maj_ver=`${gcc_root}/bin/gcc -dumpversion | awk -F. '{if(NF>0) print $1; else print 0}'`
+    min_ver=`${gcc_root}/bin/gcc -dumpversion | awk -F. '{if(NF>1) print $2; else print 0}'`
+    rel_ver=`${gcc_root}/bin/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 40001 ]  ; 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 4 ] && [ $min_ver -eq 0 ] && [ $rel_ver -eq 1 ] ;  then 
+######################################################################################
+       if [ $maj_ver -eq 4 ] && [ $min_ver -eq 0 ] && [ $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 4.0.1 from sources is not provided! Use native gcc."
+return 1
+}
+
+install_binary()
+{
+echo "The installation of gcc 4.0.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 
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