- The order of compilation and installation should be performed in accordance
- with modules dependancies:
-
- * GEOM : KERNEL
- * MED : KERNEL
- * SMESH : KERNEL, GEOM, MED
- * VISU : KERNEL, MED
- * SUPERV : KERNEL
- * COMPONENT : KERNEL
- * PYCALCULATOR : KERNEL
- * NETGENPLUGIN : KERNEL, SMESH
+ 4.1. General procedure
+
+ If you want to build SALOME modules from sources, install all prerequisite
+ products, required for the platform and SALOME modules sources.
+ Then follow the scenario described below.
+ In the scenario below it is supposed that you have installed SALOME
+ modules sources in the /home/salome directory. The name of each module
+ sources directory depends on the version of the platform, for example,
+ KERNEL_SRC_3.0.0 for KERNEL module of SALOME version 3.0.0.
+
+ The order of compilation and installation should be performed according
+ to the dependancies between modules:
+
+ Main SALOME modules:
+
+ * KERNEL -> no dependancies
+ * GUI -> KERNEL
+ * GEOM -> KERNEL, GUI
+ * MED -> KERNEL, GUI
+ * SMESH -> KERNEL, GUI, GEOM, MED
+ * VISU -> KERNEL, GUI, MED
+ * SUPERV -> KERNEL, GUI
+
+ SMESH plugins:
+
+ * NETGENPLUGIN -> KERNEL, GUI, SMESH
+ * GHS3DPLUGIN -> KERNEL, GUI, SMESH
+
+ Sample modules:
+
+ * COMPONENT -> KERNEL
+ * PYCALCULATOR -> KERNEL,
+ * HELLO -> KERNEL, GUI
+ * PYHELLO -> KERNEL, GUI
+ * LIGHT -> KERNEL, GUI
+
+ Note: SMESH plugins and sample modules are optional. You may skip
+ compiling them if you do not plan to use NETGEN and/or GHS3D mesher
+ algorithms and do not want to build samples.
+
+ In general, each module (except KERNEL and GUI, of course) is optional for
+ SALOME. If you do not need any module, just do not compile or install
+ it. But remember that some modules require other ones to be built first
+ (see dependancies table above).
+
+ To build KERNEL module:
+
+ - go to installation root directory (/home/salome in this example):
+
+ cd /home/salome