Nortel Networks 3395 Network Card User Manual


 
Installing the APGEN Utility
893-769-A 2 -7
Run the APGEN installation script. Unless you use the -d argument with the Install command, the
script prompts you for information while it is executing. This information helps to determine the best
way to install or compile the source file. The prompts vary according to the UNIX implementation,
the particular C compiler and libraries, and the directory structure on the host.
In most situations, you can accept the defaults. To do this, enter the following, hitting the <Return>
key twice:
% Install -d
To run the install script with prompts, enter the following:
% Install
The install script is a Bourne shell script. For supported hosts, the script automatically determines the
host type, looks for libraries, and installs software into default locations.
Each prompt includes the default choice in brackets. To accept the default choice, press the <Return>
key. To enter a different choice, enter the choice and press the <Return> key. For example, the first
prompt that usually appears on the screen is the following:
Where do you want the executables installed (~name ok)?
[/usr/local/bin]
If you want the script to move the APGEN utility into /usr/local/bin, press the <Return> key and the
script will continue. If you want the APGEN utility in a different location, enter the pathname and
press the <Return> key. Some prompts will include the option to use the ~name construct. This
allows you to direct the script to use the default login directory belonging to the user specified in the
~name variable. For example, if you specified ~gsmith, the script will move the executable image
into the log login directory of user gsmith.
If you cannot respond to a prompt from the script, you can use the ! command to escape from the shell
and execute a command or start a subshell. You might want to do this to obtain the names of libraries
or the location of a directory.
While it is executing, the script displays status messages describing the installation process, and the
following prompt:
[Type carriage return to continue]
Press the <Return> key when you are ready to proceed with the script.