Salome HOME
Update help documentation
authorvsr <vsr@opencascade.com>
Fri, 26 May 2006 12:49:19 +0000 (12:49 +0000)
committervsr <vsr@opencascade.com>
Fri, 26 May 2006 12:49:19 +0000 (12:49 +0000)
doc/batchmode.png [new file with mode: 0644]
doc/choicepage.png
doc/intropage.png
doc/productpage.png
doc/productpage1.png [new file with mode: 0644]
doc/progresspage.png
doc/progresspage1.png [new file with mode: 0644]
doc/readme.html
doc/readmepage.png

diff --git a/doc/batchmode.png b/doc/batchmode.png
new file mode 100644 (file)
index 0000000..56680e4
Binary files /dev/null and b/doc/batchmode.png differ
index cc4a400aa8e1eb6e7f729f0ada514b00b1db55ca..777a7f3bb009f3602f1b9f3a233bd9f8dfb3ff9d 100755 (executable)
Binary files a/doc/choicepage.png and b/doc/choicepage.png differ
index 8b6e9eca83d7ae7fd5b3a81cd589ac954d9924ce..d5677f9dff9d1d3b278bc5a6f5206956ce549d68 100755 (executable)
Binary files a/doc/intropage.png and b/doc/intropage.png differ
index 53cad52902e8f26f27c160ddc748c2b71b465157..4fe0f50374280efb8bd523c1dd51c95131bca48e 100755 (executable)
Binary files a/doc/productpage.png and b/doc/productpage.png differ
diff --git a/doc/productpage1.png b/doc/productpage1.png
new file mode 100644 (file)
index 0000000..025a391
Binary files /dev/null and b/doc/productpage1.png differ
index 22f2548c7121bcf952938e8ad6fb1780dea223aa..2e5c3de9d2a44c61a61ae4d10f614fe6a867a251 100755 (executable)
Binary files a/doc/progresspage.png and b/doc/progresspage.png differ
diff --git a/doc/progresspage1.png b/doc/progresspage1.png
new file mode 100644 (file)
index 0000000..c62b071
Binary files /dev/null and b/doc/progresspage1.png differ
index 18285ffd85ed8ab452fec645e3cd590ed860142a..4b9fa92e0a264fde5a7b1ca6154c1b86c74fe7c8 100755 (executable)
@@ -7,7 +7,7 @@
  content="Mozilla/4.8 [en] (X11; U; Linux 2.4.18-14 i686) [Netscape]">
   <meta name="Author"
  content="Vadim SANDLER (v-sandler@opencascade.com)">
-  <title>SALOME Installation Wizard Help</title>
+  <title>SALOME Installation Wizard Help</title>
   <meta content="Vadim SANDLER" name="author">
 </head>
 <body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 229);"
@@ -23,8 +23,8 @@
       </td>
       <td>
       <center>
-      <h1><font size="+4"><font color="#000099">SALOME Installation
-Wizard Help</font>&nbsp;</font></h1>
+      <h3><font size="+4"><font color="#000099">SALOME Installation
+Wizard Help</font></font></h3>
       </center>
       </td>
       <td>
@@ -41,13 +41,13 @@ Wizard Help</font>&nbsp;</font></h1>
 <ul>
   <li> <a href="#install_from_wizard">Installing products with the
 Installation Wizard<br>
-    </a>
-    <ul>
-      <li><a href="#gui_mode">GUI mode</a></li>
-      <li><a href="#batch_mode">Batch mode</a><br>
-      </li>
-    </ul>
-  </li>
+    </a></li>
+  <ul>
+    <li><a href="#gui_mode">GUI mode</a></li>
+    <li><a href="#batch_mode">Batch mode</a></li>
+    <li><a href="#env_files">Environment files</a><br>
+    </li>
+  </ul>
   <li> <a href="#check_version_proc">Notes on check products version
 procedure</a></li>
   <li> <a href="#pick_up_env">Pick up the environment</a></li>
@@ -59,21 +59,22 @@ the new products</a></li>
 <hr></h3>
 <h3> <a name="install_from_wizard"></a>Installing products with the <font
  color="#ff0000">Installation Wizard</font></h3>
-The Installation Wizard can be launched in two modes: GUI and batch. <br>
+The Installation Wizard can be launched in two modes: <span
+ style="font-weight: bold;">GUI </span>and <span
+ style="font-weight: bold;">batch</span>. <br>
 The root directory of the Installation Wizard
 contains Python script <span style="font-weight: bold;">runInstall</span>.
 To run the Installation Wizard just type <b>runInstall</b> in the
 terminal
-window:<br>
+window:<span style="font-weight: bold;"></span><span
+ style="font-weight: bold;"></span>
 <p>[ python ] <b>runInstall </b>[options]<b><br>
 </b></p>
 <p>Without opstions this script will launch the SALOME Installation
 Wizard in the default mode (GUI).<br>
 The default mode can be overriden by using command line options. Each
-option has two notations: short and long:<br>
+option has short and long notations:<br>
 </p>
-<p><b>[ -g | -b ] [ -f &lt;xml-file&gt; ] [ -t
-&lt;target-dir&gt; ] [ -tmp &lt;tmp-dir&gt; ]</b> </p>
 <p><b>-g / --gui</b><br>
 </p>
 <div style="margin-left: 40px;">Runs the Installation Wizard in the
@@ -116,7 +117,8 @@ to
 be installed to. If used, this option overrides the default target
 directory, given in
 the
-configuration XML file (usually<span style="font-weight: bold;"> ${HOME}/salome_&lt;version&gt;</span>,
+configuration XML file (usually<span style="font-weight: bold;">
+${HOME}/salome_&lt;version&gt;</span>,
 see
 <a href="#xml_files">here</a> for more detail). <br>
 </div>
@@ -138,8 +140,9 @@ options. <br>
 <p>
 <b>-v / --version</b><br>
 </p>
-<div style="margin-left: 40px;">Prints version information (this is the
-Installation Wizard's version number, not SALOME platform). <br>
+<div style="margin-left: 40px;">Prints version information (<span
+ style="font-weight: bold;">Note: </span>this is the
+Installation Wizard's version number, not of SALOME platform). <br>
 </div>
 <p>
 </p>
@@ -163,7 +166,8 @@ and <a href="#new_products">Implementing installation scripts for the
 new products</a> sections for more information. </p>
 <h3 style="margin-left: 40px;"> <a name="gui_mode"></a>GUI mode<br>
 </h3>
-<p>The <font color="#ff0000">Installation Wizard</font> was developed
+<p>The <font color="#ff0000">Installation Wizard</font>'s GUI wizard
+was developed
 with
 using of the <span style="color: rgb(0, 0, 153);">Trolltech's </span><span
  style="font-weight: bold;"><span style="color: rgb(0, 0, 153);">Qt
@@ -188,30 +192,43 @@ button:
 <p><b>Figure 1:</b> "Introduction" page</p>
 </center>
 <p>In the second page you are proposed to enter the target directory
-where all selected products should be installed to. You can also press <i>"Browse..."</i>
-button and choose the folder for installation using standard <b><i></i></b>browse
+where the SALOME platform should be installed to. You can also press <i>"Browse..."</i>
+button and choose the destination folder using standard browse
 directory dialog box. <br>
 If the directory you want to install products does not exist you will
 be prompted to confirm directory creation. If you type wrong directory
 path, or if you have no permission for the directory you use, the
-corresponding message box will raise. </p>
-<p>The Installation Wizard in GUI mode provides two different options
+corresponding message box will be shown.<br>
+</p>
+<p>In GUI mode the Installation Wizard provides two different options
 to install the SALOME platform: <span style="font-weight: bold;">basic</span>
-(default) and
-<span style="font-weight: bold;">advanced.</span> If the <span
- style="font-weight: bold;">basic</span> option is used (default) the
-user just need to enter the target installation
-directory. To switch to the <span style="font-weight: bold;">advanced</span>
-option, click <i>"More..."</i> button (see <a
- href="readme.html#ProductPage">Fig.2</a> ). </p>
+(which is default) and
+<span style="font-weight: bold;">advanced.</span> In the <span
+ style="font-weight: bold;">basic</span> mode the
+user should enter only the target installation
+directory. All other installation options are taken from the XML
+configuration file (see <a href="#Product_page1">Fig.2</a>):<br>
+</p>
+<div style="text-align: center;"><a name="Product_page1"></a><br>
+<img alt="Intro page" src="productpage1.png"
+ style="width: 586px; height: 347px;"></div>
+<p></p>
+<p style="text-align: center;"><b>Figure 2:</b> "Installation settings"
+page in the 'basic' mode<br>
+</p>
+<p>To switch to the <span style="font-weight: bold;">advanced</span>
+option, click <i>"More..."</i> button (see <a href="#ProductPage2">Fig.3</a>
+).</p>
 <p>In the advanced mode you have the possibility to select products to
 be installed. Each product can
 have several options of installation: you have a possibility to use
-native products, install already precompiled binaries, build product
+native product (provided with Linux distribution and installed in the
+system folders), install 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
+option are taken from the XML 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
+radiobuttons in the list view in the left part of the page. <br>
+Note, that
 some products can be installed only together with other products (or
 these prerequisite products should be already installed on your
 computer). The installation procedure
@@ -221,61 +238,63 @@ For example, in order to install <b><i>PyQt</i></b> it's necessary to
 have
 <b><i>gcc, Python</i></b>,<b><i> Qt</i></b> and <b><i>Sip</i></b>
 installed.
-Therefore all these products will be marked when you check on <b><i>PyQt</i></b>.
+Therefore all these products will be also turned on when you check on <b><i>PyQt</i></b>.
 This feature can be switched off by clicking <i>"Auto set
 prerequisites products"</i> checkbox. Turn on this checkbox if you
 want all pre-requisite products to be automatically checked when you
 select some product to be installed. Turn off this checkbox if you
 want to disable this feature.<br>
+</p>
+<center><a name="ProductPage2"></a><br>
+<b>t</b><img src="productpage.png" alt="Products page"
+ style="width: 586px; height: 544px;">
+<p><b>Figure 3:</b> "Installation settings" page in the 'advanced' mode</p>
+</center>
+<p>If you want to use native products (like <span
+ style="font-weight: bold;">gcc</span>, <span
+ style="font-weight: bold;">tcl</span>, etc.), select <i>"use native" </i>option.
 <br>
 Special button in the right part of the page - <i>"Unselect All" </i>-
 allows to reset quickly all products to the <i>"not install"</i>
 state. <br>
-<br>
-If you want to use native products (like <span
- style="font-weight: bold;">gcc</span>, <span
- style="font-weight: bold;">tcl</span>, etc.), select <i>"use native" </i>option.
 </p>
 <p>There are also two checkboxes on this page: <i>"SALOME sources"</i>
 and <i>"SALOME binaries"</i>.
 These three-state checkboxes allow quick selecting/unselecting SALOME
-itself packages
+modules sources/binaries packages
 for the installation.</p>
 <p>The box at the right side of the page displays the information about
-currently highlighted product: name, version, short description (if
-provided in XML file), required
+currently highlighted product: name, version and short description,
+required
 disk space, disk space required for temporary files, list of
-prerequisites and current user
+prerequisites (this information is
+provided in the XML file) and current user
 choice.
 </p>
-<center><a name="ProductPage"></a><br>
-<img src="productpage.png" alt="Products page"
- style="width: 586px; height: 544px;">
-<p><b>Figure 2:</b> "Installation settings" page in the advanced mode</p>
-</center>
-<p>The <i>"Total disk space required:"</i> field displays how much
+The <i>"Total disk space required:"</i> field displays how much
 disk space on the hard drive is required for installation of selected
 products. <br>
-<b>Note: </b>Please, take into account that displayed amount of
+<p><b>Note: </b>Please, take into account that displayed amount of
 required disk space is approximate and may differ when you install
 products on your hard drive. </p>
 <p>The installation procedure uses a special directory to store
 temporary files. The <i>"Space for temporary files:"</i> field shows
 the information about required disk space on the hard drive for
 extracting and compiling of the selected products. You can change the
-default directory - just type path
+temporary directory - just type path
 to the folder you want to use or click on the corresponding <i>"Browse..."</i>
 button. <br>
-<span style="font-weight: bold;">Note:</span> actually temporary files
-are stored not in the directory entered by user. The Installation
-Wizard creates in this directory an additional one folder named
+<span style="font-weight: bold;">Note:</span> actually, temporary files
+are stored not directly in the directory entered by user. The
+Installation
+Wizard creates in this directory an additional folder named
 something like INSTALLWORK<span style="font-weight: bold;">XXXXX</span>
 where XXXXX is unique number. This allows to launch several
 Installation Wizards simultaneously. This temporary directory is
 removed automaticaly when the installation finishes.<br>
 </p>
-<p>The installation procedure also checks available disk space on the
-selected directories according to the products selected. If there is no
+<p>The installation procedure also checks available disk space. If
+there is no
 enough disk space on your hard drive you will see the corresponding
 error message box. </p>
 <p><b>Note: </b>Unfortunately, the configure procedure has a very
@@ -290,48 +309,69 @@ spaces.</b> </p>
 program
 will make some tests to check installation settings: if there is enough
 disk
-space on the hard drive, if native products are preinstalled,
+space on the hard drive, check for native products installation,
 dependencies
 (prerequisites) for each product you have selected to be
 installed.
 If any test fails you will see the corresponding warning message box.
 Otherwise
-wizard will follow to the next page: </p>
+the wizard will proceed to the next page: </p>
 <center>
 <p><a name="ChoicePage"></a><br>
-<img src="choicepage.png" alt="Choice page"
+<b>t</b><img src="choicepage.png" alt="Choice page"
  style="width: 586px; height: 544px;"> </p>
-<p><b>Figure 3:</b> "Check your choice" page</p>
+<p><b>Figure 4:</b> "Check your choice" page</p>
 </center>
-<p>This page summarizes the installation settings you've made on the
-previous pages. You can check again your choice to change it if
-necessary. <br>
+<p>This page summarizes the installation options you've made on the
+previous pages. You can check again your choice and change it if
+necessary by getting back to previous page. <br>
 When you are sure that everything is OK, press <i>"Next"</i> button to
 follow to the <a href="#ProgressPage">next page</a>. </p>
 <center><a name="ProgressPage"></a><br>
-<img src="progresspage.png" alt="Progress page"
- style="width: 586px; height: 544px;">
-<p><b>Figure 4:</b> "Installation progress" page</p>
-</center>
-<p>To start installation of the selected products click <i>"Start"</i>
+<img alt="Progress page" src="progresspage1.png"
+ style="width: 586px; height: 366px;"><br>
+<p><b>Figure 5:</b> "Installation progress" page</p>
+<div style="text-align: left;">To start installation of the selected
+products click <i>"Start"</i>
 button. It launches the shell installation script and you will be able
 to see the output of the script in the topmost dialog's frame. If any
 errors
 occur during the installation the progress the corresponding messages
-will be printed to the log grame window in the bold red font.
+will be printed to the log window in the bold red font.<br>
+</div>
+<div style="text-align: left;">It is possible at any time to break the
+installation by pressing <span style="font-style: italic;">"Stop"</span>
+button. Then you can get back to the previous pages if you wish to
+change installation settings or restart installation by pressing again <span
+ style="font-style: italic;">"Start"</span> button.<br>
+</div>
+<p style="text-align: left;"><span style="font-weight: bold;">Note:</span>
+in the current
+implementation it is not possible to resume stopped installation
+process; it will be re-started from the very beginning. <br>
 </p>
+<div style="text-align: center;"><a name="ProgressPage1"></a><br>
+</div>
+<img alt="Progress page" src="progresspage.png"
+ style="width: 586px; height: 366px;"><br>
+<p><b>Figure 6:</b> "Installation progress" page: installation in
+progress<br>
+</p>
+</center>
 <p>The <i>"Installation Status"</i> frame window shows you the
-progress of installation. It contains a list of all selected products
-with brief descriptions. "<font color="#ff0000">Waiting</font>"
-description means that installation of this product have not started
-yet. Currently installing product is marked as "<font color="#ff9900">Processing</font>".
+progress of installation. "<font color="#ff0000">Waiting</font>" status
+means that installation of this product has not been started
+yet. The product currently being installed is marked as "<font
+ color="#ff9900">Processing</font>".
 All installed products have "<font color="#33ff33">Completed</font>"
-description. </p>
+status. </p>
 <p>You can abort installation and close the installation procedure
 using
-<i>"Cancel"</i> button. It sends the signal "SIGTERM" to the shell
+<i>"Cancel"</i> button. <br>
+<span style="font-weight: bold;">Note:</span> this button sends the
+signal "SIGTERM" to the shell
 script.
-The script has a signal handler and will try to clear all temporary
+The script tries to clear all temporary
 files.
 The process of removing temporary files can take some time, so the
 installation
@@ -343,20 +383,40 @@ installation
 or click <i>"Next"</i> button to go the Readme page: </p>
 <center>
 <p><a name="readmepage"></a><br>
-<img src="readmepage.png" alt="Readme page"
- style="width: 586px; height: 544px;"> </p>
-<p><b>Figure 5:</b> "Finish installation" page</p>
+<img alt="Read page" src="readmepage.png"
+ style="width: 586px; height: 486px;"><br>
+</p>
+<p><b>Figure 7:</b> "Finish installation" page</p>
 </center>
 <p>In this page you can read important information about the
 Instalation
-Wizard itself and some hints: how to run and test SALOME or how to
+Wizard itself and some tips: how to run and test SALOME or how to
 build
 SALOME from the sources. This is the contents of the README file which
 you
 can find in the root directory of the Installation Wizard. <br>
 You can also launch SALOME Desktop from this page by clicking <i>"Launch
-SALOME" </i>button. </p>
-<p><a name="env_files"></a>During the process of installation the
+SALOME" </i>button.<br>
+</p>
+<h3 style="margin-left: 40px;"> <a name="batch_mode"></a>Batch mode<br>
+</h3>
+To launch the Installation Wizard in the batch mode type use <span
+ style="font-weight: bold;">-b</span>
+(<span style="font-weight: bold;">--batch</span>) parameter.<br>
+In this mode the GUI wizard is not shown but all the installation
+status is displayed directly in the konsole. In the batch mode user do
+not have a possibility to change installation settings which are given
+in the configuration file, except target and temporary directories
+which can be overridden by the corresponding command line options (see <a
+ href="#install_from_wizard">here</a>).<br>
+<div style="text-align: center;"><a name="BatchMode"></a><br>
+<img alt="Batch mode" src="batchmode.png"
+ style="width: 687px; height: 453px;"><br>
+<b><br>
+Figure 8:</b> Batch mode<br>
+</div>
+<h3 style="margin-left: 40px;"><a name="env_files"></a>Environment files</h3>
+<p>During the process of installation the
 script creates some
 environment files to simplify procedure of launching SALOME. These
 shell scripts set
@@ -368,437 +428,288 @@ 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
 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.<br>
++ <b>env_products.sh </b>and <span style="font-weight: bold;">env_build.csh
+</span>+ <span style="font-weight: bold;">env_build.sh</span> in the
+target directory.<br>
 </p>
-<span style="font-weight: bold;">Note:</span> <b>salome.(c)sh</b> and <b>env_products.(c)sh
-files</b> are slightly different: env_products.* files are optimized to
+<span style="font-weight: bold;">Note:</span> there is some difference
+betwen these files: <span style="font-weight: bold;">env_build.*</span>
+files are optimized to
 be used for the building of SALOME modules from sources (see <span
  style="font-weight: bold;">README </span>file provided with the
-installation procedure on th CD). The salome.* files are optimized for
-the SALOME launching. This difference is defined by the environment
+installation procedure on th CD). The <span style="font-weight: bold;">env_products.*</span>
+(and<span style="font-weight: bold;"> salome.*</span>) files are
+optimized for
+the SALOME launching. The behavior is defined by the environment
 variable<span style="font-weight: bold;"> </span><b>ENV_FOR_LAUNCH</b>
-which is set to 0 in env_products.* files and to 1 in salome.* files.<br>
-<h3 style="margin-left: 40px;"> <a name="batch_mode"></a>Batch mode<br>
-</h3>
-In the batch mode ... bla-bla-bla ...<br>
+which is set to 0 in env_build.* files and to 1 in emv_products.*
+(salome.*) files.<br>
 <br>
 <hr>
 <h3><a name="check_version_proc"></a>Notes on<font color="#ff0000">
 check products version</font> procedure</h3>
 Unfortunately under Linux platform there is no exact algorithm to
-identify the product's version. The table below gives an idea how the
-version is checked for the preinstalled products for the Linux Mandrake
-10.1 platform. <br>
-&nbsp;
-<table nosave="" border="1" width="100%">
-  <tbody>
-    <tr nosave="">
-      <th nosave="">
-      <center><font size="+1">Product</font></center>
-      </th>
-      <th nosave="">
-      <center><font size="+1">Algorithm of checking</font></center>
-      </th>
-      <th nosave="">
-      <center><font size="+1">Preliminary steps before launching</font>
-      <br>
-      <font size="+1">of installation procedure</font></center>
-      </th>
-      <th nosave="">
-      <center><font size="+1">Notes</font></center>
-      </th>
-    </tr>
-    <tr>
-      <td>gcc 3.4.1</td>
-      <td><span style="font-weight: bold;">ver</span>=`gcc -dumpversion`</td>
-      <td>
-      <center>-</center>
-      </td>
-      <td><span style="font-weight: bold;">ver</span> should be 3.4.1.<br>
-It is recommended to use native gcc on Mandrake 10.1.<br>
-      </td>
-    </tr>
-    <tr nosave="">
-      <td>tcl 8.4.5</td>
-      <td nosave=""><span style="font-weight: bold;">1)</span> check if
-      <span style="font-weight: bold;">TCLHOME</span> variable is set<br>
-      <span style="font-weight: bold;">2)</span> existence of tclsh8.4<br>
-      <span style="font-weight: bold;">3)</span> existence of wish8.4 <br>
-      <span style="font-weight: bold;">4)</span> existence of
-libtcl8.4.so <br>
-      <span style="font-weight: bold;">5)</span> existence of
-libtk8.4.so<br>
-      </td>
-      <td>set <span style="font-weight: bold;">TCLHOME</span> if you
-have preinstalled version of tcl. <br>
-add a directory where libraries can be found to the <span
- style="font-weight: bold;">LD_LIBRARY_PATH</span><br>
-      </td>
-      <td>Unfortunately there is no more strict way to check the tcl
-version number.<br>
-It is recommended to use native tcl/tk on Mandrake 10.1.</td>
-    </tr>
-    <tr>
-      <td valign="top">boost 1.31.0<br>
-      </td>
-      <td valign="top"><span style="font-weight: bold;">1)</span> check
-if <span style="font-weight: bold;">BOOSTDIR</span> variable is set.<br>
-      <span style="font-weight: bold;">2)</span> <span
- style="font-weight: bold;">ver</span>=`egrep 'BOOST_VERSION [0-9]+'
-${BOOSTDIR}/boost/version.hpp | sed 's/.*BOOST_VERSION
-\([0-9]\+\)/\1/g'`<br>
-      </td>
-      <td valign="top">set <span style="font-weight: bold;">BOOSTDIR</span>
-if you have preinstalled version of
-boost<br>
-      </td>
-      <td valign="top">we use version.hpp file in the boost
-distribution to get the version information.<br>
-      <span style="font-weight: bold;">ver</span> should be equal to
-103100.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Open CASCADE 6.0<br>
-      </td>
-      <td><span style="font-weight: bold;">1)</span> check if <span
- style="font-weight: bold;">CASROOT</span> variable is set<br>
-      <span style="font-weight: bold;">2)</span> ver_major=`grep
-"!define OCC_VERSION_MAJOR"
-${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`<br>
-      <span style="font-weight: bold;">3)</span> ver_minor=`grep
-"!define OCC_VERSION_MINOR"
-${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`<br>
-      <span style="font-weight: bold;">4)</span> ver_maint=`grep
-"!define OCC_VERSION_MAINTENANCE"
-${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'`<br>
-      <span style="font-weight: bold;">5)</span> <span
- style="font-weight: bold;">ver</span>="$ver_major.$ver_minor.$ver_maint"<br>
-      </td>
-      <td>set <span style="font-weight: bold;">CASROOT</span> if you
-have preinstalled version of Open CASCADE</td>
-      <td>CASCADE's Standard_Version.hxx file provides version
-information.<br>
-      <span style="font-weight: bold;">ver</span> should be equal to
-6.0.0.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Python 2.3.4</td>
-      <td><span style="font-weight: bold;">1)</span> <span
- style="font-weight: bold;">PYTHONHOME</span> variable should be set<br>
-      <span style="font-weight: bold;">2)</span> isPython=`which
-python` <br>
-      <span style="font-weight: bold;">3)</span> <span
- style="font-weight: bold;">ver</span>=`python -V`</td>
-      <td>set <span style="font-weight: bold;">PYTHONHOME</span> to
-root Python distribution folder;<br>
-add the directory where python can be found to the <span
- style="font-weight: bold;">PATH</span> variable<br>
-      </td>
-      <td>Python should exist and <span style="font-weight: bold;">ver</span>
-should be equal to 2.3.4 <br>
-It is recommended to use native Python on Mandrake 10.1.</td>
-    </tr>
-    <tr>
-      <td>Swig 1.3.24</td>
-      <td><span style="font-weight: bold;">ver</span>=`swig -version
-2&gt;&amp;1 | grep -i version | awk '{ print $3 }' | sed -e
-'s/^\([0-9.]*\)\(.*\)/\1/'`</td>
-      <td>add the directory where swig binary can be found to the <span
- style="font-weight: bold;">PATH</span> variable</td>
-      <td>Swig should exist and <span style="font-weight: bold;">ver</span>
-should be equal to 1.3.24.</td>
-    </tr>
-    <tr>
-      <td>Qt 3.3.3</td>
-      <td><span style="font-weight: bold;">1) QTDIR</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2) ver</span>=`grep
-"QT_VERSION_STR" ${QTDIR}/include/qglobal.h | sed -e
-'s%^#define QT_VERSION_STR\([[:space:]]*\)%%g' -e 's%\"%%g'`</td>
-      <td>set <span style="font-weight: bold;">QTDIR</span> if you
-have preinstalled version of qt</td>
-      <td>Qt's qglobal.h file provides version information: <span
- style="font-weight: bold;">ver</span> should
-be equal to 3.0.5.<br>
-It is recommended to use native Qt on Mandrake 10.1.</td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">msg2qm (Qt 3.3.3 compatible)<br>
-      </td>
-      <td style="vertical-align: top;"><span style="font-weight: bold;">MSG2QM_ROOT</span>
-variable should be set.<br>
-      </td>
-      <td style="vertical-align: top;">set&nbsp; <span
- style="font-weight: bold;">MSG2QM_ROOT</span> if you have preinstalled
-version of msg2qm tool<br>
-      </td>
-      <td style="vertical-align: top;">msg2qm is Qt tool used to
+identify the product's version. The information in this section gives
+an idea how the
+version is checked for the native/preinstalled products (this
+information refers to the base platform <span
+ style="color: rgb(0, 0, 153);">Linux Mandrake
+10.1</span>; and the same algorithms are used for other platforms). <br>
+The general rule for all products is that the path to the binaries
+should be set via <span style="font-weight: bold;">PATH</span>
+environment variable, path to the libraries should be set via <span
+ style="font-weight: bold;">LD_LIBRARY_PATH</span> variable and the
+python modules should be available via <span style="font-weight: bold;">PYTHONPATH</span>
+variable.<br>
+<span style="font-weight: bold;">Note:</span> the information given in
+this section refers to the pre-requisite products for SALOME version
+3.2.0.<br>
+<ul>
+  <li>gcc 3.4.1<br>
+  </li>
+</ul>
+Version number is checked by <span style="font-weight: bold;">gcc
+-dumpversion</span> command. <span style="font-weight: bold;">gcc</span>
+executable should be in the <span style="font-weight: bold;">PATH</span>
+environment variable. Version should
+be equal to the "3.4.1". It is recommended to use native gcc on
+Mandrake 10.1.<br>
+<ul>
+  <li>tcl/tk 8.4.5</li>
+</ul>
+Version number for <span style="font-weight: bold;">tcl/tk</span> can
+be found in tclConfig.sh and tkConfig.sh files (<span
+ style="font-weight: bold;">TCL_VERSION</span> and <span
+ style="font-weight: bold;">TK_VERSION</span> variables
+correspondingly). Version number should be equal to "8.4" (release
+number is not checked). <br>
+Set <span style="font-weight: bold;">TCLHOME</span> environment
+variable to the root directory of tcl/tk installation.<br>
+It is recommended to use native tcl/tk on Mandrake 10.1. <span
+ style="font-weight: bold;"></span>
+<ul>
+  <li>boost 1.31.0</li>
+</ul>
+Version number is defined by <span style="font-weight: bold;">version.hpp</span>
+file which is part of the boost distribution. This file defines <span
+ style="font-weight: bold;">BOOST_VERSION</span> macro which should be
+equal to the "103100". In addition the existence of boost libraries is
+checked. <br>
+Set <span style="font-weight: bold;">BOOSTDIR</span>
+environment variable if you have preinstalled version of
+boost.<br>
+<ul>
+  <li>Python 2.3.4</li>
+</ul>
+Version number is checked by <span style="font-weight: bold;">python -V</span>
+command. <span style="font-weight: bold;">python</span> executable
+should be in the <span style="font-weight: bold;">PATH</span>
+environment variable. Version number should be equal to "2.3.4". It is
+recommended to use native Python on
+Mandrake 10.1.<br>
+Set <span style="font-weight: bold;">PYTHONHOME</span> environment
+variable if you have preinstalled version of Python.<br>
+<ul>
+  <li>Swig 1.3.24</li>
+</ul>
+Version number is checked by <span style="font-weight: bold;">swig
+-version</span> command. <span style="font-weight: bold;">swig</span>
+executable should be in the <span style="font-weight: bold;">PATH</span>
+environment variable. Version number should be equal to "1.3.24".<br>
+<ul>
+  <li>Qt 3.3.3</li>
+</ul>
+Version number is defined by <span style="font-weight: bold;">qglobal.h</span>
+file which is part of the Qt distribution. This file defines <span
+ style="font-weight: bold;">QT_VERSION_STR</span> macro which should be
+equal to "3.3.3". It is recommended to use native Qt on Mandrake 10.1.<br>
+Set <span style="font-weight: bold;">QTDIR</span> environment
+variable if you
+have preinstalled version of qt.<br>
+<ul>
+  <li>msg2qm</li>
+</ul>
+<span style="font-weight: bold;">msg2qm</span> is Qt tool which is used
+to
 convert text *.po files to *.qm resource files. Unfortunately this tool
-is not included to the Qt distribution and provided only in its sources
-package. We distribute this tool with the Installation Wizard.<br>
-In addition there is no way to check the version number of msg2qm tool.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Qwt 4.2.0/0.4.2</td>
-      <td><span style="font-weight: bold;">1)</span> <span
- style="font-weight: bold;">QWTHOME</span> variable should be set.<br>
-      <span style="font-weight: bold;">2)</span> check if
-libqwt.so.4.2.0 exists<br>
-      </td>
-      <td>set&nbsp; <span style="font-weight: bold;">QWTHOME</span> if
-you have preinstalled version of qwt</td>
-      <td>Unfortunately there is no strict way to check qwt version
-number.<br>
-We try to find libqwt.so.4.2.0 in the ${<span style="font-weight: bold;">QWTHOME</span>}/lib
-folder.&nbsp;</td>
-    </tr>
-    <tr>
-      <td>Hdf 5-1.6.3</td>
-      <td><span style="font-weight: bold;">1) HDF5HOME</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libhdf5.so.0.0.0 <br>
-      <span style="font-weight: bold;">3)</span> existence of
-libhdf5.settings<br>
-      <span style="font-weight: bold;">4)</span> <span
- style="font-weight: bold;">ver</span>=`grep "HDF5 Version:"
-${HDF5HOME}/lib/libhdf5.settings | awk
-'{print $3}'`</td>
-      <td>set <span style="font-weight: bold;">HDF5HOME</span> if you
-have preinstalled version of hdf</td>
-      <td>We try to find libhdf5.so.0.0.0 and libhdf5.settings in
-${<span style="font-weight: bold;">HDF5HOME</span>}/lib folder. <br>
-File libhdf5.settings contains the following version information: <br>
-HDF5 Version: 1.6.3</td>
-    </tr>
-    <tr>
-      <td>Med 2.2.2</td>
-      <td><span style="font-weight: bold;">1) MED2HOME</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libmed.so.1.0.1</td>
-      <td>set <span style="font-weight: bold;">MED2HOME</span> if you
-have preinstalled version of med</td>
-      <td>Unfortunately there is no strict way to check med version
-number.<br>
-We try to find libmed.so.1.0.1 in ${<span style="font-weight: bold;">MED2HOME</span>}/lib
-folder. <br>
-If you have problem with preinstalled version of med reinstall it.</td>
-    </tr>
-    <tr>
-      <td>Vtk 4.2.6</td>
-      <td><span style="font-weight: bold;">1) VTKHOME</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libvtkCommon.so</td>
-      <td>set <span style="font-weight: bold;">VTKHOME</span> if you
-have preinstalled version of vtk</td>
-      <td>Unfortunately there is no strict way to check VTK version
-number.<br>
-We try to find libvtkCommon.so in ${<span style="font-weight: bold;">VTKHOME</span>}/lib/vtk
-folder. <br>
-If you have problem with preinstalled version of vtk reinstall it.</td>
-    </tr>
-    <tr>
-      <td valign="top">Netgen 4.3<br>
-      </td>
-      <td valign="top"><span style="font-weight: bold;">NETGENROOT</span>
-variable should be set. </td>
-      <td valign="top">set <span style="font-weight: bold;">NETGENROOT</span>
-if you have preinstalled version
-of Netgen.<br>
-      </td>
-      <td valign="top">Unfortunarely we can't find anything about
-netgen version.<br>
-We just check if <span style="font-weight: bold;">NETGENROOT</span>
+is not included to the Linux distribution and provided only in Qt
+sources
+package. This is the reason why this tool is suppplied with the SALOME
+Installation Wizard.<br>
+There is no way to check the version number of msg2qm tool. Just set <span
+ style="font-weight: bold;">MSG2QM_ROOT</span> environment
+variable if you have preinstalled
+version of msg2qm tool
+<ul>
+  <li>Open CASCADE 6.1.0</li>
+</ul>
+Version number is defined by <span style="font-weight: bold;">Standard_Version.hxx</span>
+file which is part of the Open CASCADE distribution. This file defines <span
+ style="font-weight: bold;">OCC_VERSION_MAJOR,</span> <span
+ style="font-weight: bold;">OCC_VERSION_MINOR</span> and <span
+ style="font-weight: bold;">OCC_VERSION_MAINTENANCE</span> macros which
+should refer to version 6.1.0.<br>
+Set <span style="font-weight: bold;">CASROOT</span> environment
+variable if you have preinstalled version of Open CASCADE.<br>
+<ul>
+  <li>qwt 4.2.0/0.4.2</li>
+</ul>
+Version number is defined by <span style="font-weight: bold;">qwt_global.h</span>
+file which is part of the qwt distribution. This file defines <span
+ style="font-weight: bold;">QWT_VERSION_STR</span> macro which should
+be
+equal to "4.2.0".<br>
+Set <span style="font-weight: bold;">QWTHOME</span> environment
+variable if you
+have preinstalled version of qwt.<br>
+<ul>
+  <li>hdf 5-1.6.3</li>
+</ul>
+Version number is defined by <span style="font-weight: bold;">libhdf5.settings</span>
+file which is part of the <span style="font-weight: bold;">hdf5</span>
+distribution. Version should be equal to 1.6.3.<br>
+Set <span style="font-weight: bold;">HDF5HOME</span> environment
+variable if you
+have preinstalled version of hdf5.<br>
+<ul>
+  <li>med 2.2.3</li>
+</ul>
+Unfortunately there is no formal way to check med version
+number. We check existense of libmed.so.1.0.2 library on the computer.
+If you have problem with preinstalled version of med, please, reinstall
+it.<br>
+Set <span style="font-weight: bold;">MED2HOME</span> environment
+variable if you
+have preinstalled version of med.<br>
+<ul>
+  <li>Vtk 4.2.6</li>
+</ul>
+Unfortunately there is no formal way to check VTK version
+number. We just check existence of <span style="font-weight: bold;">libvtkCommon.so</span>
+library on the computer and hope that it is of version we need. If you
+have problem with preinstalled version of Vtk, please, reinstall it.<br>
+Set <span style="font-weight: bold;">VTKHOME</span> environment
+variable if you
+have preinstalled version of Vtk.<br>
+<ul>
+  <li>OmniORB 4.0.5, OmniORBpy 2.5, OmniNotify 2.1</li>
+</ul>
+We just check existence of some omniORB libraries and executable on the
+computer, like <span style="font-weight: bold;">libomniORB4.so.0.5</span>,
+<span style="font-weight: bold;">_omnipymodule.so.2.4</span>, <span
+ style="font-weight: bold;">libCOSNotify4.so.0.1</span> and <span
+ style="font-weight: bold;">notifd</span>.<br>
+Set <span style="font-weight: bold;">OMNIORBDIR</span> environment
+variable if
+you have preinstalled version of omniORB products.<br>
+<ul>
+  <li>sip 4.1</li>
+</ul>
+Version number is checked by <span style="font-weight: bold;">sip -V</span>
+command. <span style="font-weight: bold;">sip</span> executable should
+be in the <span style="font-weight: bold;">PATH</span>
+environment variable. Version number should be equal to "4.1".<br>
+Set <span style="font-weight: bold;">SIPDIR</span> environment
+variable to the
+directory where you have sip executable preinstalled.<br>
+<ul>
+  <li>PyQt 3.13</li>
+</ul>
+Version number is defined by <span style="font-weight: bold;">pyqtconfig.py</span>
+Python module file which is part of the <span
+ style="font-weight: bold;">PyQt</span> distribution. Version should be
+equal to "3.13".<br>
+Set <span style="font-weight: bold;">PYQTDIR</span>environment
+variable if you
+have preinstalled version of PyQt.
+<ul>
+  <li>netgen 4.5</li>
+</ul>
+Unfortunarely we can't find anything about
+netgen version. We just check if <span style="font-weight: bold;">NETGENROOT</span>
 environment varible is set.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>OmniORB 4.0.5, <br>
-OmniORBpy 2.5, <br>
-OmniNotify 2.1</td>
-      <td><span style="font-weight: bold;">1) OMNIORBDIR</span>
-variable should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of
-libomniORB4.so.0.5 <br>
-      <span style="font-weight: bold;">3)</span> existence of
-_omnipymodule.so.2.4 <br>
-      <span style="font-weight: bold;">4)</span> existence of
-libCOSNotify4.so.0.1 <br>
-      <span style="font-weight: bold;">5)</span> existence of notifd<br>
-      </td>
-      <td>set <span style="font-weight: bold;">OMNIORBDIR</span> if
-you have preinstalled version of omni</td>
-      <td>We try to find several omni libraries and binaries in the ${<span
- style="font-weight: bold;">OMNIORBDIR</span>}/lib and ${<span
- style="font-weight: bold;">OMNIORBDIR</span>}/bin directories.<br>
-      <br>
-      </td>
-    </tr>
-    <tr>
-      <td>Numeric 23.7</td>
-      <td><span style="font-weight: bold;">ver</span>=`python -c
-'import Numeric; print Numeric.__version__'
-2&gt;/dev/null`</td>
-      <td>add the directory where&nbsp;<span style="font-weight: bold;"></span>you
+Set <span style="font-weight: bold;">NETGENROOT</span>
+environment
+variable if you have preinstalled version
+of netgen mesher.<br>
+<ul>
+  <li>Numeric 23.7</li>
+</ul>
+Version number is checked by <span style="font-weight: bold;">python
+-c
+'import Numeric; print Numeric.__version__'</span> command. <span
+ style="font-weight: bold;">python</span> executable should be in the <span
+ style="font-weight: bold;">PATH</span>
+environment variable and <span style="font-weight: bold;">Numeric</span>
+module should be avaible for the Python (for example it should be in
+the <span style="font-weight: bold;">PYTHONPATH</span> environment
+variable). Version number should be equal to "23.7". If you have
+problem with preinstalled version of Numeric 23.7, please,
+reinstall it.<br>
+Add the directory where&nbsp;<span style="font-weight: bold;"></span>you
 have preinstalled version of Numeric
-package to your <span style="font-weight: bold;">PYTHONHOME </span>variable<span
- style="font-weight: bold;"><br>
-      </span></td>
-      <td>If you have problem with preinstalled version of Numeric 23.7
-reinstall it.</td>
-    </tr>
-    <tr>
-      <td>Sip 4.1<br>
-      </td>
-      <td><span style="font-weight: bold;">1) SIPDIR</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2) ver</span>=`${SIPDIR}/sip -V
-| awk '{print $1}'`</td>
-      <td>set <span style="font-weight: bold;">SIPDIR</span> to
-directory where you have sip preinstalled</td>
-      <td><span style="font-weight: bold;">ver</span> should be equal
-to 4.1. <br>
-      <br>
-      </td>
-    </tr>
-    <tr>
-      <td>PyQt 3.13</td>
-      <td><span style="font-weight: bold;">1) PYQTDIR</span> variable
-should be set.<br>
-      <span style="font-weight: bold;">2)</span> existence of qt.so
-library<br>
-      </td>
-      <td>set <span style="font-weight: bold;">PYQTDIR</span> to
-directory where you have PyQt preinstalled</td>
-      <td>Unfortunately we can't check exact PyQt version number. <br>
-We just try to find qt.so in ${<span style="font-weight: bold;">PYQTDIR</span>}.
-      <br>
-      </td>
-    </tr>
-    <tr>
-      <td>HappyDoc 2.1</td>
-      <td><span style="font-weight: bold;">1)</span> existence of
-happydoc <br>
-      <span style="font-weight: bold;">2)</span> <span
- style="font-weight: bold;">ver</span>=`happydoc | grep "HappyDoc
-version 2.1"`</td>
-      <td>add the directory where you have HappyDoc
-installed to your <span style="font-weight: bold;">PATH</span>
+package to the <span style="font-weight: bold;">PYTHONHOME </span>environment
 variable.<br>
-      </td>
-      <td>We try to find happydoc in ${<span style="font-weight: bold;">PATH</span>}.
-      <br>
-      <span style="font-weight: bold;">ver</span> should not be empty. <br>
-      <br>
-      <span style="font-weight: bold;">Note:</span> this product is not
-obligatory for SALOME compilation.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Doxygen 1.3.7</td>
-      <td><span style="font-weight: bold;">1)</span> existence of
-doxygen <br>
-      <span style="font-weight: bold;">2)</span> existence of doxytag <br>
-      <span style="font-weight: bold;">3)</span> existence of doxywizard<br>
-      <span style="font-weight: bold;">4)</span> <span
- style="font-weight: bold;">ver</span>=`doxygen --version`</td>
-      <td>add the directory where you have doxygen binaries
-preinstalled to the&nbsp; <span style="font-weight: bold;">PATH</span>
-variable.</td>
-      <td>doxygen, doxytag, doxywizard binaries should
-exist; <span style="font-weight: bold;">ver</span> should be equal to
-1.3.7.<br>
-      <br>
-If you have problem with preinstalled version of doxygen
-reinstall it. <br>
-      <br>
-It is recommended to use native doxygen on Mandrake 10.1.<br>
-      </td>
-    </tr>
-    <tr>
-      <td>Graphviz 2.2.1<br>
-      </td>
-      <td><span style="font-weight: bold;">1)</span> existence of dot
-binary.<br>
-      <span style="font-weight: bold;">2)</span> <span
- style="font-weight: bold;">ver</span>=`dot -V 2&gt;&amp;1 | awk
-'{print $3}'`</td>
-      <td>add graphviz bin directory to the <span
- style="font-weight: bold;">PATH</span> environment variable</td>
-      <td>We try to find dot program in the ${<span
- style="font-weight: bold;">PATH</span>}.<br>
-      <span style="font-weight: bold;">ver</span> should be equal to
-2.2.1.<br>
-      </td>
-    </tr>
-    <tr>
-      <td><span style="font-weight: bold;">MODULE</span> binaries<br>
-(where <span style="font-weight: bold;">MODULE</span> = KERNEL, GUI,
-GEOM, ...)<br>
-      </td>
-      <td><span style="font-weight: bold;">1) MODULE_ROOT_DIR</span>
-variable should be set<br>
-      <span style="font-weight: bold;">2)</span> existence of VERSION
-file <br>
-      <span style="font-weight: bold;">3) ver</span>=`cat ${<span
- style="font-weight: bold;">MODULE_ROOT_DIR</span>}/bin/salome/VERSION
-| awk -F: '{print $NF}' |
-tr -d '[:space:]'`</td>
-      <td>set <span style="font-weight: bold;">MODULE_ROOT_DIR</span>
-if you have preinstalled binaries of <span style="font-weight: bold;">MODULE</span>.</td>
-      <td><span style="font-weight: bold;">MODULE</span> binaries
-should exist and <span style="font-weight: bold;">ver</span> should be
-equal to &lt;version&gt;, where &lt;version&gt; is version number
-being installed.<br>
-      </td>
-    </tr>
-    <tr>
-      <td><span style="font-weight: bold;">MODULE</span> sources<br>
-(where <span style="font-weight: bold;">MODULE</span> = KERNEL, GUI,
-GEOM, ...)<br>
-      </td>
-      <td><span style="font-weight: bold;">1)</span> existence of <span
- style="font-weight: bold;">MODULE_SRC_DIR</span> <br>
-      <span style="font-weight: bold;">2)</span> existence of VERSION
-file <br>
-      <span style="font-weight: bold;">3) ver</span>=`cat ${<span
- style="font-weight: bold;">MODULE_SRC_DIR</span>}/bin/VERSION | awk
--F: '{print $NF}' | tr -d
-'[:space:]'`</td>
-      <td>set <span style="font-weight: bold;">MODULE_SRC_DIR</span>
-if you have preinstalled sources of <span style="font-weight: bold;">MODULE</span>.<br>
-      </td>
-      <td><span style="font-weight: bold;">MODULE</span> sources should
-exist and ver should be equal to &lt;version&gt;, where &lt;version&gt;
-is version number
-being installed.</td>
-    </tr>
-  </tbody>
-</table>
-<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
+<ul>
+  <li>graphviz 2.2.1</li>
+</ul>
+Version number is checked by <span style="font-weight: bold;">dot -V</span>
+command. <span style="font-weight: bold;">dot</span> executable should
+be in the <span style="font-weight: bold;">PATH</span>
+environment variable. Version number should be equal to "2.2.1".<br>
+Add <span style="font-weight: bold;">graphviz</span> bin directory to
+the <span style="font-weight: bold;">PATH</span> environment variable.<br>
+<ul>
+  <li>doxygen 1.4.6</li>
+</ul>
+Version number is checked by <span style="font-weight: bold;">doxygen
+--version</span> command. <span style="font-weight: bold;">doxygen</span>executable
+should be in the <span style="font-weight: bold;">PATH</span>
+environment variable. Version number should be equal to "1.4.6".<br>
+<ul>
+  <li><span style="font-weight: bold; color: rgb(0, 0, 153);">SALOME </span>module
+    <span style="font-weight: bold;"></span><span
+ style="font-weight: bold; color: rgb(0, 0, 153);">sources</span>
+(3.2.0).</li>
+</ul>
+For each SALOME module sources package (KERNEL, GUI, GEOM, etc...) <span
+ style="font-weight: bold;">bin</span> directory contains file <span
+ style="font-weight: bold;">VERSION</span> which defines version
+information.<br>
+Set <span style="font-weight: bold;">&lt;MODULE&gt;_SRC_DIR</span>
+environment variable for each SALOME <span style="font-weight: bold;">MODULE</span>
+sources package installed (where <span style="font-weight: bold;">MODULE</span>
+is KERNEL, GUI, GEOM, ...).<br>
+<ul>
+  <li><span style="font-weight: bold; color: rgb(0, 0, 153);">SALOME </span>module
+    <span style="font-weight: bold;"></span><span
+ style="font-weight: bold; color: rgb(0, 0, 153);">binaries </span>(3.2.0)</li>
+</ul>
+For each SALOME module binaries package (KERNEL, GUI, GEOM, etc...) <span
+ style="font-weight: bold;">bin/salome</span> directory contains file <span
+ style="font-weight: bold;">VERSION</span> which defines version
+information.<br>
+Set <span style="font-weight: bold;">&lt;MODULE&gt;_ROOT_DIR</span>
+environment variable for each SALOME <span style="font-weight: bold;">MODULE</span>
+binaries package installed (where <span style="font-weight: bold;">MODULE</span>
+is KERNEL, GUI, GEOM, ...).<br>
+<p><b></b>If you have native products installed to different from
+default
 directories (not <b>/usr/bin</b>, <b>/usr/lib</b>...), it is
-recommended to follow above description. Or you should set properly <span
- style="font-weight: bold;">PATH</span> and <span
+recommended to follow above mentioned instructions. Or you should
+properly set <span style="font-weight: bold;">PATH</span> and <span
  style="font-weight: bold;">LD_LIBRARY_PATH</span> variables <b><font
  color="#ff0000">before</font></b>
-starting Installation Wizard. Otherwise
-installation script will fail to find preinstalled products. </p>
+starting the Installation Wizard. Otherwise
+the installation script will fail to find preinstalled/native 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 Linux.
-If some native product has version number larger than that required by
+should coincide with prerequisite. Newer version of the product can be
+used also. If some native product has version number larger than that
+required by
 the
 installation procedure, user will be prompted by the warning message
 like this: <i>"You have
@@ -811,35 +722,40 @@ SALOME binaries (including other products) are compiled with the
 predefined prerequisites
 and most likely can not be run successfully if these products are not
 found.
-This can be only helpful if you intend to build all products from
-sources.</p>
+This can be only helpful if you plan to build all products from
+sources. <br>
+</p>
 <h3>
 <hr></h3>
 <h3> <a name="pick_up_env"></a>Pick up the <font color="#ff0000">environment</font></h3>
 Please, read carefully the following information. This section
-describes how the installation procedure collects the environment.
-<p>After installing each product shell script creates special
-environment file for each product in its target folder . The name of
+describes how the installation procedure generates the environment
+scripts for the SALOME platform being installed.
+<p>After installing of each product shell the script creates special
+environment file for the product in its installation folder. The name
+of
 the file is generated
 from
-the name of product by the following scheme: <b>env_&lt;product_name&gt;.sh.</b>
-This file includes all necessary product settings. For example for Vtk
-the file is <b>env_Vtk.sh</b>. Environment files allows to pick up all
-environment settings which are necessary to build and launch SALOME.
-When installing SALOME
-sources and/or binaries, installation procedure picks up all the
-settings files and generate two scripts: <b>salome.sh</b> and <b>salome.csh
-</b>for sh and csh correspondingly. Such approach helps to save time
+the name of product by the following scheme: <b>env_&lt;product_name&gt;.sh</b>
+(for example <b>env_Vtk.sh </b>for the Vtk).
+This file includes all necessary environment settings. At the final
+step of the installation the script picks up all the
+settings files and generate from them two common environment files: <b>salome.sh</b>
+and <b>salome.csh
+</b>for <span style="font-weight: bold;">bash</span> and <span
+ style="font-weight: bold;">csh</span> shells correspondingly. Such
+approach helps to save time
 when reinstalling products and you may not to care about setting all
 environment variables
-manually to build/launch SALOME. What you need is just to use one of
+manually to build/launch SALOME. What you need is just to source one of
 these
-scripts. </p>
-<p>This concerns also those products which are not currently installed.
+environment files. </p>
+<p>This concerns also those products which are not being installed.
 For example, you install some SALOME binaries to the directory where
 you have previously installed other products.&nbsp; Installation
-procedure still tries to collect environment files from the target
-directory if it finds necessary products there. If some product is not
+procedure tries to collect environment files from the target
+directory if it finds necessary products installed there. If some
+product is not
 found in the target directory the corresponding
 section of <b>salome.sh/salome.csh</b> files will be skipped. <br>
 For native products (like <i><b>gcc, tcl, etc...</b><b>)</b></i>
@@ -848,23 +764,28 @@ installation procedure tries to find them first using <b>PATH</b>
 directories (<b>/usr/bin, /usr/lib</b> etc., depending on the product).
 </p>
 <p>In any case you may edit <b>salome.*</b> files after installation
-procedure finishes, as you want.<br>
-<span style="font-weight: bold;">Note:</span> as it was mentioned <a
- href="#env_files">above</a> there are two more environment files which
+procedure finishes, if you want.<br>
+<span style="font-weight: bold;"><br>
+Note:</span> as it was mentioned <a href="#env_files">above</a> there
+are another environment files which
 are generated by the installation procedure: <span
- style="font-weight: bold;">env_products.csh</span> and <span
- style="font-weight: bold;">env_products.sh</span>. These files can be
+ style="font-weight: bold;">env_products.csh</span> + <span
+ style="font-weight: bold;">env_products.sh</span> and <span
+ style="font-weight: bold;">env_build.csh</span> + <span
+ style="font-weight: bold;">env_build.sh</span>. These files can be
 found in the target installation root directory.<br>
 </p>
 <hr>
 <h3><a name="xml_files"></a>Modifying <font color="#ff0000">XML</font>
 configuration <font color="#ff0000">file</font></h3>
-<font color="#000000">You can create your own configuration file.
-Installation Wizard then can take it as command line argument to
+<font color="#000000">You can create your own XML configuration file.
+The Installation Wizard then can take it as command line argument to
 provide list of products you want to install with it. The list of
 products and some another settings for the Installation Wizard are
-provided in XML file. The default file which Installation Wizard looks
-for if no command line arguments are given, is <b>config.xml</b>. This
+provided in the XML file. The default file which Installation Wizard
+looks
+for if no command line arguments are given, is <b>config.xml</b>.<br>
+This
 section describes the structure of the configuration file.</font> <br>
 <font color="#000000">XNL tags are in bold blue, optional sections/tags
 are in brackets.</font>
@@ -945,94 +866,162 @@ dependancies=&lt;list_of_prerequisites&gt;</font>&nbsp;<font
 &lt;/document&gt;</font></b> </p>
 </font>
 <h4><font color="#000000">&lt;config&gt; section</font></h4>
-<font color="#000000">This is optional section - contains general
-information Installation Wizard itself.</font>
+<font color="#000000">This is optional section; it provides general
+information Installation Wizard itself.<br>
+<br>
+Attributes:<br>
+</font>
 <ul>
-  <li> <font color="#000000"><b>version</b>: Installation Wizard's
-version number;</font></li>
-  <li> <font color="#000000"><b>caption</b>: Installation Wizard's
-main
-window title - if this string contains '%1' text - the title will
+  <li> <font color="#000000"><b>version</b></font></li>
+</ul>
+<font color="#000000">The application version number to be shown in the
+caption.</font>
+<ul>
+  <li> <font color="#000000"><b>caption</b></font></li>
+</ul>
+<font color="#000000">The application main window caption - if this
+string contains '%1' text the title will
 contain
-in this place version number (see above);</font></li>
-  <li> <font color="#000000"><b>copyright</b>: Installation Wizard's
-copyright information (appears on the first page of program);</font></li>
-  <li> <font color="#000000"><b>license</b>: Installation Wizard's
-license information (appears on the first page of program);</font></li>
-  <li> <font color="#000000"><b>os</b>: Contains directory name
-(relative from ./Products/BINARIES) where Installation Wizard should
-search precompiled binaries packages. If this tag is skipped, binaries
-are implied to be in
-the ./Products/BINARIES directory.</font></li>
+in this place the version number (see above).</font>
+<ul>
+  <li> <font color="#000000"><b>copyright</b></font></li>
+</ul>
+<font color="#000000">The application
+copyright information (shown in the first page).</font>
+<ul>
+  <li> <font color="#000000"><b>license</b></font></li>
 </ul>
+<font color="#000000">The application license information (shown in the
+first page).</font>
+<ul>
+  <li> <font color="#000000"><b>os</b></font></li>
+</ul>
+<font color="#000000">This parameter defines the directory (relative
+from ./Products/BINARIES) where the Installation Wizard will
+search precompiled binaries packages. If this tag is not provided,
+binaries packages are looked for in
+the ./Products/BINARIES directory.</font>
 <h4> <b><font color="#000000">&lt;path&gt; section</font></b></h4>
-This is optional section - contains default directories.
+This is optional section; it defines default installation directories.<br>
+<font color="#000000"><br>
+Attributes:</font><br>
 <ul>
-  <li> <font color="#000000"><b>targetdir</b>: Starting target
-directory - path to the directory where products should be installed;</font></li>
-  <li> <font color="#000000"><b>tempdir</b>: Starting temp directory -
-path to the directory for the temporary files.</font></li>
+  <li> <font color="#000000"><b>targetdir</b></font></li>
 </ul>
+<font color="#000000">The target
+directory - the path to the directory where products should be
+installed.</font>
+<ul>
+  <li> <font color="#000000"><b>tempdir</b></font></li>
+</ul>
+<font color="#000000">The temporary directory -
+the path to the directory for the temporary files.</font>
 <h4> <b>&lt;product&gt; section</b></h4>
 This section describes product to be installed with the Installation
-Wizard. Products appear in the products tree
+Wizard. XML file should include &lt;product&gt; section for each
+product to be installed. The products appear in the tree view
 and are installed in the order they are described in the configuration
-file. It is recommended to insert native products at the top of the
-list before all other products.
+file. It is recommended (but not obligatory) to define native products
+at the top of the
+list before all other products.<br>
+<font color="#000000"><br>
+Attributes:</font><br>
+<ul>
+  <li> <font color="#000000"><b>name</b></font></li>
+</ul>
+<font color="#000000">The name of the product.</font>
+<ul>
+  <li> <font color="#000000"><b>version</b></font></li>
+</ul>
+<font color="#000000">The version of the product.</font>
+<ul>
+  <li> <font color="#000000"><b>description</b></font></li>
+</ul>
+The <font color="#000000">product </font><font color="#000000">description
+(optional).</font>
+<ul>
+  <li> <font color="#000000"><b>context</b></font></li>
+</ul>
+<font color="#000000">Context (optional). The possible values are <b>'salome
+sources'</b>, <b>'salome
+binaries'</b> and <b>'prerequisite'</b> (several context can be given
+separated by ":" symbol).</font>
+<ul>
+  <li> <font color="#000000"><b>supported</b></font></li>
+</ul>
+<font color="#000000">Supported modes of
+installation. Several modes can be separated by comma. Possible value
+are: <i>install sources</i>, <i>install binaries</i>, <i>use
+native</i>. Installation script should contain the corresponding
+functions
+for each of the supported installation modes (see <a
+ href="#new_products">here</a>).</font>
+<ul>
+  <li> <font color="#000000"><b>install</b></font></li>
+</ul>
+<font color="#000000">Default (starting)
+installation mode.</font>
 <ul>
-  <li> <font color="#000000"><b>name</b>: Name of the product;</font></li>
-  <li> <font color="#000000"><b>version</b>: Version of the product;</font></li>
-  <li> <font color="#000000"><b>description</b>: Description of the
-product (optional);</font></li>
-  <li> <font color="#000000"><b>context</b>: Context of the product
-(optional); the possible values are <b>'salome sources'</b>, <b>'salome
-binaries'</b> and <b>'prerequisite'</b>;</font></li>
-  <li> <font color="#000000"><b>supported</b>: Supported modes of
-installation, should contain one or more of the following options,
-separated by comma: <i>install sources</i>, <i>install binaries</i>, <i>use
-native</i>. Installation script should contain corresponding functions
-for each of supported installation modes;</font></li>
-  <li> <font color="#000000"><b>install</b>: Default (starting)
-installation mode;</font></li>
-  <li> <font color="#000000"><b>disable</b>: If this flag has 'true'
-value, corresponding product will not appear in the list of products
-tree and will not be installed;</font></li>
-  <li><b>pickupenv</b>: This flag points that pickup environment
+  <li> <font color="#000000"><b>disable</b></font></li>
+</ul>
+<font color="#000000">If this flag has 'true'
+value, the corresponding product will not appear in the list of
+products and will not be installed.</font>
+<ul>
+  <li><b>pickupenv</b></li>
+</ul>
+This flag points that pickup environment
 procedure
-should be performed for this module. If this flag equal to <b>true</b>,
+should be performed for this product. If this flag equal to 'true',
 &nbsp;salome.sh
 and salome.csh files will&nbsp; be created in the product's
 installation
 directory. Usually this option is set to true for SALOME KERNEL module
-sources and binaries pakcge. This is optional key, default value is <b>false.</b><br>
-  </li>
-  <li> <font color="#000000"><b>dependancies</b>: list of prerequisite
-products, which are necessary to build this product, separated by comma;</font></li>
-  <li> <font color="#000000"><b>installdiskspace</b>: Total amount
+sources and binaries package. This is optional key, default value is
+'false'<b>.</b><br>
+<ul>
+  <li> <font color="#000000"><b>dependancies</b></font></li>
+</ul>
+<font color="#000000">List of prerequisite
+products, which are necessary to build this product, separated by comma.</font>
+<ul>
+  <li> <font color="#000000"><b>installdiskspace</b></font></li>
+</ul>
+<font color="#000000">Total amount
 space (integer, in Kbytes), which product occupies on the hard drive
 after the
-installation;</font></li>
-  <li> <font color="#000000"><b>temporarydiskspace</b>: Disk space
+installation.</font>
+<ul>
+  <li> <font color="#000000"><b>temporarydiskspace</b></font></li>
+</ul>
+<font color="#000000">Disk space
 (integer, in Kbytes) for the temporary files, which is necessary to
-build the product from the sources;</font></li>
-  <li> <font color="#000000"><b>script</b>: Installation script name.
-This script is in charge of installation of the product. It is called
-when necessary from the main program. See <a href="#new_products">next
-section</a> for
-more information.</font></li>
+build the product from the sources.</font>
+<ul>
+  <li> <font color="#000000"><b>script</b></font></li>
 </ul>
-<b>Note:</b> If you add new products to be installed with Installation
+<font color="#000000">The installation script name.
+This script is in charge of the installation of the product. It is
+called
+automatically by the Installation Wizard when necessary from the main
+program. See the <a href="#new_products">next
+section</a> for
+more information.</font><br>
+<b><br>
+Note:</b> If you add new products to be installed with Installation
 Wizard, you should also provide installation script for this product.
 See
-next section for more details.
+the next section for more details.
 <hr>
 <h3><a name="new_products"></a>Implementing <font color="#ff0000">installation
 scripts</font> for the new products</h3>
 When you want some product to be installed with the Installation
 Wizard, you should add it's description it <a href="#xml_files">in the
-configuration file</a> and create bash installation script, following
-described in this section rules. <br>
-There are some obligatory functions to be provided in this installation
+configuration file</a> and create the installation script, following
+rules described in this section. <br>
+<br>
+There are some obligatory functions which should be implemented in this
+installation
 script. These functions are automatically called by master installation
 script
 or/and its GUI shell when it is necessary.<br>
@@ -1043,58 +1032,88 @@ make_dir()</b>, <b>try_existing()</b>, <b>sort_path()</b>,<b>
 find_in_path()</b>,
 etc.</font>
 <ul>
-  <li> <b>check_version()</b>:&nbsp; This function allows to check the
+  <li> <b>check_version()</b></li>
+</ul>
+This function allows to check the
 version of the product already installed on the computer. It should try
 to find product (native or preinstalled in the target directory) and
 check
-it version. This helps to avoid unnecessary reinstallation. This is
+its version. This helps to avoid unnecessary reinstallation. This is
 internal
-function and is not called</li>
-  <li> <b><font color="#000000">try_native()</font></b><font
- color="#000099">: </font><font color="#000000">This function is
+function and is not called from the master installation script.<br>
+<ul>
+  <li> <b><font color="#000000">try_native()</font></b></li>
+</ul>
+<font color="#000000">This function is
 called when <i>'use native' </i>installation mode is selected by the
 user. The function should try to find native version of the product and
-define possibility of it usage. Should create environment for the
+define possibility of its usage. It should create the environment file
+for the
 product in the temporary directory (see also description of <b>print_env(</b>)
-function). If you do not provide native mode installation, you can omit
-this function.</font></li>
-  <li> <font color="#000000"><b>install_source()</b>: This function is
+function). I</font><font color="#000000">t is not necessary to
+implement
+this function i</font><font color="#000000">f you do not provide native
+mode. installation.<br>
+</font>
+<ul>
+  <li> <font color="#000000"><b>install_source()</b></font></li>
+</ul>
+<font color="#000000">This function is
 called when <i>'install sources</i>' installation mode is selected by
 the
 user. The function is responsible for the building of the product from
 the
-sources package. Should create environment for the product in the
+sources package. It should create the environment file for the product
+in the
 temporary
-directory (see also description of <b>print_env(</b>) function). If
-you do
-not provide sources mode installation, you can omit this function</font></li>
-  <li> <font color="#000000"><b>install_binary()</b>: This function is
+directory (see also description of <b>print_env(</b>) function). </font><font
+ color="#000000">I</font><font color="#000000">t is not necessary to
+implement
+this function i</font><font color="#000000">f you do not provide </font><font
+ color="#000000">sources mode installation.</font>
+<ul>
+  <li> <font color="#000000"><b>install_binary()</b></font></li>
+</ul>
+<font color="#000000">This function is
 called when <i>'install binaries'</i> installation mode is selected by
 the
 user. The function is responsible for the extracting of the product
 from
-the binaries package. Should create environment for the product in the
+the binaries package. It should create environment for the product in
+the
 temporary
-directory (see also description of <b>print_env(</b>) function). If
-you do
-not provide binaries mode installation, you can omit this function.</font></li>
-  <li> <b>try_preinstalled()</b>: <font color="#000000">This function
+directory (see also description of <b>print_env(</b>) function).</font><font
+ color="#000000"> I</font><font color="#000000">t is not necessary to
+implement
+this function i</font><font color="#000000">f you do not provide </font><font
+ color="#000000">binaries</font><font color="#000000"> mode
+installation.</font><font color="#000000"> <br>
+</font>
+<ul>
+  <li> <b>try_preinstalled()</b></li>
+</ul>
+<font color="#000000">This function
 is called when<i> 'not install'</i> installation mode is selected by
 the user. In this case script should inspect target directory to try to
 find already preinstalled product, pick up and check environment from
-there. See <a href="#pick_up_env">here</a> for more details.</font></li>
-  <li> <font color="#000000"><b>print_env()</b>: This function is in
+there. See <a href="#pick_up_env">here</a> for more details.</font>
+<ul>
+  <li> <font color="#000000"><b>print_env()</b></font></li>
+</ul>
+<font color="#000000">This function is in
 charge of creation environment script. It should create file with name </font><b>env_&lt;product_name&gt;.sh</b>
 in the temporary directory and then copy it into the product
 installation directory. The file should contain all necessary
 environment variables settings for the product. It will be collected
-during the 'pick-up-environment' procedure.</li>
-  <li><b>pickup_env()</b>: This procedure corresponds <b>pickupenv</b>
+during the 'pick-up-environment' procedure.
+<ul>
+  <li><b>pickup_env()</b></li>
+</ul>
+This procedure corresponds <b>pickupenv</b>
 tag
-of the configuration xml file (see previous section). Should call <b>make_env</b>
+of the configuration xml file (see previous section). It should call <b>make_env</b>
 procedure to perform pick-up environment procedure for the product.<br>
-  </li>
-</ul>
+<br>
 <font color="#000000">The calling signature of the product installation
 script is following:</font> <br>
 <b><font color="#000000">&lt;product_script_name&gt;
@@ -1102,7 +1121,9 @@ script is following:</font> <br>
 &lt;target_directory&gt;
 &lt;dependancies&gt; &lt;product_name&gt;</font></b>
 <p><font color="#000000">where</font> <br>
-<font color="#000000"><b>&lt;product_script_name&gt;</b> - installation
+</p>
+<p><font color="#000000"><b>&lt;product_script_name&gt;</b> -
+installation
 script name (described in configuration xml file);</font> <br>
 <font color="#000000"><b>&lt;function_name&gt;</b> - the name of
 function, corresponding to the selected installation mode: <i>try_native,
index e958b00e84391158b1f0c042ab5aa70979128d4e..54663625ac3d4cea4c8bd79470b8a3a1b2d64293 100644 (file)
Binary files a/doc/readmepage.png and b/doc/readmepage.png differ