]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Modify README : add some notes on compilation of SALOME/PAL PAL_1_4_1
authorvsr <vsr@opencascade.com>
Fri, 16 Jul 2004 06:27:15 +0000 (06:27 +0000)
committervsr <vsr@opencascade.com>
Fri, 16 Jul 2004 06:27:15 +0000 (06:27 +0000)
README

diff --git a/README b/README
index 9d1e0b1a641e26148fbaafb1a765d2d086c0d487..06bbaeab865cb165deca87e428a03f94c820e944 100644 (file)
--- a/README
+++ b/README
      - then repeat this scenario for other modules you want to build according
        to modules dependancies.
 
+     Note: if the compilation fails it may be caused by poor environment. 
+     In this case you should check that environment script you use (salome.csh
+     or salome.sh) contains the following lines for each module:
+
+        * for bash:
+          export PATH=${<module>_ROOT_DIR}/bin/salome:${PATH}
+          export LD_LIBRARY_PATH=${<module>_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
+          export PYTHONPATH=${<module>_ROOT_DIR}/bin/salome:${PYTHONPATH}
+          export PYTHONPATH=${<module>_ROOT_DIR}/lib/salome:${PYTHONPATH}
+          export PYTHONPATH=${<module>_ROOT_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH}
+          export PYTHONPATH=${<module>_ROOT_DIR}/lib/python2.2/site-packages/salome/shared_modules:${PYTHONPATH}
+
+        * for csh:
+          setenv PATH ${<module>_ROOT_DIR}/bin/salome:${PATH}
+          setenv LD_LIBRARY_PATH ${<module>_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
+          setenv PYTHONPATH ${<module>_ROOT_DIR}/bin/salome:${PYTHONPATH}
+          setenv PYTHONPATH ${<module>_ROOT_DIR}/lib/salome:${PYTHONPATH}
+          setenv PYTHONPATH ${<module>_ROOT_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH}
+          setenv PYTHONPATH ${<module>_ROOT_DIR}/lib/python2.2/site-packages/salome/shared_modules:${PYTHONPATH}
+     
 ================================================================================