From: vsr Date: Fri, 16 Jul 2004 06:27:15 +0000 (+0000) Subject: Modify README : add some notes on compilation of SALOME/PAL X-Git-Tag: PAL_1_4_1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f8f889a4344c6a6c1e04153c285cba01a6ff9e9;p=tools%2Finstall.git Modify README : add some notes on compilation of SALOME/PAL --- 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} + ================================================================================