X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Freadme.html;h=fbdec4ba179788b04390c4ae37270e302c264e72;hb=0c84718ab2bd3bb858e381b9008d74b094295994;hp=4989d7773267b88569b836c128cb43ff7d4c239a;hpb=93de9d2b429d442bc1f6cb87659d64b08d55d945;p=tools%2Finstall.git diff --git a/doc/readme.html b/doc/readme.html index 4989d77..fbdec4b 100755 --- a/doc/readme.html +++ b/doc/readme.html @@ -10,7 +10,7 @@ -
The installation procedure can support some different Linux platforms
-(currently it provides only configuration scripts for RedHat-8.0)
-and various number of products.
- The using of configuration xml files gives flexible way to modify the list
+and various number of products. Currently the basic target platform is Linux RedHat 8.0.
+From SALOME version 2.2.4 Installation Wizard also supports 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 "More..." button.
In the advanced mode you have the possibility to select products to be
-installed (see Fig.1 ). Each product has several
+installed (see Fig.1 ). Each product can have several
options of installation: you have a possibility to use native products, install
-already precompiled binaries, build product from the sources or not installed
+already precompiled binaries, build product from the sources or not install it
at all. Possible options and default choice are provided by the configuration
file. You can mark the products, you want to install, by clicking the corresponding
radiobuttons in the list view in the left part of the page. Note that some
@@ -145,16 +145,20 @@ This feature can be switched off by clicking "Auto set prerequisites products
checkbox.
Special button in the right part of the page - "Unselect All" -
allows to reset quickly all products to the "not install" state.
- If you want to use native Linux Red Hat 8.0 products (these are gcc, tcl,
+ If you want to use native products (for example, for Linux Red Hat 8.0 these are gcc, tcl,
Python, Qt, Sip and PyQt), select "use native" option.
There are also two checkboxes on this page: "SALOME sources" and "SALOME binaries". +These three-state checkboxes allow quick selecting/unselecting SALOME packages +for the installation.
+The box at the right side of the page displays the information about currently highlighted product: name, version, short description (if provided), required disk space, temporary files disk space, list of prerequisites and user choice.
Figure 1: "Installation settings" page in the advanced mode
Installation procedure uses a special directory to store temporary files. +
The installation procedure uses a special directory to store temporary files. The "Space for temporary files:" 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 @@ -193,7 +197,7 @@ wizard will follow to the next page:
Figure 2: "Check your choice" page
@@ -205,7 +209,7 @@ wizard will follow to the next page: follow to the next page.Figure 3: "Installation progress" page
Figure 4: "Finish installation" page
@@ -258,8 +262,8 @@ To learn how installation scripts collects the environment, see here. These files are: salome.csh + salome.sh in the KERNEL module sources -and KERNEL -module binaries root directories and env_products.csh + env_products.sh +and KERNEL module + binaries root directories and env_products.csh + env_products.sh in the target directory.gcc 3.2 | -ver=`/usr/bin/gcc --version | grep 'gcc (GCC) .*' | cut -b 11-13` | +ver=`gcc -dumpversion` |
|
- ver should be equal 3.2 + | ver should be 3.2. It is recommended to use native gcc on Linux RedHat 8.0 |
|||
set TCLHOME if you have preinstalled version of tcl. set LD_LIBRARY_PATH on a directory where libs can be found. |
- It is recommended to use native tcl on Linux RedHat 8.0 | +It is recommended to use native tcl/tk on Linux RedHat 8.0 | ||||||
boost 1.30.2 @@ -323,13 +327,23 @@ BOOST from binaries. |
||||||||
Cascade 5.1.2 + | Open CASCADE 5.2 |
- existence of CASROOT environment variable | -set CASROOT if you have preinstalled version of CASCADE | -Unfortunately we can't say anything exactly about CASCADE 5.1.2 -and we only check CASROOT environment variable. If you have problem with -preinstalled version of CASCADE reinstall it | +existence of CASROOT environment variable ver_major=`grep "!define OCC_VERSION_MAJOR" ${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'` +ver_minor=`grep "!define OCC_VERSION_MINOR" ${CASROOT}/inc/Standard_Version.hxx | awk '{print $3}'` +ver="$ver_major.$ver_minor" + |
+ set CASROOT if you have preinstalled version of Open CASCADE | +CASCADE's Standard_Version.hxx file provides version information. | +|
Patch for Open CASCADE 5.2 + |
+ + | + | Open CASCADE 5.2 provided with the Installation Wizard already includes the patch, +necessary for SALOME 2.2.x. In addition the Installation Wizard provides the sources of a Open CASCADE patch +which can be applied to original Open CASCADE 5.2 sources before its compilation. | |||||
Python 2.2.1 | @@ -362,9 +376,9 @@ to use OpenGL drivers installed on your computer locally. This check procedure||||||||
Qt 3.0.5 | existence of QTDIR - existence of libqt-mt.so.3.0.5 |
+ ver=`grep "QT_VERSION_STR" ${QTDIR}/include/qglobal.h | sed -e 's%^#define QT_VERSION_STR\([[:space:]]*\)%%g' -e 's%\"%%g'`
set QTDIR if you have preinstalled version of qt | -We try to find libqt-mt.so.3.0.5 in ${QTDIR}/lib folder. + | Qt's qglobal.h file provides version information: ver should be 3.0.5. You should set MESA_HOME only if you have preinstalled version of Mesa 3.4.2. It is recommended to use native Qt on Linux RedHat 8.0 |
@@ -380,7 +394,7 @@ to use OpenGL drivers installed on your computer locally. This check procedure
Hdf 5-1.4.4 | existence of HDF5HOME existence of libhdf5.so.0.0.0 - existence of libhdf5.settings |
+ existence of libhdf5.settingsset HDF5HOME if you have preinstalled version of hdf | We try to find libhdf5.so.0.0.0 and libhdf5.settings in ${HDF5HOME}/lib
folder. @@ -388,12 +402,12 @@ to use OpenGL drivers installed on your computer locally. This check procedure HDF5 Version: 1.4.4 |
Med 2.1.6 | +Med 2.2.2 | existence of MED2HOME - existence of libmed.so.0.0.0 |
+ existence of libmed.so.1.0.1
set MED2HOME if you have preinstalled version of med | Unfortunately we can't check version number. - We try to find libmed.so.0.0.0 in ${MED2HOME}/lib folder. + We try to find libmed.so.1.0.1 in ${MED2HOME}/lib folder. If you have problem with preinstalled version of med reinstall it. |
||||
Numeric 22.0 | -existence of Numeric folder - existence of _numpy.so |
- set PYTHONHOME if you have preinstalled version of python | -Unfortunately we can't check the version number. - We try to find Numeric folder in ${PYTHONHOME}/lib/python2.2/site-packages/Numeric - folder. - If you have problem with preinstalled version of numeric 22.0 reinstall -it. |
+ ver=`python -c 'import Numeric; print Numeric.__version__' 2>/dev/null` | +set PYTHONHOME if you have preinstalled version of Numeric package | +If you have problem with preinstalled version of numeric 22.0 reinstall it. | ||
Sip 3.3.2 | -existence of SIPDIR - existence of sip - existence of libsip.so.9.1.0 |
+ existence of SIPDIR sip_ver=`${SIPDIR}/sip -V | awk '{print $1}'` |
set SIPDIR to directory where you have sip preinstalled | -We try to find sip and libsip.so.9.1.0 in $SIPDIR folder if you
-set SIPDIR , otherwise searching is done using $PATH and $LD_LIBRARY_PATH
- accordingly. + | Searching for the sip binary is performed in the folder pointed by the $SIPDIR variable if it is set
+and then by using $PATH variable. It is recommended to use native Sip on Linux RedHat 8.0 |
|||
HappyDoc 2.1 | existence of happydoc ver=`happydoc | grep "HappyDoc version 2.1"` |
- set PYTHONHOME if you have preinstalled version of python | -We try to find happydoc in $PYTHONHOME/bin folder. + | set PATH variable to the directory where you have HappyDoc installed. | +We try to find happydoc in $PATH. ver should not be empty. This product is not obligatory. It was added only for your comfort. |
existence of doxygen existence of doxysearch existence of doxytag - existence of doxywizard |
+ existence of doxywizardset QTDIR if you have preinstalled version of qt set PATH on a directory where doxygen, doxysearch, doxytag and doxywizard can be found |
- Unfortunately we can't check the version number. - It's necessary to have compiled Qt in order to build doxywizard. + | doxygen, doxysearch, doxytag, doxywizard binaries should exist; ver should be 1.3-rc2. +It's necessary to have compiled Qt in order to build doxywizard. If you have problem with preinstalled version of doxygen 1.3-rc2 reinstall it. This product is not obligatory. It was added only for your comfort. |
Graphviz 1.9 | -existence of dot | +existence of dot binary. ver=`dot -V 2>&1 | awk '{print $3}'` |
add GraphViz's bin directory to the PATH environment variable | -Unfortunately we can't check the version number. - We try to find dot program in the $PATH |
+ We try to find dot program in the $PATH. | |||
MODULE binaries @@ -516,8 +521,8 @@ otherwise searching is done using $LD_LIBRARY_PATH . ver=`cat $MODULE_ROOT_DIR/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'` |
set MODULE_ROOT_DIR if you have preinstalled binaries of MODULE - version 1.4.x | -MODULE binaries should exist and ver should be equal to 1.4.x | + version 2.2.4 +MODULE binaries should exist and ver should be equal to 2.2.4 | |||||
MODULE sources @@ -527,14 +532,14 @@ otherwise searching is done using $LD_LIBRARY_PATH . existence of VERSION file ver=`cat $MODULE_SRC/bin/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'` |
set MODULE_SRC_DIR if you have preinstalled sources of MODULE -version 1.4.x | -MODULE sources should exist and ver should be equal to 1.4.x | +version 2.2.4 +MODULE sources should exist and ver should be equal to 2.2.4 |
Note: For native products installation procedure sets proper environment +
Note: For native products installation procedure sets proper environment
variables itself, and you do not need to set such variables like, e.g. TCLHOME
or PYTHONHOME.
If you have native products installed to different from default directories
@@ -542,6 +547,18 @@ version 1.4.x
description. Or you should set properly $PATH and $LD_LIBRARY_PATH variables
before starting Installation Wizard. Otherwise
installation script will fail to find preinstalled products.
Note: For some native products (e.g. gcc, Python) the rules of version +checking are not so strict as described in the table. Only major and minor numbers of version +should coincide with prerequisite. Release number can be larger. It is done for making a possibility +to use native products for newer versions of Red Hat (for example, Linux Red Hat 9 includes native +gcc 3.2.2 installation). +If native product has version number larger than that required by installation procedure, +you will be prompted by the warning message like this: "You have newer version of gcc installed +on your computer than that is required (3.2). Continue?". You can press "Yes" button +to procede with the installation but in this case you should be aware of what you are doing. +SALOME binaries (inluding other products) are compiled with the prerequisites from the list +and most likely can not be run successfully if this products are not found. +This can be only helpful if you intend to build all products from sources.
Example:
- med-2.1.6.sh install_binary /tmp/work ./Products/BINARIES/RedHat8.0
+ med-2.2.2.sh install_binary /tmp/work ./Products/BINARIES/RedHat8.0
/usr/salome 'gcc Hdf' med
Copy created script into the <Install_Wizard_root_directory>/config_files