If you are upgrading from an earlier version of Insure++, please consult the Release Notes for upgrade notes and other information.
We strongly recommend completely removing prior versions of Insure++ before you installing new versions |
Run the installer for your architecture and follow the onscreen directions.
You can install either a machine-locked (local) license or network license served from Parasoft License Server (sold separately). License server manages licensing across your team or organization.
Open a command prompt and change to the directory you want to use for your Insure++ installation and make a directory (e.g., mkdir /usr/local/parasoft
).
When Insure++ is configured during installation, it must be configured for the development environment so that the proper compilers will be configured. Be sure to use a directory where Insure++ can use the same compilers that you would normally use during development. |
cd /usr/local/parasoft
). All subsequent steps must be performed in the new directory. The remainder of this chapter assumes that you have chosen to install the software in a directory called /usr/local/parasoft (as indicated above). If you actually chose a different name, you will have to modify the following commands appropriately.
uncompress -c <tar_file> | tar xvf - install
gzip dc <gzipped_tar_file_name> | tar xvf - install
Run the installation script (./install
) and confirm that you want to install Insure++ in the current directory when prompted. When the installation is complete, the following directories will be added to the directory:
Directory | Contents |
---|---|
bin | Insure++ executables |
lib | Insure++ libraries and interfaces |
src | Insure++ interface source code |
examples | Insure++ example programs and scripts for customizing your use of Insure++ |
insra | Insra help files |
Inuse/ | Inuse help files |
man/ | Insure++ user’s manual |
tca/ | TCA help files |
configure | Insure++ compiler configuration script |
install | Insure++ installation script |
yes
to any compiler you might use with Insure++ in the future. You can change this configuration later by executing the ./configure
script.sdtderr
or Insra (a GUI report viewer) by default when prompted. You can change this configuration later by executing the ./configure
script.When installation and configuration are complete, Insure++ will check for a license.
After installing and configuring the necessary files, the installation script will look for a valid license for Insure++. If one is not found, you will be prompted to install one. Confirm to start the Parasoft License Manager (pslic
). You can complete other Insure++ setup steps, but you will not be able to use Insure++ until a valid license is found.
If Parasoft License Manager cannot open a .psrc file, verify that you have write permission in the installation directory and/or run pslic
as superuser. Parasoft License Manager will print out your machine and network IDs. Provide this information to Parasoft so that we can provide you with a license.
pslic
and choose (A)dd a license
(E)xit and save changes
when finished to to exit and save changes. If you are using Parasoft's License Server to manage a floating license, specify the License Server host and port number in your .psrc file:
LicenseServer.host hostname LicenseServer.port port |
Replace "hostname" and "port" with the name of the machine hosting License Server and the port number License Server is using.
Insure++ can run on a different host from the one registered with License Server as long as the .psrc file for the new machine is altered to include the necessary shared network license information. For example, if the License Server is running on HostA, and the user runs Insure++ from HostB, then add the following information in the .psrc file wherever Insure++ is installed in HostB:
LicenseServer.host HostA LicenseServer.port 2002 registertool LicenseServer 1.0 |
If you are using License Server in the client where Insure++ is installed, you do not need to run or configure pslic.
You must add the directory containing the executables to your execution path. You can the directory to the definition of either the path or PATH variables according to the shell you are using.
The executables directory will have a name that can be derived from the type of system you are running on and is provided by the install script. The following command demonstrates how to set the path for a typical C-shell command:
path=($path /usr/local/insure/bin)
The following command demonstrates how to set the path for a typical sh, ksh, or bash command:
PATH=$PATH:/usr/local/insure/bin
If you are in doubt as to which directory to put on your search path, ask your system administrator for help.
After modifying the appropriate configuration files, you should execute the following commands to modify your working environment:
source ~/.cshrc rehash |
Change to the Insure++ examples directory and run the makefile to run an example:
cd $PARASOFT/examples/c make all
See the following sections for additional information: