From: vsr Date: Fri, 19 May 2006 14:40:59 +0000 (+0000) Subject: Fix wrong installation of netgen 4.5 X-Git-Tag: V_3_2_2~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8c06b312c0b9f4ea6c09771a2856eadbe3eb66e0;p=tools%2Finstall.git Fix wrong installation of netgen 4.5 --- diff --git a/config.xml b/config.xml index 9c559cf..7ed65f0 100644 --- a/config.xml +++ b/config.xml @@ -192,9 +192,9 @@ 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"/> /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} diff --git a/doc/readme.html b/doc/readme.html index ec9f11e..18285ff 100755 --- a/doc/readme.html +++ b/doc/readme.html @@ -36,11 +36,18 @@ Wizard Help 
updated for the version 3.1.0a2
+ color="#ff0000">3.2.0
  • Installing products with the -Installation Wizard
  • +Installation Wizard
    + + +
  • Notes on check products version procedure
  • Pick up the environment
  • @@ -52,78 +59,127 @@ the new products

    Installing products with the Installation Wizard

    -The Installation Wizard can be launched in two modes: gui and batch.
    +The Installation Wizard can be launched in two modes: GUI and batch.
    The root directory of the Installation Wizard -contains python script runInstall. -To run the Installation Wizard just type runInstall in terminal +contains Python script runInstall. +To run the Installation Wizard just type runInstall in the +terminal window:
    -

    [ python ] runInstall [ -g | -b ] [ -f <xml-file> ] [ -t +

    [ python ] runInstall [options]
    +

    +

    Without opstions this script will launch the SALOME Installation +Wizard in the default mode (GUI).
    +The default mode can be overriden by using command line options. Each +option has two notations: short and long:
    +

    +

    [ -g | -b ] [ -f <xml-file> ] [ -t <target-dir> ] [ -tmp <tmp-dir> ]

    -

    -g
    -         Runs the Installation Wizard in the +

    -g / --gui
    +

    +
    Runs the Installation Wizard in the GUI -mode (default option). In this case only -<xml-file> key is taken into account. -Other parameters are ignored.
    --b
    -         Runs the Installation Wizard in +mode (this is default mode).
    +
    +

    -b / --batch
    +

    +
    Runs the Installation Wizard in command-line mode.
    --f <xml-file>
    -         The configuration file to be used by +
    +

    -f FILE / --file=FILE
    +

    +
    The XML configuration file to be used +by the -Installation Wizard.  If this parameter is missed then the script +Installation Wizard.  If this option is not used then the +installation script tries -to define the Linux version and uses corresponding xml file. +to define the Linux version and use the corresponding XML file +if it is present. For -examle, for the Linux Mandrake 10.1 config_Mandrake_10.1.xml  +examle, for the Linux Mandrake +10.1  the config_Mandrake_10.1.xml  file -is supposed to be used by default. If the appropriate file is not -found, config.xml -is used by default.  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 config.xml will be used. This file refers to +the basic target platform +which is Linux Mandrake 10.1 +for SALOME 3.0 and newer. If config.xml +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.
    --t <target-dir>
    -         The target directory, SALOME platform +
    +

    -d DIR / --target=DIR
    +

    +
    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 /salome, see -here).
    --tmp <tmp-dir>
    -         The directory, which is used to -contain temporary files.  If used, overloads default temporary +configuration XML file (usually ${HOME}/salome_<version>, +see +here for more detail).
    +
    +

    -t DIR / --tmp=DIR

    +
    The directory, which is used for +temporary files. If used, this option overrides the default temporary directory, given in the configuration xml file (usually /tmp, see here).
    --h
    -         Prints help information.
    + href="readme.html#xml_files">here for more detail).
    +
    +

    -h / --help
    +

    +
    Prints help information about available +options.
    +
    +

    +

    +-v / --version

    -

    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 Linux Mandrake 10.1.
    -The using of configuration xml files gives flexible way to modify the +

    Prints version information (this is the +Installation Wizard's version number, not SALOME platform).
    +
    +

    +

    +

    The installation procedure supports different Linux +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 Linux Mandrake 10.1.
    +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 modifying XML configuration file -and implementing installation scripts for the -new products for more information.

    -

    The Installation Wizard was built with -using of the Trolltech's Qt  -3.3.3 library. The program contains -several pages. To navigate between pages use "Next" and "Back" +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 Linux +platform which is not supported directly by the Installation +Wizard. See Modifying XML configuration file +and Implementing installation scripts for the +new products sections for more information.

    +

    GUI mode
    +

    +

    The Installation Wizard was developed +with +using of the Trolltech's Qt +3.0.5 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 "Next" and "Back" buttons in the -lower part of the wizard window. "Cancel" button closes dialog -window -and quits the installation procedure. To invoke this help information -click -"Help" button.

    -

    Skip the first "Introduction" page by pressing "Next" +lower part of the wizard window. "Cancel" button closes the +wizard +window and quits the installation procedure after user's +confirmation. "Help" button opens an additional window to show +the help information .

    +

    The first "Introduction" +page is shown at the Figure 1. Skip this page +by pressing "Next" button:


    @@ -133,19 +189,23 @@ button:

    In the second page you are proposed to enter the target directory where all selected products should be installed to. You can also press "Browse..." -button and choose the folder for installation using standard Qt's -browse directory dialog box.
    +button and choose the folder for installation using standard browse +directory dialog box.
    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.

    -

    The Installation Wizard has two modes of the installation: basic +

    The Installation Wizard in GUI mode provides two different options +to install the SALOME platform: basic (default) and -advanced. In the basic mode it is necessary just to enter target -directory. If you want -to use advanced mode, click "More..." button.

    +advanced. If the basic option is used (default) the +user just need to enter the target installation +directory. To switch to the advanced +option, click "More..." button (see Fig.2 ).

    In the advanced mode you have the possibility to select products to -be installed (see Fig.2 ). 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 "Auto set prerequisites products" 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.

    +want to disable this feature.
    +
    Special button in the right part of the page - "Unselect All" - allows to reset quickly all products to the "not install" -state.

    +state.
    +
    If you want to use native products (like gcc, tcl, etc.), select "use native" option. @@ -253,10 +315,11 @@ follow to the next page.

    To start installation of the selected products click "Start" 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. - +

    The "Installation Status" frame window shows you the progress of installation. It contains a list of all selected products with brief descriptions. "Waiting" @@ -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 ENV_FOR_LAUNCH which is set to 0 in env_products.* files and to 1 in salome.* files.
    -
    -
    +

    Batch mode
    +

    +In the batch mode ... bla-bla-bla ...
    +

    Notes on check products version procedure

    @@ -709,7 +774,8 @@ file
    if you have preinstalled sources of MODULE.
    MODULE sources should -exist and ver should be equal to <version>, where <version> is version number +exist and ver should be equal to <version>, where <version> +is version number being installed. @@ -802,7 +868,8 @@ for if no command line arguments are given, is config.xml. This section describes the structure of the configuration file.
    XNL tags are in bold blue, optional sections/tags are in brackets. -

    <document> + +

    <document>
        [ <config @@ -875,7 +942,8 @@ dependancies=<list_of_prerequisites> 
        .
    ..
    -</document>

    +</document>

    +

    <config> section

    This is optional section - contains general information Installation Wizard itself.