From 664064b8340388150db44513a03c13c6a32399f6 Mon Sep 17 00:00:00 2001
From: vsr [ python ] runInstall [ -g | b ] [ -f <xml-file> ] [ -t <target-dir>
-] [ -tmp <tmp-dir> ]
- -g
-Runs the Installation Wizard in the GUI mode. In this case only <xml-file>
-key is taken into account. This option is used by default.
- [ python ] runInstall [ -g | b ] [ -f <xml-file> ] [ -t <target-dir>
+ ] [ -tmp <tmp-dir> ] -g So, to run the Installation Wizard in the GUI mode, just type runInstall.
+ The installation procedure can support some different Linux platforms
-(currently it provides configuration scripts for RedHat-7.1 and
-RedHat-8.0)
-and various number of products.
- The Installation Wizard was built with
-using of the Qt library. The program contains several
-pages. To navigate between 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"
-button.
+(currently it provides only configuration scripts for RedHat-8.0)
+and various number of products. The Installation Wizard was built with using
+of the Qt library. The program contains several pages.
+To navigate between 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" button.
+ In the second page you are proposed to enter the target directory where
-all selected products will be installed to. You can also press "Browse..."
-button and choose the folder for installation using standard Qt
-browse directory dialog box.
- The Installation Wizard has two modes of the installation: basic and
-advanced. In the basic mode it is necessary just to enter target directory.
-If you want to use advanced mode, click "More..." button.
- In the advanced mode you have the possibility to select products to
-be installed (see Fig.1 ). Each product has
-several options of installation: you have a possibility to use native products,
-install already precompiled binaries, build product from the sources or
-not installed 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 products can be installed only together
-with other products (or these prerequisite products should be already installed
-on your computer). The installation procedure has a special feature to
-automatically mark these products in the list view. For example, in order
-to install pyqt it's necessary to have
-gcc, python,
-qt and
-sip installed. Therefore all these products
-will be marked when you check on
-pyqt. This feature can be
-switched off by clicking "Auto set prerequisites products" checkbox.
- The box at the right side of the page displays the information about
-currently highlighted product: name, version, required disk space, temporary
-files disk space and list of prerequisites.
- Figure 1: "Installation settings" page in the advanced mode The "Total disk space required:" field displays how much disk
-space on the hard drive is required for installation of selected products.
- The Installation Wizard has two modes of the installation: basic and advanced.
+In the basic mode it is necessary just to enter target directory. If you want
+to use advanced mode, click "More..." button. In the advanced mode you have the possibility to select products to be
+installed (see Fig.1 ). Each product has several
+options of installation: you have a possibility to use native products, install
+already precompiled binaries, build product from the sources or not installed
+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
+products can be installed only together with other products (or these prerequisite
+products should be already installed on your computer). The installation procedure
+has a special feature to automatically mark these products in the list view.
+For example, in order to install pyqt it's necessary to have
+gcc, python, qt and sip installed.
+Therefore all these products will be marked when you check on pyqt.
+This feature can be switched off by clicking "Auto set prerequisites products"
+ checkbox. 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 The "Total disk space required:" field displays how much disk space
+on the hard drive is required for installation of selected products. 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
+ 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
to the folder you want to use or click on the corresponding "Browse..."
-button.
+ button. The installation procedure also checks available disk space on the selected
-directories according to the products selected. If there is no enough disk
-space on your hard drive you will see the corresponding error message box.
+ directories according to the products selected. If there is no enough disk
+ space on your hard drive you will see the corresponding error message box.
+ Note: Unfortunately, the configure procedure has a very annoying
-bug under Linux platform. The directory should be obligatory entered without
-spaces. For example, the configure procedure for gcc won't
+ bug under Linux platform. The directory should be obligatory entered without
+ spaces. For example, the configure procedure for gcc won't
work if you pass the following parameter: --prefix="/New Folder 1".
-Therefore
-you are strongly recommended not to use directory names containing spaces.
+Therefore you are strongly recommended not to use directory names containing
+spaces. To proceed further click "Next" button. At this moment program
-will make some tests to check installation settings: if there is enough
-disk space on the hard drive, if native products are preinstalled, dependencies
+will make some tests to check installation settings: if there is enough disk
+space on the hard drive, if native products are preinstalled, dependencies
(prerequisites) for each product you have selected to be installed.
If any test fails you will see corresponding warning message box. Otherwise
-wizard will follow to the next page:
- Figure 2: "Check your choice" page
-
-
-
-
-
-
-
-
-
-
-
-SALOME Professional Installation Wizard
-Help
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PAL/SALOME Installation Wizard
+ Help
+
+
+
+
-
-
-
-
+
+
-
-
-Installing products with the Installation
-Wizard
-You can run the Installation Wizard in two modes. It's root directory contains
-python script runInstall.py:
-
-b
-Runs the Installation Wizard in the batch mode.
-
-f <xml-file> The configuration
-file to be used by the Installation Wizard. If this parameter is
-missed then the script tries to define the Red Hat version and use
-corresponding xml file. For examle, for the Red Hat 8.0 config_RedHat8_0.xml
-file is supposed to be used by default. If the appropriate file is not
-found, config.xml is used by default.
-
-t <target-dir> The target directory, SALOME products
-to be installed to. If used, overloads target directory, described in the
-configuration file.
-
-tmp <tmp-dir> The directory, which is used to contain
-temporary files. If used, overloads temporary directory, described
-in the configuration file.
+
+ Installing products with the Installation Wizard
+ You can run the Installation Wizard in two modes. It's root directory contains
+ python script runInstall.py:
+
+ Runs the Installation Wizard in the GUI
+mode. In this case only <xml-file> key is taken into account. This
+option is used by default.
+ -b
+ Runs the Installation Wizard in the batch
+mode.
+ -f <xml-file>
+ The configuration file to be used by the
+Installation Wizard. If this parameter is missed then the script tries
+to define the Red Hat version and uses corresponding xml file. For
+examle, for the Red Hat 8.0 config_RedHat8_0.xml file
+is supposed to be used by default. If the appropriate file is not found, config.xml
+is used by default.
+ -t <target-dir>
+ The target directory, SALOME products to
+be installed to. If used, overloads target directory, given in the configuration
+xml file.
+ -tmp <tmp-dir>
+ The directory, which is used to contain
+ temporary files. If used, overloads temporary directory, given in the
+configuration xml file.
+-h
+ Prints help information.
+
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 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.
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.
-
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, Python, Qt, Sip and PyQt), select "use native" option.
-
-
Note: Please, take into account that displayed amount of required
-disk space is approximate and may differ when you install products on your
-hard drive.
+ all selected products will be installed to. You can also press "Browse..."
+ button and choose the folder for installation using standard Qt
+ 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.
+ 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,
+Python, Qt, Sip and PyQt), select "use native" option.
+
+
+
+ Note: Please, take into account that displayed amount of required
+ disk space is approximate and may differ when you install products on your
+ hard drive.
Figure 2: "Check your choice" page
+This page summarizes the installation settings you've made on the previous
-pages. You can check again your choice to change it if necessary.
-
When you are sure that everything is OK, press "Next" button
-to follow to the next page.
-
Figure 3: "Installation progress" 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. In case
-of any installation problems (for example, you have accidentally removed
-the temporary directory) the script will ask you:
-"Would you like to
-continue : (Y,N) ?". You can answer this question by typing [Y] or
-[N] in the middle text edit control frame.
-
Note: press [Enter] when you finish typing data.
-
The "Installation Status" frame window shows you the progress
-of installation. It contains a list of all selected products with brief
-descriptions. "Waiting" description means
-that installation of this product have not started yet. Currently installing
-product is marked as "Processing". All installed
-products have "Completed" description.
+ pages. You can check again your choice to change it if necessary.
+ When you are sure that everything is OK, press "Next" button to
+follow to the next page.
Figure 3: "Installation progress" 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. In case of any installation
+problems (for example, you have accidentally removed the temporary directory)
+the script will ask you: "Would you like to continue : (Y,N) ?". You
+can answer this question by typing [Y] or [N] in the middle text edit control
+frame.
+ Note: press [Enter] when you finish typing data.
The "Installation Status" frame window shows you the progress of +installation. It contains a list of all selected products with brief descriptions. +"Waiting" description means that installation +of this product have not started yet. Currently installing product is marked +as "Processing". All installed products have +"Completed" description.
+You can abort installation and close the installation procedure using -"Cancel" -button. It sends the signal "SIGTERM" to the shell script. The script has -a signal handler and will try to clear all temporary files. The process -of removing temporary files can take some time, so the installation wizard -will wait 3 seconds before closing. +"Cancel" button. It sends the signal "SIGTERM" to the shell script. +The script has a signal handler and will try to clear all temporary files. +The process of removing temporary files can take some time, so the installation +wizard will wait 3 seconds before closing.
+At the end of installation (all selected products have been installed successfully) you can go back to the previous pages to start a new installation -or click "Next" button to go the Readme page: -
Figure 4: "Finish installation" page
Figure 4: "Finish installation" page
+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 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.
-
You can also launch SALOME Desktop from this page by clicking "Launch
-SALOME" button.
+SALOME from the sources. This is the contents of the README file which you
+can find in the root directory of the Installation Wizard.
+ You can also launch SALOME Desktop from this page by clicking "Launch
+ SALOME" button.
During the process of installation the script creates some environment -files to simplify procedure of launching SALOME. These shell scripts set + files to simplify procedure of launching SALOME. These shell scripts set all necessary environment variables for all products you have installed. -To learn how installation scripts collects the environment, see -here. These files are: salome.csh + salome.sh in the -SALOME -PRO sources and SALOME PRO binaries root directories -and env_products.csh + env_products.sh -in the target directory. -
-
- |
-
-
- |
-
-
- of installation procedure |
-
-
- |
-||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gcc 3.2 | - -ver=`/usr/bin/gcc --version | grep 'gcc (GCC) .*' | cut -b 11-13` | - -
- |
-
-ver should be equal 3.2
- It is recommended to use native gcc on Linux RedHat 8.0 |
-||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tcl 8.3 | - -existence of TCLHOME
- existence of tclsh8.3 - existence of wish8.3 - existence of libtcl8.3.so - existence of libtk8.3.so - existence of libtclx8.3.so - existence of libtkx8.3.so |
-
-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 | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cascade 4.0 | - -existence of CASROOT environment variable | - -set CASROOT if you have preinstalled version of CASCADE | - -Unfortunately we can't say anything exactly about CASCADE 4.0 and we -only check CASROOT environment variable. If you have problem with preinstalled -version of CASCADE reinstall it | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Python 2.2.1 | - -existence of PYTHONHOME
- isPython=`which python` - ver=`python -V` |
-
-set PYTHONHOME to root Python folder
- set PATH on a directory where python can be found |
-
-Python should exist and ver should be equal to 2.2.1
- It is recommended to use native Python on Linux RedHat 8.0 |
-||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mesa 3.4.2 | - -existence of libGL.so.1.2.030402 | - -set LD_LIBRARY_PATH on a directory where libGL.so.1.2.030402 can be -found | - -You have a possibility to build products (vtk & qt) with Mesa drivers -from the package supplied with this installation procedure or to use OpenGL -drivers installed on your computer locally. This check procedure concerns -only supplied Mesa driver. | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Swig 1.3.17 | - -isSwig=`which swig`
- ver=`swig -version` - ver=`echo $ver | awk '{print $3}'` |
-
-set PATH on a directory where swig can be found | - -Swig should exist and ver should be equal to 1.3.17 | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Qt 3.0.5 | - -existence of QTDIR
- existence of libqt-mt.so.3.0.5 |
-
-set QTDIR if you have preinstalled version of qt | - -We try to find libqt-mt.so.3.0.5 in ${QTDIR}/lib folder.
- 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 |
-||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Qwt 0.4.1 | - -existence of QWTHOME
- existence of libqwt.so.0.4.1 |
-
-set QWTHOME if you have preinstalled version of qwt | - -We try to find libqwt.so.0.4.1 in the ${QWTHOME}/lib folder. | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hdf 5-1.4.4 | - -existence of HDF5HOME
- existence of libhdf5.so.0.0.0 - existence of libhdf5.settings |
-
-set HDF5HOME if you have preinstalled version of hdf | - -We try to find libhdf5.so.0.0.0 and libhdf5.settings in ${HDF5HOME}/lib
-folder.
- File libhdf5.settings should contain the following entry: - HDF5 Version: 1.4.4 |
-||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Med 2.1.6 | - -existence of MED2HOME
- existence of libmed.so.0.0.0 |
-
-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. - If you have problem with preinstalled version of med reinstall it. |
-||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Vtk 4.2 | - -existence of VTKHOME
- existence of libvtkCommon.so |
-
-set VTKHOME if you have preinstalled version of vtk | - -Unfortunately we can't check the version number.
- We try to find libvtkCommon.so in ${VTKHOME}/lib/vtk folder. - If you have problem with preinstalled version of vtk reinstall it. |
-||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OmniORB 3.0.5,
- OmniORBpy 1.5, - OmniNotify 1.2 |
-
-existence of OMNIORBDIR
- existence of libomniORB3.so.0.5 - existence of _omnipymodule.so.0.5 - existence of libCOSNotify3.so.0.5 - existence of notifd - existence of THIS_IS_omniORB_3_0_5 - existence of THIS_IS_omniNotify_1_2 - existence of THIS_IS_OMNIORBPY_1_5 |
-
-set OMNIORBDIR if you have preinstalled version of omni | - -We try to find libomniORB3.so.0.5, _omnipymodule.so.0.5 and libCOSNotify3.so.0.5
-in ${OMNIORBDIR}/lib/i586_linux_2.0_glibc2.1 folder.
- We try to find notifd in ${OMNIORBDIR}/bin/i586_linux_2.0_glibc2.1 -folder. - Additional checking - omni add special files THIS_IS_... - We try to find THIS_IS_omniORB_3_0_5 in ${OMNIORBDIR} folder. - We try to find THIS_IS_omniNotify_1_2 in ${OMNIORBDIR}/src/services/omniNotify. - We try to find THIS_IS_OMNIORBPY_1_5 in ${OMNIORBDIR}/src/lib/omniORBpy +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 + in the target directory. + + + Notes on check +products version procedure+ Unfortunately under Linux platform there is no exact algorithm to identify + the product's version. The table below contains the information relating +to checking preinstalled products for the Linux.RedHat 8.0 platform+ +
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.
-
-
+ variables itself, and you do not need to set such variables like, e.g. TCLHOME
+ or PYTHONHOME. |