United States |
Order Number: AA-PNAMF-TE
This guide contains instructions for installing Compaq C++ for OpenVMS VAX. It also explains how to read the online release notes before or after installing the product.
This guide also contains instructions for installing a version of the OpenVMS Version 6.0 Debugger that supports debugging of Compaq C++ programs. This debugger is packaged as a separate installation kit but is included on the same media as the Compaq C++ compiler.
Revision/Update Information: This is a revised guide.
Operating System & Version: OpenVMS VAX Version 5.5-2 or higher.
Software Version:
Compaq C++ for OpenVMS VAX Version 5.6C or higher
Compaq C++ Class Library Version 1.2 or higher
Compaq Computer Corporation
Houston, Texas
The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document.
The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license.
No responsibility is assumed for the use or reliability of software on equipment that is not supplied by Digital Equipment Corporation or its affiliated companies.
Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013.
©1992-1999 Digital Equipment Corporation
Compaq, the Compaq logo, Alpha, DEC, DECwindows, DIGITAL, OpenVMS, VAX, VMS are registered in the U.S. Patent and Trademark Office.
The following are third-party trademarks:
Motif is a registered trademark of Open Software Foundation Incorporated.
PostScript is a registered trademark of Adobe Systems Incorporated.
Other product names mentioned herein may be the trademarks of their respective companies.
This document is available on CD-ROM. This document was prepared using DECdocument, Version 3.2-1n.
Contents |
This guide describes how to install Compaq C++ on VAX processors running the OpenVMS operating system. It is intended for system managers. Keep this guide with your distribution kit in case you need it to reinstall Compaq C++ for OpenVMS VAX for any reason.
If you have any comments about this document, send them to Compaq. your comments will be considered for future revisions of the installation guide.
You may send comments or suggestions concerning this guide, or any Compaq C++ for OpenVMS VAX document, by electronic mail to the following Internet address:
cxx_docs@zko.dec.com
This guide contains three chapters and two appendixes:
In addition to this guide, the Compaq C++ for OpenVMS VAX Version 5.6C documentation set includes the following books:
For information on the Compaq C++ for OpenVMS VAX online release notes, see Chapter 1.
For general information on OpenVMS system management, see the OpenVMS operating system documentation set.
For help understanding OpenVMS system error messages, see the OpenVMS System Messages and Recovery Procedures Reference Manual or the online HELP/MESSAGE facility.
Table 1 lists the conventions used in this guide.
Convention | Meaning |
---|---|
UPPERCASE TEXT | Uppercase text indicates the name of a command, a file, a parameter, a procedure, or a utility. |
$ @SYS$UPDATE:VMSINSTAL | In interactive examples, prompts or displayed text appears in a monospace font. User input appears in bold monospace font. |
Ctrl/X | In interactive examples, a sequence such as Ctrl/X indicates that you must hold down the key labeled Ctrl while you press another key or a pointing device button; for example, Ctrl/C or Ctrl/Z. |
[YES] | Square brackets indicate that the enclosed item is a default value in a VMSINSTAL prompt. Also, square brackets serve as delimiters for a directory name in a file specification. |
Your bill of materials (BOM) and indented bills report (BIL) specify the number and contents of your media. Be sure to verify the contents of your kit with this information. If your kit is damaged or if you find that parts of it are missing, contact your local support representative.
Compaq C++ for OpenVMS VAX and the OpenVMS Version 6.0 Debugger both provide online release notes,
which are copied to SYS$HELP during installation. Compaq strongly
recommends that you read the release notes before proceeding with the
installation. For information on accessing the online release notes for
the Compaq C++ compiler, see step 5 in Section 2.2. For information
on accessing the online release notes for the OpenVMS Version 6.0 Debugger, see step 4
in Section 2.1.
1.1 License Registration
Before you install and run Compaq C++ for OpenVMS VAX on a newly licensed node (or cluster), you must first register a License Product Authorization Key (License PAK) using the License Management Facility (LMF). The License PAK may be shipped along with the kit if you ordered the license and media together; otherwise, it is shipped separately to a location based on your license order. If you are installing Compaq C++ for OpenVMS VAX as an update on a node or cluster already licensed for this software, you have already completed the License PAK registration requirements.
If you are installing prerequisite or optional software along with Compaq C++ for OpenVMS VAX, review the PAK status and install the PAKs for any prerequisite or optional software before you install Compaq C++ for OpenVMS VAX.
The OpenVMS Debugger does not support the LMF, so there are no PAKs to register to run the debugger with Compaq C++ for OpenVMS VAX.
You must register and load your license for Compaq C++ for OpenVMS VAX before you start the installation to run the Installation Verification Procedure (IVP) and use the software.
Log in to the system manager's account, SYSTEM. You have a choice of two ways to register a license:
If you plan to use Compaq C++ for OpenVMS VAX on more than one node in a VMScluster, you will need to perform a license load on the other nodes after you complete this installation. See Section 3.3.
For complete information on using the LMF, see the OpenVMS License Management Utility Manual.
1.2 Required Operating System Components and Software
Compaq C++ Version 5.6C for OpenVMS VAX requires the following components:
The OpenVMS VAX operating system comes with a variety of support options or components. Components include such features as networking and RMS journaling. To use Compaq C++ for OpenVMS VAX, your system should be running a version of OpenVMS VAX that includes the base component and the following:
The Compaq C/C++ Run-Time Components kit is distributed on the same media with the Compaq C++ kit, and comes with its own installation instructions. You can redistribute the Compaq C/C++ Run-Time Components kit and its documentation to remote sites that develop applications written in Compaq C++ Version 5.6C for OpenVMS VAX. See the Compaq C/C++ Run-Time Components for OpenVMS VAX Reference and Installation Guide for detailed installation and redistribution instructions.
Although they are both on the same media, you cannot install both the OpenVMS Version 6.0 Debugger kit and the Compaq C++ Version 5.6C OpenVMS VAX kit with a single invocation of VMSINSTAL. The Compaq C++ for OpenVMS VAX kit causes VMSINSTAL to check to ensure that the OpenVMS Version 6.0 Debugger installation is complete so that the Installation Verification Procedure (IVP) can test C++ debugging capabilities. If you try to install both kits with the same VMSINSTAL command, the Compaq C++ for OpenVMS VAX kit installs before the OpenVMS Version 6.0 Debugger kit because the compiler kit files (CXX05n) alphabetically precede the debugger kit files (DBG060). Requests to install the debugger kit first, by specifying DBG060 before CXX05n on the command line, are ignored. |
Table 1-1 provides information about optional software that you can use together with Compaq C++ for OpenVMS VAX.
Optional Product | Purpose |
---|---|
Compaq Language-Sensitive Editor (LSE) Version 4.0 or higher | Formatted language constructs simplify editing source programs. Support for Compaq C++ requires that LSE be installed before the compiler is installed. |
This section discusses the settings that you should check to be sure
that your system is ready for the installation of Compaq C++ for OpenVMS VAX to
proceed.
1.3.1 Deassigning DECset Debugger Logical Names
Although carrying out the procedure in Section 2.1 updates the system version of the OpenVMS Debugger, it does not modify any auxiliary version of the OpenVMS Debugger that may also exist on your system, such as the version supplied with DECset Version 11 or supplied with older versions of Compaq C++ for OpenVMS VAX. If they exist, executable images of these alternative versions of the debugger are activated using system logical names. To install this Compaq C++ for OpenVMS VAX kit properly, you must remove the following logical names before installing the OpenVMS Version 6.0 Debugger on this Compaq C++ for OpenVMS VAX kit. Use the DEASSIGN/SYSTEM or DEASSIGN/SYSTEM/EXEC command to remove them:
DEBUG | DBGTBKMSG | DBG$UIHELP |
DEBUGSHR | VMSDEBUGUIL | DEBUGAPPCLASS |
DEBUGUISHR | DBG$HELP |
To install Compaq C++ for OpenVMS VAX, you must be logged in to an account that has SETPRV or at least the following privileges:
VMSINSTAL turns off BYPASS privileges at the start of the installation.
1.3.3 Process Account Quotas
VMSINSTAL requires that the installation account have minimum quotas as shown in Table 1-2.
Account Quota | Value |
---|---|
ASTLM | 190 |
BIOLM | 160 |
BYTLM | 99,000 |
DIOLM | 160 |
ENQLM | 4000 |
FILLM | 300 |
JTQUOTA | 4096 |
PGFLQUOTA | 20,000 |
Use the OpenVMS Authorize Utility to verify and change process quotas for the installation account in the user authorization file (UAF). (Some sites may restrict the use of the OpenVMS Authorize Utility to certain accounts or people.) For instance, to change the BYTLM quota for the account-name installation account, you might enter the following command sequence:
$ RUN SYS$SYSTEM:AUTHORIZE UAF> MODIFY account-name /BYTLM = 99000 UAF> SHOW account-name UAF> EXIT $ LOGOUT |
After the quotas for the installation account have been changed, log out of the installation account and log in again for the new quotas to take effect. You can then proceed with the installation.
User account quotas are stored in the file SYSUAF.DAT. For more
information on modifying account quotas, see the description of the
Authorize Utility in the OpenVMS System Management Subkit.
1.3.4 System Parameters
Table 1-3 lists the minimum required system parameter values for installing the OpenVMS Version 6.0 Debugger. Depending on the kinds of programs and applications running at your site, you might need higher values for some settings.
System Parameter | Minimum Value | Default Value |
---|---|---|
CLISYMTBL 1 | 500 | 500 |
GBLPAGES 2 | 6750 | 6750 |
GBLPAGFIL | 6750 | 6750 |
GBLSECTIONS 2 | 8 | 10 |
Table 1-4 lists the minimum required system parameter values for installing the Compaq C++ for OpenVMS VAX Version 5.6C compiler.
System Parameter | Minimum Value | Default Value |
---|---|---|
CLISYMTBL 1 | 500 | 500 |
GBLPAGES 2 | 2500 | 2500 |
GBLPAGFIL | 2500 | 2500 |
GBLSECTIONS 2 | 3 | 3 |
Remember to use SYS$SYSTEM:MODPARAMS.DAT and AUTOGEN when changing these settings. For example, to set GBLSECTIONS to 10, use ADD_GBLSECTIONS=10 or MIN_GBLSECTIONS=currentvalue+10 . Also remember to account for other usage of system parameters. Slightly overconfiguring OpenVMS operations or memory usage settings by 10% to 20%, or more is unlikely to incurr any performance penalty. For the specific overhead involved with increasing these settings, see the performance manual. |
Requirements for free disk storage space are different during installation and after installation. Table 1-5 summarizes the storage requirements.
Kit | Blocks During Installation | Blocks After Installation |
---|---|---|
Compiler kit | 29,000 | 19,500 |
OpenVMS Debugger kit | 22,000 | 1000 |
Run-Time Components kit | 15,000 | 5000 |
To determine the number of free disk blocks on the current system disk, enter the following command at the DCL prompt:
$ SHOW DEVICE SYS$SYSDEVICE |
At the beginning of the installation, VMSINSTAL asks if you have backed up your system disk. Compaq recommends that you back up your system disk before installing any software.
Use the backup procedures that are established at your site. For
details on performing a system disk backup, see the section on the
Backup Utility in the OpenVMS System Management Subkit.
1.3.7 Additional System Maintenance Procedures
This section explains how to use the System Generation Utility (SYSGEN)
and the AUTOGEN Utility to prepare your system for an installation of
Compaq C++. AUTOGEN uses system configuration data to automatically
set system parameters.
1.3.7.1 Checking System Parameter Values
To check the values of your system parameters, enter the following command:
$ RUN SYS$SYSTEM:SYSGEN SYSGEN> |
At the SYSGEN> prompt, enter the SHOW command to display the value of a system parameter. The following example displays the value for the WSMAX system parameter:
SYSGEN> SHOW WSMAX |
After checking the parameters with the SHOW command, enter the EXIT
command at the SYSGEN> prompt to return to DCL level. For
information on setting dynamic system parameter values, see
Section 1.3.7.4.
1.3.7.2 Calculating the Values for Global Pages and Global Sections
To install and run Compaq C++ for OpenVMS VAX, you must have sufficient free global pages, global sections, and contiguous global pages. You must first find out how many free global pages and sections you have on your system. Then use AUTOGEN if you need to increase the global pages and global sections system parameters.
Enter the following DCL command to determine the number of global pages required by SYS$LIBRARY:DCLTABLES.EXE:
$ DIR/SIZE SYS$LIBRARY:DCLTABLES.EXE |
This command returns the size (in blocks) of SYS$LIBRARY:DCLTABLES.EXE. As an approximation, use this figure as the number of global pages for the file.
Table 1-6 lists the requirements for the number of contiguous global pages needed during installation. Note that the values represent the number of pages required for installation, not the number you need to run your system and other software.
Product Installation | Minimum Value | Default Value |
---|---|---|
OpenVMS Version 6.0 Debugger | 900 | 95 |
Compaq C++ Version 5.6C | 900 | 95 |
You can use the WRITE command with the F$GETSYI lexical function to find the number of contiguous global pages and free global sections. The following example shows how to get this information at your terminal (the default for SYS$OUTPUT):
$ WRITE SYS$OUTPUT F$GETSYI("CONTIG_GBLPAGES") 15848 $ WRITE SYS$OUTPUT F$GETSYI("FREE_GBLSECTS") 24 |
If the values displayed by the system are greater than the values in Tables 1_3, 1_4, and 1-6, you do not need to increase the values for these parameters. If the value of free global pages or global sections is less than the value in Table 1-3 or Table 1-4, you must increase the system parameter setting.
Section 1.3.7.3 describes the procedures for increasing these values using
AUTOGEN.
1.3.7.3 Changing System Parameter Values with AUTOGEN
Use the AUTOGEN command procedure to change system parameters. AUTOGEN automatically adjusts values for parameters that are associated with the values you reset manually. To change system parameters with AUTOGEN, edit the following file:
SYS$SYSTEM:MODPARAMS.DAT |
Use an editor to access the file. To change a parameter value listed in this file, delete the current value associated with that parameter and enter the new value.
To add a new parameter, add a line to the file that includes both the name of the parameter and its value. For example:
WSMAX = 8096 |
To modify incremental parameters such as free global pages and global sections, use ADD_GBLPAGES or ADD_GBLSECTS. The following example increases the global page setting by 2000:
ADD_GBLPAGES = 2000 |
When you set the page file quota, do not use a value that exceeds the amount of page file space available on the system.
After you make all your changes, exit from the editor and execute the AUTOGEN procedure to recalculate your system parameters. The following command recalculates your system parameters and reboots the system:
$ @SYS$UPDATE:AUTOGEN GETDATA REBOOT |
When you specify REBOOT, AUTOGEN performs an automatic system shutdown and then reboots the system. Any users logged on to the system are disconnected immediately during the shutdown. The automatic reboot puts the new parameter values into effect.
AUTOGEN automatically adjusts some of the SYSGEN parameters based on the consumption of resources since the last reboot. If you do not want to take advantage of this automatic adjustment, include the /NOFEEDBACK qualifier on the AUTOGEN command line.
For more information about using AUTOGEN, see the system management
documentation for your operating system.
1.3.7.4 Setting Dynamic System Parameter Values
Use SYSGEN to set dynamic parameters. Dynamic parameters changed with the SYSGEN command WRITE ACTIVE become active immediately without any need to reboot your system. Rebooting returns dynamic system parameter values to their previous settings.
After you change the dynamic parameter values, you should complete the installation before rebooting the system. After you finish the installation, you can reset the dynamic parameters to their previous values or let them be reset automatically when you reboot your system the next time.
If the dynamic parameter values on your system are less than the values previously listed, use the following series of commands to change the values. This example changes the CLISYMTBL value to 500:
$ RUN SYS$SYSTEM:SYSGEN SYSGEN> USE ACTIVE SYSGEN> SET CLISYMTBL 500 SYSGEN> WRITE ACTIVE SYSGEN> EXIT |
After you register and load the License Product Authorization Key
(License PAK), the installation takes approximately 5 to 30 minutes
depending on your system configuration and the kit components chosen.
2.1 Installing the OpenVMS Version 6.0 Debugger
This section explains how to install the OpenVMS Version 6.0 Debugger on systems running OpenVMS VAX Version 5.5-2. This procedure does not apply to systems already running OpenVMS VAX Version 6.0 or higher.
The OpenVMS Version 6.0 Debugger has its own installation kit stored on the same media as the Compaq C++ installation kit and must be installed as a separate step before installing the compiler if the installing system is running a version of OpenVMS VAX lower than Version 6.0. If your installation medium is tape, install the OpenVMS Debugger before the Compaq C++ compiler to avoid errors when installing the compiler kit.
If you try to install the OpenVMS Version 6.0 Debugger kit on a system running Version 6.0 or higher, the installation will fail. |
This section contains excerpts from the installation procedure and explains each step. Defaults appear in brackets ([]) throughout the installation procedure.
To abort the installation procedure at any time, press Ctrl/Y. When you press Ctrl/Y, the installation procedure deletes all files it has created up to that point and then returns you to DCL level. If you want to retry the installation after pressing Ctrl/Y, you must proceed from step 2.
Username: SYSTEM Password: $ SET DEFAULT SYS$UPDATE |
$ @VMSINSTAL DBG060 MUA0: OPTIONS N OpenVMS VAX Software Product Installation Procedure Vn.n It is dd-mmm-yyyy at hh:mm. Enter a question mark (?) at any time for help. * Are you satisfied with the backup of your system disk [YES]? [Return] |
Please mount the first volume of the set on MUA0:. * Are you ready? YES The following products will be processed: DBG V6.0 Beginning installation of DBG V6.0 at hh:mm %VMSINSTAL-I-RESTORE, Restoring product save-set A... |
Release Notes Options: 1. Display release notes 2. Print release notes 3. Both 1 and 2 4. Copy release notes to SYS$HELP 5. Do not display, print, or copy release notes * Select option [2]: |
* Queue name [SYS$PRINT]: CLUSTER_PRINT |
* Do you want to continue the installation [N]?: YES %VMSINSTAL-I-RELMOVED, The product release notes have been successfully moved to SYS$HELP. |
* Do you want to run the IVP after the installation [YES]? * Do you want to run the interactive DECwindows Motif IVP [NO]? |
* Do you want to purge files replaced by this installation [YES]? |
SYS$HELP:DBG$DSHELP.HLB
SYS$HELP:DBG$DSUIHELP.HLB
%VMSINSTAL-I-MOVEFILES, files will now be moved to their target directories... |
**************************************************************************** * * * Beginning the Debug V6.0 Verification Procedure * * * **************************************************************************** **************************************************************************** * * * Debug verification procedure successful * * * **************************************************************************** |
**************************************************************************** * * * Beginning the Debug V6.0 Verification Procedure * * using the Motif Windows User Interface * * * **************************************************************************** %DBG-I-IVP, The IVP will display on _WSA1: When the windows come up, do the following: - Go to the command window and click on the STEP button twice. - Pull down the FILE menu and click on EXIT. - Click the OK button to exit the debugger. |
%DBG-S-IVP, The IVP has completed. Installation of DBG V6.0 completed at hh:mm |
This machine is not a workstation. Skipping display-oriented tests. |
Installation of DBG V6.0 completed at hh:mm VMSINSTAL procedure done at hh:mm $ LOGOUT SYSTEM logged out at dd-mmm-yyyy hh:mm |
The file DEBUG$STARTUP.COM contains commands to install the OpenVMS Version 6.0 Debugger images.
OpenVMS Version 6.0 Debugger Files
The installation procedure puts the following files in the following directories on the system:
Directory | File Name |
---|---|
SYS$LIBRARY |
DEBUG.EXE
DEBUGSHR.EXE DEBUGUISHR.EXE TRACE.EXE DEBUGUIL.UID |
SYS$HELP |
DBG$HELP.HLB
DBG$DW$HELP.HLB |
SYS$MESSAGE | DBGTBKMSG.EXE |
SYS$TEST |
DBG$IVP.COM
IVP_IMAGE.PAS IVP_IMAGE.EXE IVP_SCRIPT.TST IVP_SCRIPT.OUT_OLD |
If it is not already inserted, place the compact disc (CD-ROM) media into the CD-ROM drive.
To abort the installation procedure at any time, press Ctrl/Y. When you press Ctrl/Y, the installation procedure deletes all files it has created up to that point and exits. You can then start the installation again.
When the system prompts you with a question during the installation procedure, the default answer is often listed in brackets ([]).
Username: SYSTEM Password: |
@SYS$UPDATE:VMSINSTAL saveset-name device-name option-list |
To start the installation, invoke the VMSINSTAL command procedure
from a privileged account, such as the SYSTEM account. VMSINSTAL is in
the SYS$UPDATE directory. The elements that you specify when you invoke
the VMSINSTAL command procedure are as follows:
saveset-name
The installation name for the component. For Compaq C++ for OpenVMS VAX, use the following installation name:
CXX05n
n represents the minor (point) release number for Compaq C++ for OpenVMS VAX.
To obtain the save-set name, enter a DIRECTORY command specifying the directory file from the previous command:
$ DIRECTORY DKA400:[CXX05n.KIT]CXX05n.A
n represents the minor release of Compaq C++ for OpenVMS VAX.device-name
The name of the device on which you plan to mount the media and the directory containing the Compaq C++ for OpenVMS VAX save set. For example, DKA400: is the device name used in examples in this guide. The directory is [CXX05n], where n is the minor release number.
To specify the device name on the @VMSINSTAL command line, enter:
DKA400:[CXX05n]option-list
The word OPTIONS followed by one or more of the following option designators---A, G, L, N, R:
- Auto_answer option (A)
Initially creates a file that contains your answers to VMSINSTAL questions and prompts. You can then use the option (and the answer file) to save time during a reinstallation (typically after upgrading your system).- Get save-set option (G)
Lets you store product save sets temporarily on a magnetic tape or in a disk directory.- File log option (L)
Logs all activity to the terminal during installation.- Display or print the release notes (N)
Indicates that you want to see the installation question on release notes. If you do not include the N option, VMSINSTAL does not ask you about the release notes. You should review the release notes before proceeding with the installation in case they contain additional information about the installation.
If you are restarting the installation and have already reviewed the release notes, you do not need to specify the N option. (Even if you omit the N option when you invoke VMSINSTAL, the DEC C++ for OpenVMS VAX Release Notes are copied automatically to the SYS$HELP directory.)- Alternative root option (R)
Lets you install the product to a system root other than that of the running system.
For detailed information on these software installation options, see the OpenVMS operating system documentation. If you specify more than one option, separate the options with commas, such as OPTIONS A,N.
$ @SYS$UPDATE:VMSINSTAL CXX05n DKA400:[CXX05n] OPTIONS N OpenVMS VAX Software Product Installation Procedure V6.1 It is dd-mmm-yyyy at hh:mm. Enter a question mark (?) at any time for help. |
* Do you want to continue anyway [NO]? YES |
* Are you satisfied with the backup of your system disk [YES]? |
* Where will the distribution volumes be mounted: DKA400:[CXX05n] |
The following products will be processed: CXX V5.n Beginning installation of CXX V5.n at hh:mm %VMSINSTAL-I-RESTORE, Restoring product save set A... |
SYS$HELP:CXX05n.RELEASE_NOTES SYS$HELP:CXX05n_RELEASE_NOTES.PS |
$ HELP CXX RELEASE_NOTES |
The name of the release notes file (installed by VMSINSTAL) consists of the current product name and version number. |
* Do you want to purge files replaced by this installation [YES]? YES |
Compaq C++ requires a Product Authorization Key (PAK) be registered and loaded. Answer the following question with YES if at least one PAK with the specified product name and a date equal to or later than the date shown is registered and loaded, otherwise answer NO. Product: CXX-V, CXX-V-USER, CXX-V-G Producer: DEC Version: 5.n Release Date: dd-mmm-yyyy |
* Does this product have an authorization key registered and loaded?: YES |
This kit contains an Installation Verification Procedure (IVP) to verify the correct installation of the Compaq C++ compiler. The IVP will be placed in: SYS$TEST:CXX$IVP.COM After the installation is complete, you can invoke the command file at any time to reverify that Compaq C++ is installed and working correctly. * Do you want to run the IVP after the installation [YES]? |
SYS$HELP:CXX056.RELEASE_NOTES [new] SYS$HELP:CXX056_RELEASE_NOTES.PS [new] SYS$SYSTEM:CXX$COMPILER.EXE [new] SYS$MESSAGE:CXX$MSG_SHR.EXE [new] SYS$SYSTEM:CXX$DEMANGLE.EXE [new] SYS$SYSTEM:CXX$LINK.EXE [new] SYS$SYSTEM:CXX$LINK_MSG.EXE [new] SYS$HELP:HELPLIB.HLB [modified] SYS$COMMON:[SYSHLP.CXX$HELP]*.* [new] SYS$LIBRARY:DCLTABLES.EXE [modified] SYS$LIBRARY:DECC$RTLDEF.TLB [new] DECC$LIBRARY_INCLUDE:*.H [new] SYS$LIBRARY:CXXL$DEF_H.TLB [new] SYS$LIBRARY:CXXL$DEF_HXX.TLB [new] CXX$LIBRARY_INCLUDE:*.H,*.HXX [new] SYS$TEST:CXX$IVP.COM [new] SYS$STARTUP:CCXX$STARTUP.COM [new] SYS$LIBRARY:CXXL$ANSI_DEF.TLB [new] SYS$LIBRARY:LIBCXXSTD.OLB [new] SYS$LIBRARY:DECC$CRTL.OLB [new] SYS$LIBRARY:DECC$CRTL.EXE [new] SYS$LIBRARY:DECC$CRTL.README [new] |
%VMSINSTAL-I-MOVEFILES, Files will now be moved to their target directories... |
Compaq C++ V6.2 Installation Verification Procedure completed successfully |
Installation of CXX V5.n completed at hh:mm VMSINSTAL procedure done at hh:mm |
If VMSINSTAL detects any problems during the installation, it notifies you and asks if you want to continue the installation. In some instances, you can enter YES to continue. To stop the installation process and correct the situation, enter NO or press Return. Correct the problem and restart the installation.
If errors occur during the installation itself or when the Installation Verification Procedure (IVP) is running, VMSINSTAL displays failure messages. If the installation fails, the installation procedure the following message:
%VMSINSTAL-E-INSFAIL, The installation of Compaq C++ for OpenVMS VAX Version 5.n has failed. |
If the IVP fails, it displays these messages:
The Compaq C++ for OpenVMS VAX Version 5.n Installation Verification Procedure failed. %VMSINSTAL-E-IVPFAIL, The IVP for Compaq C++ for OpenVMS VAX Version 5.n has failed. |
Errors can occur during the installation if any of the following conditions exist:
For descriptions of the error messages generated by these conditions, see the OpenVMS documentation on system messages, recovery procedures, and OpenVMS software installation. If you are notified that any of these conditions exist, you should take the appropriate action as described in the message. For information on installation requirements, see Chapter 1.
If the installation fails, you must restart the installation procedure from step 2. For an explanation of any system messages, see the OpenVMS System Messages and Recovery Procedures Reference Manual or the online HELP/MESSAGE facility. If the installation fails due to an IVP failure, contact a Compaq field service representative.
Compaq C++ for OpenVMS VAX is now installed and can be invoked by all users with the cxx command.
The installation procedure modifies the DCL command table so that the cxx command is recognized and processed. However, the previous command table is still in effect for those users who are currently logged in. All logged-in users who want to use the cxx command must log out and log in again, or use the following DCL command:
$ SET COMMAND /TABLES=SYS$LIBRARY:DCLTABLES |
The following tasks can be performed after Compaq C++ for OpenVMS VAX is installed:
The following sections describe these tasks in detail.
3.1 Running the Installation Verification Procedures Separately
You usually run the Installation Verification Procedures (IVPs) during installation. If you want to run the IVPs separately to ensure the integrity of installed files should system problems occur, use the following IVP command procedures:
$ @SYS$TEST:DBG$IVP.COM $ @SYS$TEST:DBG$DW$IVP.COM $ @SYS$TEST:CXX$IVP.COM |
If an IVP fails for any reason, the following message is displayed:
Compaq C++ for OpenVMS VAX VERSION V5.n TEST FAILED |
To provide for automatic startup of Compaq C++ when your system is rebooted, add the command line that starts Compaq C++ for OpenVMS VAX to the system startup file, SYS$MANAGER:SYSTARTUP_VMS.COM. Compaq C++ for OpenVMS VAX cannot start until after the network has started. You must position this new command line after the line that invokes the network startup command procedure. The following example shows the network startup command line followed by the Compaq C++ for OpenVMS VAX startup command line:
$ @SYS$MANAGER:STARTNET.COM . . . $ @SYS$STARTUP:CCXX$STARTUP.COM |
You must invoke this command procedure to define the logical names that the compiler needs to find the Compaq C++ Class Library header source files.
SYS$STARTUP:CCXX$STARTUP.COM starts the Compaq C++ for OpenVMS VAX compiler only. To activate the OpenVMS Version 6.0 Debugger you must execute SYS$STARTUP:DEBUG$STARTUP.COM. To invoke the Compaq C/C++ Run-Time Components, execute SYS$STARTUP:CRT$STARTUP.COM. |
If you have a system logical name or one or more options files that point to the old linker and the old run-time libraries (RTLs) that resided in dev:[CXX$LIBRARY.SYSTEM]LINK.EXE and dev:[DECC$LIBRARY.CRTL]*.*, you should remove them. That linker is obsolete and the RTLs are made obsolete by the new Compaq C/C++ Run-Time Components Version 6.0 for OpenVMS VAX kit (or by your OpenVMS VAX system Version 6.0 or higher).
To let system users use the newly installed OpenVMS Version 6.0 Debugger kit, deactivate alternative versions of the OpenVMS Debugger that might have been installed by layered product kits. Remove the startup file, SYS$STARTUP:DEBUG$STARTUP.COM from the system startup file, SYS$STARTUP:SYSTARTUP_V5.COM. Also delete the following files to remove the obsolete DECset Debugger product from your system:
SYS$HELP:DBG$DSHELP.HLB SYS$HELP:DBG$DSUIHELP.HLB DECW$SYSTEM_DEFAULTS:DSDEBUG.DAT SYS$MESSAGE:DSDBGTBKMSG.EXE SYS$LIBRARY:DSDEBUG.EXE SYS$LIBRARY:DSDEBUGSHR.EXE SYS$LIBRARY:DSDEBUGUISHR.EXE SYS$LIBRARY:DSDEBUGUIL.UID SYS$STARTUP:DEBUG$STARTUP.COM SYS$STARTUP:DEBUGSETUP.COM |
The OpenVMS Version 6.0 Debugger .DAT file is VMSDEBUG.DAT. If your system has a
customized DEBUG.DAT file used to configure the OpenVMS Debugger, copy
DEBUG.DAT to SYS$LOGIN:VMSDEBUG.DAT so that the customizations are
reflected upon starting up the Motif interface to the debugger.
3.3 VMScluster Considerations
After completing the initial installation, if you want to install Compaq C++ for OpenVMS VAX on multiple nodes in a cluster you must run INSTALL on each of the other nodes and enter the following commands:
INSTALL> REPLACE SYS$LIBRARY:DCLTABLES.EXE INSTALL> REPLACE SYS$LIBRARY:DEBUG.EXE INSTALL> REPLACE SYS$LIBRARY:DEBUGSHR.EXE INSTALL> REPLACE SYS$LIBRARY:TRACE.EXE INSTALL> REPLACE SYS$MESSAGE:DBGTBKMSG.EXE |
Execute CCXX$STARTUP.COM on all single-architecture (VAX only) clusters, that have a Compaq C++ license. To invoke OpenVMS Version 6.0 Debugger, execute DEBUG$STARTUP.COM. To invoke the Compaq C/C++ Run-Time Components, execute SYS$STARTUP:CRT$STARTUP.COM.
If you are using a dual-architecture (VAX and Alpha systems)
heterogeneous cluster, before executing these commands, make sure the
appropriate logical names have been set to define the scope of the
SYSMAN DO commands. For more information, see the OpenVMS System Manager's Manual.
3.4 User Account Requirements
Many products cannot be used unless certain privilege and quota
requirements are met by user accounts. The following sections describe
the privilege and quota requirements needed to work with Compaq C++ for OpenVMS VAX.
3.4.1 User Privileges
To use Compaq C++ for OpenVMS VAX, each account must have at least the TMPMBX and
NETMBX privileges. Use the OpenVMS Authorize Utility to determine
whether users have the privileges they require.
3.4.2 User Account Quotas
To use Compaq C++ for OpenVMS VAX, a user account does not need to meet any special quota requirements. However, for users who will be compiling very large programs (many program units compiled together), consider adjusting the working set (WSDEF, WSQUOTA, WSEXTENT) and pagefile (PGFLQUOTA) account quotas to improve performance.
See Section 1.3.3 for a description of how to verify and change account
quotas.
3.5 Getting Help and Reporting Problems
If an error occurs while Compaq C++ for OpenVMS VAX is in use and you believe the error is caused by a problem with the product, please report it to Compaq.
If you have a Software Product Services Support Agreement, contact your Customer Support Center (CSC) by telephone or by using the electronic means provided with your support agreement (such as DSNlink). The CSC provides telephone support for high-level advisory and remedial assistance. When you initially contact the CSC, indicate the following:
Whether you submit information electronically or contact the appropriate support specialist by telephone, please take the following steps:
If the problem is related to Compaq C++ for OpenVMS VAX documentation, you can report the problem to the CSC (if you have a Software Product Services Support Agreement and the problem is severe); otherwise, send your comments about Compaq C++ for OpenVMS VAX documentation to the following Internet address:
cxx_docs@zko.dec.com
To obtain information about purchasing a Compaq Software Product Services Support Agreement or other support services, please contact your local sales representative.
This appendix contains sample installations for each of the components on the Compaq C++ for OpenVMS VAX kit. These are only samples. Sometimes the installation procedure is modified in maintenance updates of this product.
Be sure to read the Read Before Installing or Using Compaq C++ Version 5.6C for OpenVMS VAX letter before you install this product. This letter notes any significant changes to the installation sample shown here. Such information also appears in the online release notes.
The following samples were installed on an OpenVMS VAX system. Depending on which layered products you have on your system, you might see additional messages and questions when you perform your installation.
These sample installations assume that DECnet has been shut down, that no users are logged in to your system, and that OPTIONS N is specified to print the release notes. The Installation Verification Procedure (IVP) runs at the end of the installation.
Example A-1 shows a sample installation of the OpenVMS Version 6.0 Debugger on an OpenVMS VAX system.
Example A-1 Sample OpenVMS Version 6.0 Debugger Installation on OpenVMS VAX |
---|
@sys$update:vmsinstal dbg060 $disk1:[install_test.kits] options i VAX/VMS Software Product Installation Procedure V5.5-2 It is 2-NOV-1999 at 15:12. Enter a question mark (?) at any time for help. %VMSINSTAL-W-NOTSYSTEM, You are not logged in to the SYSTEM account. %VMSINSTAL-W-ACTIVE, The following processes are still active: The following products will be processed: DBG V6.0 Beginning installation of DBG V6.0 at 15:13 %VMSINSTAL-I-RESTORE, Restoring product save set A ... %VMSINSTAL-I-RELMOVED, Product's release notes have been moved to SYS$HELP. This kit installs Debug version V6.0C-000. Note that it requires at least OpenVMS VAX V5.4 and, at most, OpenVMS VAX V5.5-2. If the debugger's graphical user interface is to be used, it also requires Motif V1.0 or later. ********************************************************************* * * * * * THIS INSTALLATION WILL REPLACE YOUR CURRENT VMS SYSTEM DEBUGGER! * * * * * ********************************************************************* You should insure that you have saved the current version of the system debugger by backing up the following files: SYS$LIBRARY:DEBUG.EXE SYS$LIBRARY:DEBUGSHR.EXE SYS$LIBRARY:DBGSSISHR.EXE SYS$LIBRARY:DEBUGUIL.UID SYS$HELP:DBG$HELP.HLB SYS$HELP:DBG$DWHELP.HLB SYS$LIBRARY:TRACE.EXE SYS$MESSAGE:DBGTBKMSG.EXE * Do you want to run the IVP after the installation [YES]? * Do you want to run the interactive DEC Windows Motif IVP? [NO]: * Do you want to purge files replaced by this installation [YES]? no %DBG-I-DONEASK, No further questions will be asked during this installation. %DBG-I-ENDRESTORE, All Debugger savesets have been restored. %DBG-I-LINKDONE, DEBUGSHR has been linked. %DBG-I-LINKDONE, DEBUG has been linked. %DBG-I-LINKDONE, TRACE has been linked. %DBG-I-LINKDONE, DEBUGUISHR has been linked. %DBG-I-CLEANUP, Cleanup has been performed. %DBG-I-PROHELP, Providing Debugger Help files... %DBG-I-PRORES, Providing Resource file for Debugger visuals... %DBG-I-PROMSG, Providing Debugger message image... %DBG-I-PROEXE, Providing Debugger files... %DBG-I-PROIVP, Providing test files for IVP... ******************************************************************************* * * * The Debugger IVP has been moved to the SYS$TEST directory. To run * * the IVP after installation, enter @SYS$TEST:DBG$IVP.COM for the character * * cell IVP. If DECWindows Motif has been installed on your system, enter * * @SYS$TEST:DBG$DW$IVP.COM for the interactive DECWindows Motif IVP. * * * ****************************************************************************** %VMSINSTAL-I-MOVEFILES, Files will now be moved to their target directories... ******************************************************************************* * * * Beginning the Debug V6.0 Verification Procedure * * * ******************************************************************************* ******************************************************************************* * * * Debug verification procedure successful * * * ******************************************************************************* Installation of DBG V6.0 completed at 15:21 VMSINSTAL procedure done at 15:21 |
Example A-2 shows a sample installation of the Compaq C++ for OpenVMS VAX compiler Version 5.6C on an OpenVMS VAX system.
Example A-2 Sample Compaq C++ for OpenVMS VAX Installation |
---|
$ @sys$update:vmsinstal OpenVMS VAX Software Product Installation Procedure V7.1 It is 2-NOV-1999 at 17:07. Enter a question mark (?) at any time for help. * Are you satisfied with the backup of your system disk [YES]? YES * Where will the distribution volumes be mounted: DKA400:[CXX056] Enter the products to be processed from the first distribution volume set. * Products: CXX056 * Enter installation options you wish to use (none): N The following products will be processed: CXX V5.6 Beginning installation of CXX V5.6 at 17:07 %VMSINSTAL-I-RESTORE, Restoring product save set A ... %VMSINSTAL-I-RELMOVED, Product's release notes have been moved to SYS$HELP. Compaq C++ Version V5.6 for OpenVMS VAX Systems Copyright (c) Digital Equipment Corporation 1993, 1999. All rights reserved. Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. * Do you want to purge files replaced by this installation [YES]? YES Compaq C++ requires a Product Authorization Key (PAK) be registered and loaded. Answer the following question with YES if at least one PAK with the specified product name and a date equal to or later than the date shown is registered and loaded, otherwise answer NO. Product: CXX-V,CXX-V-USER,CXX-V-G Producer: DEC Version: 5.6 Release Date: 2-NOV-1999 * Does this product have an authorization key registered and loaded? YES This kit contains an Installation Verification Procedure (IVP) to verify the correct installation of the Compaq C++ compiler. The IVP will be placed in: SYS$TEST:CXX$IVP.COM After the installation is complete, you can invoke the command file at any time to reverify that Compaq C++ is installed and working correctly. * Do you want to run the IVP after the installation [YES]? YES All questions regarding the installation of Compaq C++ have been asked. The installation will now continue for 10 to 40 minutes depending on your CPU type and the installation options you have chosen. Providing command support and HELP files Providing compiler and message images Providing .h headers in DECC$LIBRARY_INCLUDE: Providing class library .h and .hxx headers in CXX$LIBRARY_INCLUDE: File selection portion of installation is completed. Your VMS system will now be updated to include the following new and modified files: SYS$HELP:CXX056.RELEASE_NOTES [new] SYS$HELP:CXX056_RELEASE_NOTES.PS [new] SYS$SYSTEM:CXX$COMPILER.EXE [new] SYS$MESSAGE:CXX$MSG_SHR.EXE [new] SYS$HELP:HELPLIB.HLB [modified] SYS$COMMON:[SYSHLP.CXX$HELP]*.* [new] SYS$LIBRARY:DCLTABLES.EXE [modified] SYS$LIBRARY:DECC$RTLDEF.TLB [new] DECC$LIBRARY_INCLUDE:*.H [new] SYS$LIBRARY:DECC$RTLDEF_HXX.TLB [new] SYS$LIBRARY:CXXL$DEF.TLB [new] SYS$LIBRARY:CXXL$DEF_HXX.TLB [new] CXX$LIBRARY_INCLUDE:*.H,*.HXX [new] SYS$TEST:CXX$IVP.COM [new] SYS$STARTUP:CCXX$STARTUP.COM [new] SYS$HELP:CXX056.RELEASE_NOTES [new] SYS$HELP:CXX056_RELEASE_NOTES.PS [new] SYS$SYSTEM:CXX$COMPILER.EXE [new] SYS$MESSAGE:CXX$MSG_SHR.EXE [new] SYS$SYSTEM:CXX$DEMANGLE.EXE [new] SYS$SYSTEM:CXX$LINK.EXE [new] SYS$SYSTEM:CXX$LINK_MSG.EXE [new] SYS$HELP:HELPLIB.HLB [modified] SYS$COMMON:[SYSHLP.CXX$HELP]*.* [new] SYS$LIBRARY:DCLTABLES.EXE [modified] SYS$LIBRARY:DECC$RTLDEF.TLB [new] DECC$LIBRARY_INCLUDE:*.H [new] SYS$LIBRARY:CXXL$DEF_H.TLB [new] SYS$LIBRARY:CXXL$DEF_HXX.TLB [new] CXX$LIBRARY_INCLUDE:*.H,*.HXX [new] SYS$TEST:CXX$IVP.COM [new] SYS$STARTUP:CCXX$STARTUP.COM [new] SYS$LIBRARY:CXXL$ANSI_DEF.TLB [new] SYS$LIBRARY:LIBCXXSTD.OLB [new] SYS$LIBRARY:DECC$CRTL.OLB [new] SYS$LIBRARY:DECC$CRTL.EXE [new] SYS$LIBRARY:DECC$CRTL.README [new] Please add the SYS$STARTUP:CCXX$STARTUP.COM to the system startup procedure (SYS$STARTUP:SYSTARTUP_V5.COM or SYSTARTUP_VMS.COM). To use Compaq C++ for OpenVMS VAX on other VAX nodes of a VMScluster, from a privileged account on each such node enter the command "$ @SYS$STARTUP:CCXX$STARTUP.COM". This will install images and define system-wide logical names. %VMSINSTAL-I-MOVEFILES, Files will now be moved to their target directories... Beginning Compaq C++ Combined Installation Verification Procedure Copyright (c) Digital Equipment Corporation, 1995, 1999. All rights reserved. Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of DFARS 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt. III, as applicable. This software is proprietary to and embodies the confidential technology of Digital Equipment Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Digital or an authorized sublicensor. Test compiler operation and error messages... Test Class library headers... Test Class Library operation... Compaq C++ V6.2 Installation Verification Procedure completed successfully Installation of CXX V5.6 completed at 17:26 Enter the products to be processed from the next distribution volume set. * Products: ^Z VMSINSTAL procedure done at 17:27 |
The Compaq C++ installation procedure installs a number of files on
your system and defines some logical names. Section B.1 tells where
you can find the list of installed files. Section B.2 lists the
logical names that are added to the system logical name table.
B.1 File Names
The kit for the Compaq C++ compiler includes a list of all the files
created on your system when this product is installed.
B.2 Logical Names
Some or all of the following logical names are entered into the system logical name table when you install Compaq C++ for OpenVMS VAX. These names are stored in the product's startup file. They are automatically entered into the system logical name table whenever the system reboots or whenever the software is invoked.
This appendix provides information to help you with failures or errors
that might occur during product installation or product use.
C.1 Failures During Compaq C++ Installation
If VMSINSTAL detects any problems during the installation, it notifies you and asks if you want to continue the installation. In some instances, you can enter yes to continue. To stop the installation process and correct the situation, enter no or press Return, then correct the problem and restart the installation.
If errors occur during the installation itself or when the Installation Verification Procedure (IVP) is running, VMSINSTAL displays failure messages. If the installation fails, it displays the following message:
%VMSINSTAL-E-INSFAIL, The installation of Compaq C++ for OpenVMS VAX Version 5.6 has failed. |
If the IVP fails, it displays these messages:
The Compaq C++ for OpenVMS VAX Version 5.6 Installation Verification Procedure failed. %VMSINSTAL-E-IVPFAIL, The IVP for Compaq C++ for OpenVMS VAX Version 5.6 has failed. |
Errors can occur during the installation if any of the following conditions exist:
For descriptions of the error messages generated by these conditions, see the OpenVMS documentation on system messages, recovery procedures, and OpenVMS software installation. If you are notified that any of these conditions exist, you should take the appropriate action as described in the message.
For information on installation requirements, see Chapter 1.
C.2 Problems During Compaq C++ Use
If you encounter a problem while using Compaq C++, see the Release Notes. If the problem is unresolved, report it to Compaq. Depending on the type of support you have and the nature of the problem, take one of the following actions:
cxx_docs@zko.dec.com |
Contents |
|