From: prascle Date: Thu, 27 Jan 2005 19:35:45 +0000 (+0000) Subject: PR: some more install documentation. X-Git-Tag: V2_2_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=937f0a8d16740c51e3ba518a35b6e5c42a838a5f;p=modules%2Fkernel.git PR: some more install documentation. --- diff --git a/README b/README index 6ef4bd05c..ec06c9d5b 100644 --- a/README +++ b/README @@ -101,12 +101,12 @@ Additionnal software may be installed for optional features: ###### ###### To Do ------------------------- ###### -Instructions for installing these software programs can be found in a -special note doc/install-prerequis. Installation shell scripts are -also provided. These scripts have to be adapted to your own -configuration. ---> prepare doc/install-prerequis. ---> prepare example_prerequis.sh +- Instructions for installing these software programs can be found in a + special note doc/configuration_examples/install-prerequis. +- Installation shell scripts are also provided. + These scripts have to be adapted to your own configuration. + +- See doc/configuration_examples/* ###### ###### To Do ------------------------- ###### diff --git a/doc/configuration_examples/example_prerequis.sh b/doc/configuration_examples/example_prerequis.sh new file mode 100644 index 000000000..d776ae2d5 --- /dev/null +++ b/doc/configuration_examples/example_prerequis.sh @@ -0,0 +1,114 @@ +# --- SALOME Required packages : configuration example,SALOME2 V2_2_0 + +# --- all path are relative to ${INSTALLROOT} +INSTALLROOT="__INSTALL_PATH__/SALOME2/prerequis" + +#------ gcc 3.2.3 --- +export PATH=${INSTALLROOT}/gcc-3.2.3/bin:${PATH} +export LD_LIBRARY_PATH=${INSTALLROOT}/gcc-3.2.3/lib:${LD_LIBRARY_PATH} + +#------ Tcl/tk ------ +export PATH=${INSTALLROOT}/tcl8.3/bin:${INSTALLROOT}/tk8.3/bin:${PATH} +export LD_LIBRARY_PATH=${INSTALLROOT}/tcl8.3/lib:${INSTALLROOT}/tk8.3/lib:${LD_LIBRARY_PATH} + +export TCLHOME=${INSTALLROOT}/tcl8.3 +export TKHOME=${INSTALLROOT}/tk8.3 + +export TCL_LIBRARY=${INSTALLROOT}/tcl8.3/lib/tcl8.3 +export TK_LIBRARY=${INSTALLROOT}/tk8.3/lib/tk8.3 + + +#------ python ------ +export PYTHONHOME=${INSTALLROOT}/Python-2.2.2 +export PYTHON_INCLUDE=${PYTHONHOME}/include/python2.2 +export PATH=${PYTHONHOME}/bin:${PATH} +export PYTHONSTARTUP=${PYTHONHOME}/.pythonrc + +#------ qt ------ +export QTDIR=${INSTALLROOT}/qt-x11-free-3.0.5 +export PATH=$QTDIR/bin:${PATH} +export LD_LIBRARY_PATH=$QTDIR/lib:${LD_LIBRARY_PATH} + +#------ sip ------ +export SIPDIR=${INSTALLROOT}/sip-3.3.2 +export PYTHONPATH=${SIPDIR}:${PYTHONPATH} +export PATH=${SIPDIR}:${PATH} +export LD_LIBRARY_PATH=${SIPDIR}:${LD_LIBRARY_PATH} + +#------ pyqt ------ +export PYQTDIR=${INSTALLROOT}/PyQt-3.3.2 +# --- set PYQT_SIPS as below, presence required during pyqt check during configure +export PYQT_SIPS=${PYQTDIR}/sip +export PYTHONPATH=${PYQTDIR}:${PYTHONPATH} +export PATH=${PYQTDIR}:${PATH} +export LD_LIBRARY_PATH=${PYQTDIR}:${LD_LIBRARY_PATH} + +#------ qwt ------ +export QWTHOME=${INSTALLROOT}/qwt-0.4.1 +export LD_LIBRARY_PATH=${QWTHOME}/lib:${LD_LIBRARY_PATH} + +#------ swig ------ +export SWIG_ROOT=${INSTALLROOT}/SWIG-1.3.17 +export PATH=${SWIG_ROOT}/bin:${PATH} +export SWIG_LIB=${SWIG_ROOT}/lib/swig1.3 +export LD_LIBRARY_PATH=${SWIG_ROOT}/lib:${LD_LIBRARY_PATH} + +#------ cas ------ +export CASROOT=${INSTALLROOT}/CAS-5.2 +export LD_LIBRARY_PATH=${CASROOT}/lin/lib:${LD_LIBRARY_PATH} +# Variable for Foundation Classes : +export CSF_UnitsLexicon=${CASROOT}/src/UnitsAPI/Lexi_Expr.dat +export CSF_UnitsDefinition=${CASROOT}/src/UnitsAPI/Units.dat +# Variable for DataExchange : +export CSF_SHMessageStd=${CASROOT}/src/SHMessageStd +export CSF_XSMessage=${CASROOT}/src/XSMessage +# Variable for Font : +export CSF_MDTVFontDirectory=${CASROOT}/src/FontMFT +export CSF_MDTVTexturesDirectory=${CASROOT}/src/Textures + +#------ hdf ------ +export HDF5HOME=${INSTALLROOT}/hdf5-1.4.4 +export PATH=${HDF5HOME}/bin:${PATH} +export LD_LIBRARY_PATH=${HDF5HOME}/lib:${LD_LIBRARY_PATH} + +#------ med ------ +export MED2HOME=${INSTALLROOT}/med-2.2.2. +export PATH=${MED2HOME}/bin:${PATH} +export LD_LIBRARY_PATH=${MED2HOME}/lib:${LD_LIBRARY_PATH} + +#------ vtk ------ +export VTKHOME=${INSTALLROOT}/VTK-4.2.2 +export PYVTK_PATH=${VTKHOME}/lib/vtk +export LD_LIBRARY_PATH=${PYVTK_PATH}:${LD_LIBRARY_PATH} +export PYTHONPATH=${VTKHOME}/Wrapping/Python:${PYVTK_PATH}:${PYTHONPATH} +export PATH=${VTKHOME}/bin:${PATH} + +#------ omni ------ +export OMNIORBDIR=${INSTALLROOT}/omniORB-3.0.5 +# --- OMNIORB_CONFIG is often modified by user +export OMNIORB_CONFIG=${HOME}/.salome.omniORB.cfg +export PYTHONPATH=${OMNIORBDIR}/lib/python:${OMNIORBDIR}/lib/i586_linux_2.0_glibc2.1:${PYTHONPATH} +export PATH=${OMNIORBDIR}/bin/i586_linux_2.0_glibc2.1:${PATH} +export LD_LIBRARY_PATH=${OMNIORBDIR}/lib/i586_linux_2.0_glibc2.1:${LD_LIBRARY_PATH} + +#------ boost --------- +export BOOSTDIR=${INSTALLROOT}/boost_1_31_0 + +#------ doxygen ------ +export PATH=${INSTALLROOT}/doxygen-1.3-rc2/bin:${PATH} + +#------ graphviz ------ +export PATH=${INSTALLROOT}/graphviz-1.9/bin:${PATH} +export LD_LIBRARY_PATH=${INSTALLROOT}/graphviz-1.9/lib/graphviz:${LD_LIBRARY_PATH} + + +# ----- tix ----------- +export PATH=${INSTALLROOT}/tix8.1.4/bin:${PATH} +export LD_LIBRARY_PATH=${INSTALLROOT}/tix8.1.4/lib:${LD_LIBRARY_PATH} +export TIXHOME=${INSTALLROOT}/tix8.1.4 +export TIX_LIBRARY=${INSTALLROOT}/tix8.1.4/lib/tix8.1 + +#------ netgen ------ +export NETGENHOME=${INSTALLROOT}/netgen4.3/install + +