|| | |||Browse by category|
SPM generates errors when installing products with the default installation of RedHat Linux.
The default installation of Linux:
- Does not install the K-Shell (ksh) and
- Has grep and sed in /bin and dirname in /usr/bin.
Our scripts start with #!/bin/ksh, which launches ksh. To avoid problems with the installation, make sure that the ksh is installed on the Linux system. ksh is on the RedHat CD and can be installed as an option (although it isn't selected by default). It is also available via FTP at http://metalab.unc.edu/pub/Linux/system/shells/pdksh-5.2.8.tar.gz. ksh must be installed or symbolically linked into the /bin directory for the scripts to work correctly. (If ksh is in /usr/bin, use this command line to create a symbolic link: ln -s /usr/bin/ksh /bin/ksh )
For our scripts to work, sed, dirname, and grep need to be in the same directory. To get the sed, dirname, and grep to work correctly with the SPM scripts, you must either move dirname into the /bin directory or symbolically link ( ln -s /usr/bin/dirname /bin/dirname ) dirname into the /bin directory, and make sure that /bin is in the PATH environment variable before /usr/bin. Otherwise, SPM will see the /usr/bin/dirname before it sees /bin/dirname (whether it was a copy or a link).
Once you have made these modifications, restart SPM and install the products.