From 1f8f889a4344c6a6c1e04153c285cba01a6ff9e9 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 16 Jul 2004 06:27:15 +0000 Subject: [PATCH] Modify README : add some notes on compilation of SALOME/PAL --- README | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README b/README index 9d1e0b1..06bbaea 100644 --- a/README +++ b/README @@ -274,4 +274,24 @@ - 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=${_ROOT_DIR}/bin/salome:${PATH} + export LD_LIBRARY_PATH=${_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH} + export PYTHONPATH=${_ROOT_DIR}/bin/salome:${PYTHONPATH} + export PYTHONPATH=${_ROOT_DIR}/lib/salome:${PYTHONPATH} + export PYTHONPATH=${_ROOT_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH} + export PYTHONPATH=${_ROOT_DIR}/lib/python2.2/site-packages/salome/shared_modules:${PYTHONPATH} + + * for csh: + setenv PATH ${_ROOT_DIR}/bin/salome:${PATH} + setenv LD_LIBRARY_PATH ${_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH} + setenv PYTHONPATH ${_ROOT_DIR}/bin/salome:${PYTHONPATH} + setenv PYTHONPATH ${_ROOT_DIR}/lib/salome:${PYTHONPATH} + setenv PYTHONPATH ${_ROOT_DIR}/lib/python2.2/site-packages/salome:${PYTHONPATH} + setenv PYTHONPATH ${_ROOT_DIR}/lib/python2.2/site-packages/salome/shared_modules:${PYTHONPATH} + ================================================================================ -- 2.39.2