./setup_install_server not working on RHEL5

[root@rhel5srv Tools]# uname -a
Linux rhel5srv 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

[root@rhel5srv Tools]# mount
....
/dev/mapper/OsImageVG-rhel5LV on /OSIMAGE/rhel5 type ext3 (rw)
/dev/mapper/OsImageVG-solaris10LV on /OSIMAGE/solaris10 type ext3 (rw)
/dev/hda on /mnt/cdrom type iso9660 (ro)

[root@rhel5srv Tools]# pwd
/mnt/cdrom/Solaris_10/Tools

[root@rhel5srv Tools]# ./setup_install_server /OSIMAGE/solaris10/
./setup_install_server: line 785: mach: command not found
./setup_install_server: line 88: /usr/bin/sed: No such file or directory
./setup_install_server: line 89: [: !=: unary operator expected
Verifying target directory...
Calculating the required disk space for the Solaris_10 product
|\b\c
/\b\c
Calculating space required for the installation boot image
./setup_install_server: line 1064: [: 2485588: unary operator expected
Copying the CD image to disk...
|\b\c
./setup_install_server: line 1078: bar: command not found
./setup_install_server: line 1078: bar: command not found
ERROR: Copy of CD image failed
[root@rhel5srv Tools]#

Question: I am trying to setup RHEL5 as Solaris 10 install server. I am getting the above error. why is it giving error?

Question: Can i just use cp command to copy entire Solaris 10 DVD on local disk? or running script is required?

What do it script do ? =\ How project ?

i guess this is wrong place to put this question.
The script copies the entire cd/dvd onto the computer. It comes on solaris 10 cd/dvd.