Salome HOME
Merge from SALOME2 branch
[tools/install.git] / src / env.csh
index 5e95a32c0ad46b8e7462c0accd26a5a00bacff0d..1131c91636b3c43fe969abcf886d8ab16ed8623e 100644 (file)
@@ -1,25 +1,28 @@
 ################################################################################
-###  For giving possibility run the app under RedHat7.1-8.0 it is nessary    ###
-###  to set GCC_ROOT and QTDIR to static compiled products, accordingly      ###
+### Setting the environment to build SALOME Installation Wizard.
+### We use statically compiled gcc and qt in order to minimize
+### external dependencies of Installation Wizard.
+### But it is also possible to use Linux native products.
+### In this case set GCC_ROOT and QTDIR correspondingly:
+###    setenv GCC_ROOT /usr
+###    setenv QTDIR    /usr/lib/qt-3.0.5
 ################################################################################
 
 setenv LD_LIBRARY_PATH /usr/X11R6/lib:/usr/lib:/lib
+setenv PRODUCTS_DIR /tmp/static
 
 ### ------ gcc ------ ###
-### gcc 3.2 (native for RH8.0)
-# setenv GCC_ROOT /usr
-### gcc 2.95.3 (for RH7.1)
-setenv GCC_ROOT /vsr/static/RedHat7.1/gcc-2.95.3
+### gcc 2.95.3
+setenv GCC_ROOT ${PRODUCTS_DIR}/gcc-2.95.3
 setenv CXX ${GCC_ROOT}/bin/g++
 setenv CC ${GCC_ROOT}/bin/gcc
 setenv PATH ${GCC_ROOT}/bin:${PATH}
 setenv LD_LIBRARY_PATH ${GCC_ROOT}/lib:${LD_LIBRARY_PATH}
+##
 
 ### ------ qt ------ ###
-### qt 3.0.5 compiled on gcc 3.2 (native for RH8.0)
-#setenv QTDIR /vsr/static/RedHat8.0/qt_gcc3.2
-### qt 3.0.5 compiled on gcc 2.95.3 (for RH7.1)
-setenv QTDIR /vsr/static/RedHat7.1/qt-x11-free-3.0.5
-setenv PATH $QTDIR/bin:$PATH 
-setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH 
+### qt 3.0.5
+setenv QTDIR ${PRODUCTS_DIR}/qt-x11-free-3.0.5
+setenv PATH ${QTDIR}/bin:${PATH} 
+setenv LD_LIBRARY_PATH ${QTDIR}/lib:${LD_LIBRARY_PATH} 
 ##