Salome HOME
Create symbolic links in the ${KERNEL_ROOT_DIR}/lib/salome (for Red Hat 9 only):
[tools/install.git] / doc / readme.html
index 4989d7773267b88569b836c128cb43ff7d4c239a..ae2c85aa4721f16aa54f486ae8a517467fe56697 100755 (executable)
@@ -10,7 +10,7 @@
        
   <meta name="Author"
  content="Vadim SANDLER (v-sandler@opencascade.com)">
-  <title>PAL/SALOME v2.0.0 Installation Wizard Help</title>
+  <title>SALOME v2.2.0 Installation Wizard Help</title>
 </head>
   <body style="color: rgb(0,0,0); background-color: rgb(255,255,229);"
  link="#0000ee" vlink="#551a8b" alink="#ff0000">
         </td>
         <td>              
       <center>              
-      <h1><font size="+4"><font color="#000099">PAL/SALOME Installation Wizard
+      <h1><font size="+4"><font color="#000099">SALOME Installation Wizard
  Help</font>&nbsp;</font></h1>
         </center>
         </td>
         <td>              
       <div align="right"><a href="http://www.opencascade.org/SALOME/"><img
- src="application.png" border="0" height="45" width="104">
+ src="application.png" border="0" height="47" width="109">
        </a></div>
         </td>
       </tr>
@@ -41,7 +41,7 @@
 </table>
   </center>
    
-<div align="right"><b><font color="#000099">updated for the version 2.0.0</font></b></div>
+<div align="right"><b><font color="#000099">updated for the version 2.2.0</font></b></div>
    
 <hr>  
 <ul>
@@ -129,9 +129,9 @@ In the basic mode it is necessary just to enter target directory. If you want
 to use advanced mode, click <i>"More..."</i> button. </p>
    
 <p>In the advanced mode you have the possibility to select products to be 
-installed (see <a href="#ProductPage">Fig.1</a> ). Each product has several 
+installed (see <a href="#ProductPage">Fig.1</a> ). Each product can have several 
 options of installation: you have a possibility to use native products, install 
-already precompiled binaries, build product from the sources or not installed 
+already precompiled binaries, build product from the sources or not install it 
 at all. Possible options and default choice are provided by the configuration 
 file. You can mark the products, you want to install, by clicking the corresponding 
 radiobuttons in the list view in the left part of the page. Note that some 
@@ -154,7 +154,7 @@ disk space, temporary files disk space, list of prerequisites and user choice.
 </p>
    
 <center><a name="ProductPage"></a><br>
-  <img src="productpage.png" height="525" width="565" alt="">
+  <img src="productpage.png" height="558" width="599" alt="">
    
 <p><b>Figure 1:</b> "Installation settings" page in the advanced mode</p>
   </center>
@@ -193,7 +193,7 @@ wizard will follow to the next page: </p>
    
 <center>  
 <p><a name="ChoicePage"></a><br>
-  <img src="choicepage.png" height="525" width="565" alt="">
+  <img src="choicepage.png" height="558" width="599" alt="">
  </p>
    
 <p><b>Figure 2:</b> "Check your choice" page</p>
@@ -205,7 +205,7 @@ wizard will follow to the next page: </p>
 follow to the <a href="#ProgressPage">next page</a>. </p>
    
 <center><a name="ProgressPage"></a><br>
-  <img src="progresspage.png" height="525" width="565" alt="">
+  <img src="progresspage.png" height="558" width="599" alt="">
    
 <p><b>Figure 3:</b> "Installation progress" page</p>
   </center>
@@ -238,7 +238,7 @@ or click <i>"Next"</i> button to go the Readme page: </p>
    
 <center>  
 <p><a name="readmepage"></a><br>
-  <img src="readmepage.png" height="525" width="565" alt="">
+  <img src="readmepage.png" height="558" width="599" alt="">
  </p>
    
 <p><b>Figure 4:</b> "Finish installation" page</p>
@@ -258,8 +258,8 @@ To learn how installation scripts collects the environment, see&nbsp;<a
  href="#pick_up_env"> here</a>. These files are: <b>salome.csh</b> + <b>salome.sh</b> 
 in the <span style="font-style: italic;"><span
  style="font-weight: bold;">KERNEL module</span></span><b><i> sources</i></b>
-and <span style="font-style: italic;"><span style="font-weight: bold;">KERNEL</span></span><b><i>
-module binaries</i></b> root directories and <b>env_products.csh</b> + <b>env_products.sh
+and <span style="font-style: italic;"><span style="font-weight: bold;">KERNEL module</span></span><b><i>
+ binaries</i></b> root directories and <b>env_products.csh</b> + <b>env_products.sh
  </b>in the target directory. </p>
    
 <hr>  
@@ -267,7 +267,7 @@ module binaries</i></b> root directories and <b>env_products.csh</b> + <b>env_pr
 products version</font> procedure</h3>
   Unfortunately under Linux platform there is no exact algorithm to identify
  the product's version. The table below contains the information relating
-to checking preinstalled products for the Linux.RedHat 8.0 platform <br>
+to checking preinstalled products for the Linux RedHat 8.0 platform <br>
   &nbsp;  
 <table border="1" width="100%" nosave="">
     <tbody>
@@ -289,11 +289,11 @@ to checking preinstalled products for the Linux.RedHat 8.0 platform <br>
       </tr>
       <tr>
         <td>gcc 3.2</td>
-        <td>ver=`/usr/bin/gcc --version | grep 'gcc (GCC) .*' | cut -b 11-13`</td>
+        <td>ver=`gcc -dumpversion`</td>
         <td>              
       <center>-</center>
         </td>
-        <td>ver should be equal 3.2 <br>
+        <td>ver should be 3.2.<br>
   It is recommended to use native gcc on Linux RedHat 8.0</td>
       </tr>
       <tr nosave="">
@@ -323,13 +323,22 @@ BOOST from binaries.<br>
        </td>
      </tr>
      <tr>
-        <td>Cascade 5.1.2<br>
+        <td>Open CASCADE 5.2<br>
         </td>
         <td>existence of CASROOT environment variable</td>
-        <td>set CASROOT if you have preinstalled version of CASCADE</td>
-        <td>Unfortunately we can't say anything exactly about CASCADE 5.1.
+        <td>set CASROOT if you have preinstalled version of Open CASCADE</td>
+        <td>Unfortunately we can't say anything exactly about CASCADE 5.2 
 and we only check CASROOT environment variable. If you have problem with
-preinstalled  version of CASCADE reinstall it</td>
+preinstalled version of Open CASCADE, reinstall it</td>
+      </tr>
+     <tr>
+        <td>Patch for Open CASCADE 5.2<br>
+        </td>
+        <td></td>
+        <td></td>
+        <td>Open CASCADE 5.2 provided with the Installation Wizard already includes the patch,
+necessary for SALOME 2.2.0. In addition the Installation Wizard provides the sources of a Open CASCADE patch
+which can be applied to original Open CASCADE 5.2. sources before compilation.</td>
       </tr>
       <tr>
         <td>Python 2.2.1</td>
@@ -388,12 +397,12 @@ to use OpenGL drivers installed on your computer locally. This check procedure
   HDF5 Version: 1.4.4</td>
       </tr>
       <tr>
-        <td>Med 2.1.6</td>
+        <td>Med 2.2.2</td>
         <td>existence of MED2HOME <br>
-  existence of libmed.so.0.0.0</td>
+  existence of libmed.so.1.0.1</td>
         <td>set MED2HOME if you have preinstalled version of med</td>
         <td>Unfortunately we can't check version number. <br>
-  We try to find libmed.so.0.0.0 in ${MED2HOME}/lib folder. <br>
+  We try to find libmed.so.1.0.1 in ${MED2HOME}/lib folder. <br>
   If you have problem with preinstalled version of med reinstall it.</td>
       </tr>
       <tr>
@@ -516,8 +525,8 @@ otherwise searching is done using $LD_LIBRARY_PATH . <br>
   ver=`cat $MODULE_ROOT_DIR/bin/salome/VERSION | awk -F: '{print $2}' | tr 
 -d '[:space:]'`</td>
         <td>set MODULE_ROOT_DIR if you have preinstalled binaries of MODULE
- version 1.4.x</td>
-        <td>MODULE binaries should exist and ver should be equal to 1.4.x</td>
+ version 2.2.0</td>
+        <td>MODULE binaries should exist and ver should be equal to 2.2.0</td>
       </tr>
       <tr>
         <td>MODULE sources<br>
@@ -527,14 +536,14 @@ otherwise searching is done using $LD_LIBRARY_PATH . <br>
   existence of VERSION file <br>
   ver=`cat $MODULE_SRC/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'`</td>
         <td>set MODULE_SRC_DIR if you have preinstalled sources of MODULE
-version  1.4.x</td>
-        <td>MODULE sources should exist and ver should be equal to 1.4.x</td>
+version  2.2.0</td>
+        <td>MODULE sources should exist and ver should be equal to 2.2.0</td>
       </tr>
        
   </tbody>  
 </table>
    
-<p>Note: For native products installation procedure sets proper environment
+<p><b>Note:</b> For native products installation procedure sets proper environment
  variables itself, and you do not need to set such variables like, e.g. <b>TCLHOME</b>
  or <b>PYTHONHOME</b>. <br>
   If you have native products installed to different from default directories
@@ -542,6 +551,18 @@ version  1.4.x</td>
 description. Or you should set properly $PATH and $LD_LIBRARY_PATH variables 
 <b><font color="#ff0000">before</font></b> starting Installation Wizard. Otherwise
 installation script will fail to find preinstalled products. </p>
+<p><b>Note:</b> For some native products (e.g. gcc, Python) the rules of version
+checking are not so strict as described in the table. Only major and minor numbers of version
+should coincide with prerequisite. Release number can be larger. It is done for making a possibility
+to use native products for newer versions of Red Hat (for example, Linux Red Hat 9 includes native
+gcc 3.2.2 installation).
+If native product has version number larger than that required by installation procedure,
+you will be prompted by the warning message like this: "You have newer version of gcc installed
+on your computer than that is required (3.2). Continue?". You can press "Yes" button
+to procede with the installation but in this case you should be aware of what you are doing.
+SALOME binaries (inluding other products) are compiled with the prerequisites from the list
+and most likely can not be run successfully if this products are not found.
+This can be only helpful if you intend to build all products from sources.</p>
    
 <h3>  
 <hr></h3>
@@ -598,7 +619,7 @@ are in brackets.</font>
   <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  [license=&lt;install_wizard_license_info&gt;]</font> <br>
   <font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- [os=&lt;target_paltform&gt;]</font><b><font color="#000099">/&gt;</font></b><font
+ [os=&lt;target_platform&gt;]</font><b><font color="#000099">/&gt;</font></b><font
  color="#000000">]</font> <br>
   <font color="#000000"><b>&nbsp;&nbsp;&nbsp; </b>[</font><b><font
  color="#000099">&lt;path</font></b><font color="#000000"> [targetdir=&lt;target_directory&gt;]</font>
@@ -798,7 +819,7 @@ of prerequisite products, separated by space;</font> <br>
  </p>
    
 <p><font color="#000000">Example:</font> <br>
-  <i><font color="#000000">med-2.1.6.sh install_binary /tmp/work ./Products/BINARIES/RedHat8.0
+  <i><font color="#000000">med-2.2.2.sh install_binary /tmp/work ./Products/BINARIES/RedHat8.0
  /usr/salome 'gcc Hdf' med</font></i> </p>
    
 <p><font color="#000000">Copy created script into the <i>&lt;Install_Wizard_root_directory&gt;/config_files</i>