TotalView Installation Guide : Installing TotalView Using tar Files : Step 2: Running the Install Program
Step 2: Running the Install Program
*Before you can run TotalView, you must obtain a licence. You can obtain one by filling in the form located at http://www.roguewave.com/request-demo.aspx.
This section describes how you install a new version of TotalView. Before starting, you should read the Release Notes on our web site. In addition, some operating systems may need to be patched. For more information, see the TotalView Platforms and System Requirements guide.
Here is the procedure for installing TotalView:
1 (Optional) Go to the system upon which you will be installing TotalView and become the root user:
su root
*In some circumstances (particularly on a Macintosh), you’ll want to use the sudo command instead of su. If you use the sudo command, you’ll be typing sudo ./Install instead of ./Install in step 2.
Installing TotalView as the root user prevents users from modifying the software. However, you should not run TotalView as root.
2 Go to the directory containing the files extracted from the downloaded tar file and then start the Install program by typing:
./Install
For information on using this command, type ./Install -help. If you use any of the options described in this displayed information, the installation procedure is no longer interactive.
3 The Install program asks you to accept the license terms for TotalView. You can respond Yes to accept, No to decline, or ? to view the license terms. You must accept the license terms to continue the installation.
4 The Install program asks that you name an installation directory. If the directory you specify does not exist, the program requests a new location, effectively meaning the directory you specify must already exist.
If you do not enter a name, the installation directory will either be /usr/toolworks or /opt/toolworks—this is system-dependent. Type a period “.” to place TotalView in your current directory.
This manual refers to the installation directory’s pathname as installdir.
The Install program then creates a toolworks directory and places two subdirectories within it:
*totalview.version. This is where Install places TotalView.
*flexlm-version: This is where Install places the license manager.
*If you are installing TotalView on a Cray XT system, you should go to Step 7. For more information about your Cray installation, see Cray XT Installation”.
5 You are now asked to select which components you wish to install.
If you are installing TotalView for multiple platforms in a common NFS directory, you only need to install the common components once.
6 The Install program asks if it should create a symbolic link (named totalview) to this installation directory.
If you are not the root user, Install cannot create the link, so you should answer “n” (no). If Install cannot create the link, you can ignore its complaints and continue installing TotalView by pressing Enter.
7 If you became root using su, exit from root after Install concludes by typing:
exit
8 Test if TotalView was successfully installed by typing:
installdir/toolworks/totalview.version/bin/totalview
TotalView prints information that includes a version number and a message indicating that a license file is not installed.
If TotalView cannot initialize the license manager, it prints the following message:
Unable to initialize TotalView license
If you see this message, you need to confirm that you did install the license. You may need to set the LM_LICENSE_FILE environment variable to the installation directory. (This variable is described in the next step.)