Download OpenCASCADE654.tar.gz from http://www.opencascade.org you have to register
You have to complete compilation of tcltk, freetype, ftgl, gl2ps, freeimage and qt.
export MMGT_REENTRANT=1
# this variable only needed for DRAWEXE
export CASROOT=/opt/occ/6.5.4
module load tbb/3.0-018
./build_configure
./configure –prefix=/opt/occ/6.5.4 –exec-prefix=/opt/occ/6.5.4 –oldincludedir=/opt/occ/6.5.4/include –with-tcl=/opt/tcltk/8.5.13/lib –with-tk=/opt/tcltk/8.5.13/lib –with-java-include=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/include –with-freetype=/opt/freetype/2.4.10 –with-ftgl=/opt/ftgl/2.1.3rc5 –with-gl2ps=/opt/gl2ps/1.3.5 –with-freeimage=/opt/freeimage/3.14.1 –with-tbb-include=/opt/tbb/3.0-018/include –with-tbb-library=/opt/tbb/3.0-018/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21 –with-qt=/opt/qt/4.8.6
make -j4
make install
Note: the tbb 3.0-018 was found in the salome-platform installation…
module file /etc/modulefiles/occ/6.5.4
#%Module1.0###########################################
##
## Discretizer AB modulefile
##
##
prepend-path PATH /opt/occ/6.5.4/bin
prepend-path LD_LIBRARY_PATH /opt/occ/6.5.4/lib