]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix wrong installation of netgen 4.5
authorvsr <vsr@opencascade.com>
Fri, 19 May 2006 14:40:59 +0000 (14:40 +0000)
committervsr <vsr@opencascade.com>
Fri, 19 May 2006 14:40:59 +0000 (14:40 +0000)
config.xml
config_Debian_3.1.xml
config_Mandrake_10.1.xml
config_Mandriva_2006.0.xml
config_RedHat_8.0.xml
config_RedHat_9.xml
config_Scientific_3.0.5.xml
config_files/netgen-4.5.sh
doc/readme.html

index 9c559cf5f444653353cb4b8855cf3dfbd07f9831..7ed65f072e8ff4f76c17164da6f56344e5a81bd9 100644 (file)
            install="install binaries"
           supported="install sources,install binaries"
           disable="false"
-          dependancies="gcc"
-          installdiskspace="2966"
-          temporarydiskspace="8216"
+          dependancies="gcc,OpenCascade"
+          installdiskspace="5215"
+          temporarydiskspace="11264"
           script="netgen-4.5.sh"/>
   <product name="HXX2SALOME"
            version="3.2.0b1" 
index 7ec835fe2a97984d7cea9863f5d1dd6d5b526ce2..1ba4284550eb3cf29b34bf43872935d5282a8563 100755 (executable)
            install="install binaries"
           supported="install sources,install binaries"
           disable="false"
-          dependancies="gcc"
-          installdiskspace="3070"
-          temporarydiskspace="8384"
+          dependancies="gcc,OpenCascade"
+          installdiskspace="5420"
+          temporarydiskspace="11616"
           script="netgen-4.5.sh"/>
   <product name="HXX2SALOME"
            version="3.2.0b1" 
index 35ac90872ef09bfacb33601e84fecad33ee6a847..047ad657a417af4e9c32f617fc91c6dc78ed1770 100755 (executable)
            install="install binaries"
           supported="install sources,install binaries"
           disable="false"
-          dependancies="gcc"
-          installdiskspace="2966"
-          temporarydiskspace="8216"
+          dependancies="gcc,OpenCascade"
+          installdiskspace="5215"
+          temporarydiskspace="11264"
           script="netgen-4.5.sh"/>
   <product name="HXX2SALOME"
            version="3.2.0b1" 
index a23fd5c0e708b0b53323d5f72d73ca52dab254ac..463eeedddb9cbb961d5db215f902078bc8cb0fc0 100755 (executable)
            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"
+          supported="use native,install sources,install binaries"
           disable="false"
           dependancies="gcc,Python"
-          installdiskspace="31899"
-          temporarydiskspace="71032"
+          installdiskspace="31401"
+          temporarydiskspace="73360"
           script="omniORB-4.0.6.sh"/>
   <product name="Hdf" 
            version="5-1.6.4" 
            install="install binaries"
           supported="install sources,install binaries"
           disable="false"
-          dependancies="gcc"
-          installdiskspace="2966"
-          temporarydiskspace="8216"
+          dependancies="gcc,OpenCascade"
+          installdiskspace="5749"
+          temporarydiskspace="11936"
           script="netgen-4.5.sh"/>
   <product name="HXX2SALOME"
            version="3.2.0b1" 
index 91f02337d6529a6e0b42755cf2c7950c94135bf7..a2d5413edd1172e3f0e5162af72934b1617b2539 100755 (executable)
            install="install binaries"
           supported="install sources,install binaries"
           disable="false"
-          dependancies="gcc"
-          installdiskspace="2924"
-          temporarydiskspace="8244"
+          dependancies="gcc,OpenCascade"
+          installdiskspace="4836"
+          temporarydiskspace="11052"
           script="netgen-4.5.sh"/>
   <product name="HXX2SALOME"
            version="3.2.0b1" 
index 1a5e5cca0cef7a0a0185858968189307b7ffbbd1..3821d4b08763f56835853137dacd2e6fd6711676 100755 (executable)
            install="install binaries"
           supported="install sources,install binaries"
           disable="false"
-          dependancies="gcc"
-          installdiskspace="2924"
-          temporarydiskspace="8244"
+          dependancies="gcc,OpenCascade"
+          installdiskspace="4836"
+          temporarydiskspace="11052"
           script="netgen-4.5.sh"/>
   <product name="HXX2SALOME"
            version="3.2.0b1" 
index fd85636832ebcab3476d0fca2e1f9202e40e468c..b3ea73d8b6078219ae7dedaa88cef4961eb05d37 100755 (executable)
            install="install binaries"
           supported="install sources,install binaries"
           disable="false"
-          dependancies="gcc"
-          installdiskspace="2924"
-          temporarydiskspace="8244"
+          dependancies="gcc,OpenCascade"
+          installdiskspace="4836"
+          temporarydiskspace="11052"
           script="netgen-4.5.sh"/>
   <product name="HXX2SALOME"
            version="3.2.0b1" 
index f9b55a428d92f39c712cdbee26bf6946c308e789..1c48801f0ca8e5dc8c5b31c451a6e895b1664054 100755 (executable)
@@ -58,7 +58,7 @@ export MACHINE=LINUX
 # apply patch: to make compilable on latest versions of gcc
 (cd ${PRODUCT_WORK}/libsrc/meshing; echo -e '16s/^$/class Mesh;\nwq' | ed - meshtype.hpp > /dev/null)
 
-for directory in csg general geom2d gprim interface linalg meshing opti stlgeom ; do
+for directory in csg general geom2d gprim interface linalg occ meshing opti stlgeom ; do
     cd ${PRODUCT_WORK}/libsrc/${directory}
     check_job ${PRODUCT_DIR}/MAKE.LOG make
 done
@@ -67,6 +67,10 @@ mkdir -p ${PRODUCT_DIR}/lib/LINUX
 cp -f ${PRODUCT_WORK}/lib/LINUX/* ${PRODUCT_DIR}/lib/LINUX
 mkdir -p ${PRODUCT_DIR}/include
 cp -f ${PRODUCT_WORK}/libsrc/interface/nglib.h ${PRODUCT_DIR}/include
+for directory in csg general geom2d gprim linalg occ meshing opti stlgeom ; do
+    cp -f ${PRODUCT_WORK}/libsrc/${directory}/*.hpp ${PRODUCT_DIR}/include
+done
+cp -f ${PRODUCT_WORK}/libsrc/include/mystdlib.h ${PRODUCT_WORK}/libsrc/include/mydefs.hpp ${PRODUCT_DIR}/include
 
 #du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log
 cd ${PRODUCT_DIR}; rm -fr ${PRODUCT_WORK}
index ec9f11ece70abe20127c0dea0153593cccc32014..18285ffd85ed8ab452fec645e3cd590ed860142a 100755 (executable)
@@ -36,11 +36,18 @@ Wizard Help</font>&nbsp;</font></h1>
 </table>
 </center>
 <div align="right"><b><font color="#000099">updated for the version </font><font
- color="#ff0000">3.1.0a2</font></b></div>
+ color="#ff0000">3.2.0</font></b></div>
 <hr>
 <ul>
   <li> <a href="#install_from_wizard">Installing products with the
-Installation Wizard</a></li>
+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>
   <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>
@@ -52,78 +59,127 @@ 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: GUI and batch. <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 terminal
+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>
-<p><b>[ python ] runInstall [ -g | -b ] [ -f &lt;xml-file&gt; ] [ -t
+<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>
+</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</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Runs the Installation Wizard in the
+<p><b>-g / --gui</b><br>
+</p>
+<div style="margin-left: 40px;">Runs the Installation Wizard in the
 GUI
-mode (default option). In this case only<span style="font-weight: bold;">
-&lt;xml-file&gt;</span> key is taken into account.
-Other parameters are ignored. <br>
-<b>-b</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Runs the Installation Wizard in
+mode (this is default mode).<br>
+</div>
+<p><b>-b / --batch</b><br>
+</p>
+<div style="margin-left: 40px;">Runs the Installation Wizard in
 command-line mode. <br>
-<b>-f &lt;xml-file&gt;</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The configuration file to be used by
+</div>
+<p><b>-f FILE / --file=</b><span style="font-weight: bold;">FILE<br>
+</span></p>
+<div style="margin-left: 40px;">The XML configuration file to be used
+by
 the
-Installation Wizard.&nbsp; If this parameter is missed then the script
+Installation Wizard.&nbsp; If this option is not used then the
+installation script
 tries
-to define the <i>Linux </i>version and uses corresponding xml file.
+to define the <i>Linux </i>version and use the corresponding XML file
+if it is present.
 For
-examle, for the <i>Linux Mandrake 10.1</i> <b>config_Mandrake_10.1.xml</b>&nbsp;
+examle, for the <span style="color: rgb(0, 0, 153);">Linux Mandrake
+10.1</span>&nbsp; the <b>config_Mandrake_10.1.xml</b>&nbsp;
 file
-is supposed to be used by default. If the appropriate file is not
-found, <b>config.xml</b>
-is used by default.&nbsp; This file refers to the basic target platform
-which is Mandrake 10.1 for SALOME 3.0 and higher. If config.xml file is
-also not found the warning message box is shown and Installation Wizard
+will be used by default. If the appropriate file is not
+found, the file <b>config.xml</b> will be used. This file refers to
+the basic target platform
+which is <span style="color: rgb(0, 0, 153);">Linux Mandrake 10.1</span>
+for SALOME 3.0 and newer. If <span style="font-weight: bold;">config.xml</span>
+file is
+also not found, the warning message box is shown (in GUI mode) or
+printed to the console (in batch mode) and the Installation Wizard
 quits.<br>
-<b>-t &lt;target-dir&gt;</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The target directory, SALOME platform
+</div>
+<p> <b>-d DIR / --target=DIR</b><br>
+</p>
+<div style="margin-left: 40px;">The target directory SALOME platform
 to
-be installed to. If used, overloads default target directory, given in
+be installed to. If used, this option overrides the default target
+directory, given in
 the
-configuration
-xml file (usually <span style="font-weight: bold;">/salome</span>, see
-<a href="#xml_files">here</a>). <br>
-<b>-tmp &lt;tmp-dir&gt;</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The directory, which is used to
-contain temporary files.&nbsp; If used, overloads default temporary
+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>
+<p><b>-t DIR / --tmp=DIR </b></p>
+<div style="margin-left: 40px;">The directory, which is used for
+temporary files. If used, this option overrides the default temporary
 directory,
 given in the
 configuration xml file (usually <span style="font-weight: bold;">/tmp</span><span
  style="font-weight: bold;"></span>, see <a
- href="readme.html#xml_files">here</a>).<br>
-<b>-h</b><br>
-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Prints help information. <br>
+ href="readme.html#xml_files">here</a> for more detail).<br>
+</div>
+<p><b>-h / --help</b><br>
+</p>
+<div style="margin-left: 40px;">Prints help information about available
+options. <br>
+</div>
+<p></p>
+<p>
+<b>-v / --version</b><br>
 </p>
-<p>The installation procedure can support some different Linux
-platforms
-and various number of products. As it was mentioned above the basic
-target platform for SALOME 3.0 and higher is <i>Linux Mandrake 10.1</i>.<br>
-The using of configuration xml files gives flexible way to modify the
+<div style="margin-left: 40px;">Prints version information (this is the
+Installation Wizard's version number, not SALOME platform). <br>
+</div>
+<p>
+</p>
+<p>The installation procedure supports different <span
+ style="color: rgb(0, 0, 153);">Linux
+</span>platforms
+and installs various installation 3d-party pre-requisite products which
+are required by SALOME platform. As it was mentioned above, the basic
+target platform for SALOME 3.0 and newer is <span
+ style="color: rgb(0, 0, 153);">Linux Mandrake 10.1</span>.<br>
+The using of configuration XML files gives flexible way to modify the
 list of products to be installed by the Installation Wizard without
-changing program's source code. Just create your own configuration file
-and implement installation scripts for products you want to be provided
-by Wizard. See <a href="#xml_files">modifying XML configuration file</a>
-and <a href="#new_products">implementing installation scripts for the
-new products</a> for more information. </p>
-<p>The <font color="#ff0000">Installation Wizard</font> was built with
-using of the <span style="font-style: italic;">Trolltech's</span> <b><i>Qt&nbsp;
-3.3.3 </i></b>library. The program contains
-several pages. To navigate between pages use <i>"Next"</i> and <i>"Back"</i>
+changing program's source code. Just create your own XML configuration
+file
+and implement installation scripts for thepre-requisite products you
+need and then use this XML file with the Installation Wizard. This can
+be done, for example, for some <span style="color: rgb(0, 0, 153);">Linux
+</span>platform which is not supported directly by the Installation
+Wizard. See <a href="#xml_files">Modifying XML configuration file</a>
+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
+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
+3.0.5</span> </span>toolkit. After launching the Installation Wizard
+in the GUI mode the wizard window is shown to the user. This wizard
+quides the user through several subsequent pages. To navigate between
+the pages use <i>"Next"</i> and <i>"Back"</i>
 buttons in the
-lower part of the wizard window. <i>"Cancel"</i> button closes dialog
-window
-and quits the installation procedure. To invoke this help information
-click
-<i>"Help"</i> button. </p>
-<p>Skip the first <i>"Introduction"</i> page by pressing <i>"Next"</i>
+lower part of the wizard window. <i>"Cancel"</i> button closes the
+wizard
+window&nbsp;and quits the installation procedure after user's
+confirmation. <i>"Help"</i> button opens an additional window to show
+the help information . </p>
+<p>The first "<span style="font-style: italic;">Introduction"</span>
+page is shown at the <a href="#IntroPage">Figure 1</a>. Skip this page
+by pressing <i>"Next"</i>
 button:
 </p>
 <center><a name="IntroPage"></a><br>
@@ -133,19 +189,23 @@ button:
 </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>Qt</i></b>'s
-browse directory dialog box. <br>
+button and choose the folder for installation using standard <b><i></i></b>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 has two modes of the installation: basic
+<p>The Installation Wizard in GUI mode provides two different options
+to install the SALOME platform: <span style="font-weight: bold;">basic</span>
 (default) and
-advanced. 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>
+<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>
 <p>In the advanced mode you have the possibility to select products to
-be installed (see <a href="#ProductPage">Fig.2</a> ). Each product can
+be installed. 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 install it at all. Possible options and default
@@ -166,10 +226,12 @@ 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><br>
+want to disable this feature.<br>
+<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>
+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.
@@ -253,10 +315,11 @@ follow to the <a href="#ProgressPage">next page</a>. </p>
 </center>
 <p>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
+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.
-
+</p>
 <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>"
@@ -315,8 +378,10 @@ installation procedure on th CD). The salome.* files are optimized for
 the SALOME launching. This difference 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>
-<b><br>
-</b>
+<h3 style="margin-left: 40px;"> <a name="batch_mode"></a>Batch mode<br>
+</h3>
+In the batch mode ... bla-bla-bla ...<br>
+<br>
 <hr>
 <h3><a name="check_version_proc"></a>Notes on<font color="#ff0000">
 check products version</font> procedure</h3>
@@ -709,7 +774,8 @@ file <br>
 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
+exist and ver should be equal to &lt;version&gt;, where &lt;version&gt;
+is version number
 being installed.</td>
     </tr>
   </tbody>
@@ -802,7 +868,8 @@ for if no command line arguments are given, is <b>config.xml</b>. 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>
-<font face="Courier"><p><b><font color="#000099">&lt;document&gt;</font></b>
+<font face="Courier">
+<p><b><font color="#000099">&lt;document&gt;</font></b>
 <br>
 <font color="#000000"><b>&nbsp;&nbsp;&nbsp; </b>[</font><b><font
  color="#000099"> &lt;config</font></b><font color="#000000">
@@ -875,7 +942,8 @@ dependancies=&lt;list_of_prerequisites&gt;</font>&nbsp;<font
 &nbsp;&nbsp;&nbsp; ]</font> <font color="#000000"><br>
 &nbsp;&nbsp;&nbsp;<b> .</b></font><b><font color="#000099">..</font></b>
 <b><font color="#000099"><br>
-&lt;/document&gt;</font></b> </p></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>