community.borland.com

Article #25659: linux install script requires ksh to run - alternate script interbase interclient

Problem:
This applies to InterBase 5.1 for Linux.

The install scripts provided for linux assumes that the korn shell is available.
This is not always the case.



Solution:
Both the install script for InterBase, and the install script for InterClient are affected.
You may either choose to install  pdksh on your system or to modify the install scripts.

To modify the scripts, you will need to do the following  :
1. Change the  #/bin/ksh     on line one of each shell scripts to  #/bin/sh
2. Replace every instance of  "print"  and  "print -n"   in the shell scripts with
    "echo"

    For example  :
          print -n "Please enter the license certificate id:"

changes to
          echo "Please enter the license certificate id:  "

After install, the InterBase install script will be located in /usr/interbase by default and
will be named "install" . 

In order to install InterClient, the tar file  "InterClient112_LI.tar" should be copied to a directory
on your hard drive (you will need to mount the InterBase 5.1.1 CD in order to do this
[ex.: mount -r /dev/cdrom /mnt]) from the CD.
After the file is copied,  tar xvf the file, which will create a temporary sub-directory
"interclient_temp_install_dir".  You can cd to this sub-directory and substitute the
shell script provided below for "install.sh".   install.sh can be run from that location
in order to install interclient.
ToBelow is a version of the install shell script designed to run with the bourne shell 
(which is provided by default).

Last Modified: 24-OCT-00