biuld occ on linux

Hi,

I am really interested to work witt occ on Linux. I followed everything based on documentation. I was successful until "make install", but after that I get the following error:
----------------------------------------------------------------------
make[3]: Leaving directory `/scratch/hasadi/local/occt-6.5.5/ros/adm/make/TKOffset'
make[2]: Leaving directory `/scratch/hasadi/local/occt-6.5.5/ros/adm/make/TKOffset'
make[2]: Entering directory `/scratch/hasadi/local/occt-6.5.5/ros/adm/make'
make[3]: Entering directory `/scratch/hasadi/local/occt-6.5.5/ros/adm/make'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/scratch/hasadi/local/occt-6.5.5/ros/adm/make'
make[2]: Leaving directory `/scratch/hasadi/local/occt-6.5.5/ros/adm/make'
make[1]: Leaving directory `/scratch/hasadi/local/occt-6.5.5/ros/adm/make'
make[1]: Entering directory `/scratch/hasadi/local/occt-6.5.5/ros'
make[2]: Entering directory `/scratch/hasadi/local/occt-6.5.5/ros'
/usr/bin/install -c -d /scratch/hasadi/local/occt-6.5.5/ros/Linux
make[2]: Nothing to be done for `install-data-am'.
if [ -e /scratch/hasadi/local/occt-6.5.5/ros/bin -a ! -e /scratch/hasadi/local/occt-6.5.5/ros/Linux/bin ]; then \
     cd /scratch/hasadi/local/occt-6.5.5/ros/Linux && ln -s ../bin bin; \
fi
if [ -e /scratch/hasadi/local/occt-6.5.5/ros/lib -a ! -e /scratch/hasadi/local/occt-6.5.5/ros/Linux/lib ]; then \
     cd /scratch/hasadi/local/occt-6.5.5/ros/Linux && ln -s ../lib lib; \
fi
buildd=`pwd`; cd .; sourced=`pwd`; cd /scratch/hasadi/local/occt-6.5.5/ros; installd=`pwd`; cd $buildd; \
if [ "$installd" != "$sourced" ]; then \
     /usr/bin/install -c -d /scratch/hasadi/local/occt-6.5.5/ros/inc; \
     cp -frL ./inc /scratch/hasadi/local/occt-6.5.5/ros; \
     cp -frL $buildd/config.h /scratch/hasadi/local/occt-6.5.5/ros; \
     for d in OS UnitsAPI ; do \
          /usr/bin/install -c -d /scratch/hasadi/local/occt-6.5.5/ros/src/$d; \
          cp -frL ./src/$d /scratch/hasadi/local/occt-6.5.5/ros/src; \
     done; \
fi
if [ -e /scratch/hasadi/local/occt-6.5.5/ros/inc/config.h ]; then \
     unlink /scratch/hasadi/local/occt-6.5.5/ros/inc/config.h; \
fi
cd /scratch/hasadi/local/occt-6.5.5/ros/inc && ln -s ../config.h config.h
cd . && cp *.sh /scratch/hasadi/local/occt-6.5.5/ros
cp: `custom.sh' and `/scratch/hasadi/local/occt-6.5.5/ros/custom.sh' are the same file
cp: `draw.sh' and `/scratch/hasadi/local/occt-6.5.5/ros/draw.sh' are the same file
cp: `env.sh' and `/scratch/hasadi/local/occt-6.5.5/ros/env.sh' are the same file
make[2]: *** [install-exec-local] Error 1
make[2]: Leaving directory `/scratch/hasadi/local/occt-6.5.5/ros'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/scratch/hasadi/local/occt-6.5.5/ros'
make: *** [install-recursive] Error 1

I will be grateful if you guys please help me.

thanks in advance

H as's picture

sorry for the typo. "build occ on linux"