| | | | Browse by category |
Article ID: 1098
Last updated: 01 Feb, 2008
Problem
SPM generates errors when installing products with the default installation of RedHat Linux.
Cause
The default installation of Linux:
Action
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 )
SPM generates errors when installing products with the default installation of RedHat Linux.
Cause
The default installation of Linux:
- Does not install the K-Shell (ksh) and
- Has grep and sed in /bin and dirname in /usr/bin.
Action
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.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 1098
Last updated: 01 Feb, 2008
Revision: 1
Views: 6876
Posted: 08 Oct, 1999 by
Dean J.
Updated: 01 Feb, 2008 by
Dean J.
Others in this category
Powered by KBPublisher (Knowledge base software)