Last change
on this file since 67 was
16,
checked in by rock, 17 years ago
|
|
-
Property svn:executable set to
*
|
File size:
877 bytes
|
Rev | Line | |
---|
[16] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | apt-get install -y ksh gcc-3.3 g++-3.3 cpp-3.3 g77-3.4 |
---|
| 4 | |
---|
| 5 | cd /usr/bin |
---|
| 6 | echo "linking the compiler link" |
---|
| 7 | ln -sf gcc-3.3 gcc |
---|
| 8 | ln -sf g++-3.3 g++ |
---|
| 9 | ln -sf cpp-3.3 cpp |
---|
| 10 | ln -sf g77-3.4 g77 |
---|
| 11 | |
---|
| 12 | if [ -f /bin/sort ]; then |
---|
| 13 | echo "checking sort ..ok"; |
---|
| 14 | else |
---|
| 15 | echo " linking /bin/sort" |
---|
| 16 | ln -sf /usr/bin/sort /bin/sort |
---|
| 17 | fi |
---|
| 18 | |
---|
| 19 | if [ -f /bin/awk ]; then |
---|
| 20 | echo "checking awk .. ok"; |
---|
| 21 | else |
---|
| 22 | echo "linking /bin/awk" |
---|
| 23 | ln -sf /usr/bin/awk /bin/awk |
---|
| 24 | fi |
---|
| 25 | |
---|
| 26 | if [ ! -f "/usr/src/linux-headers-2.6.20-15-generic/include/linux/config.h" ]; then |
---|
| 27 | echo "copy the config.h" |
---|
| 28 | cp /usr/lpp/mmfs/src/config/config.h /usr/src/linux-headers-2.6.20-15-generic/include/linux/ |
---|
| 29 | |
---|
| 30 | fi |
---|
| 31 | |
---|
| 32 | #declare -x SHARKCLONEROOT="/usr/lpp/mmfs/src" |
---|
| 33 | #echo $SHARKCLONEROOT; |
---|
| 34 | |
---|
| 35 | echo "please type the three instructions in order :" |
---|
| 36 | echo "\" export SHARKCLONEROOT=\"/usr/lpp/mmfs/src\" " |
---|
| 37 | echo "\" make \" " |
---|
| 38 | echo "\" make InstallImages \"" |
---|
| 39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.