DIGITAL_C++___________________________________ Installation Guide for Compaq's DIGITAL UNIX Order Number: AA-PX2DG-TE September 1998 This guide describes how to install DIGITAL C++ (formerly DEC C++) on an Alpha system running Compaq's DIGITAL UNIX operating system. Revision/Update Information: This is a revised guide. Operating System & Version: Compaq's DIGITAL UNIX Version 4.0 or higher. Future maintenance releases may require higher versions. Software Version: DIGITAL C++ Version 6.1 DIGITAL Equipment Corporation Maynard, Massachusetts __________________________________________________________ First Printing, March 1993 Revised, August 1993 Revised, May 1994 Revised, May 1995 Revised, March 1996 Revised, June 1997 Revised, December 1997 Revised, January 1998 Revised, September 1998 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. © Digital Equipment Corporation 1993, 1998. All Rights Reserved. The following are trademarks of Digital Equipment Corporation: Bookreader, DEC, DEC FUSE, DECwindows, DIGITAL, Ladebug, ULTRIX, VAX DOCUMENT, the DIGITAL C++ logo, and the DIGITAL logo. The following are third-party trademarks: AT&T is a registered trademark of American Telephone and Telegraph Company. Motif and OSF/1 are registered trademarks of the Open Software Foundation, Incorporated. PostScript is a registered trademark of Adobe Systems, Incorporated. X Window System is a trademark of the Massachusetts Institute of Technology. UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company, Ltd. ZK6400 This document is available on CD-ROM. This document was prepared using VAX DOCUMENT, Version 2.1. ________________________________________________________________ Contents Preface.................................................. v 1 Before You Start the DIGITAL C++ Installation 1.1 Reading the Online Release Notes................ 1-1 1.2 Registering Your Software License............... 1-2 1.3 Checking the Software Distribution Kit.......... 1-2 1.4 Checking Installation Procedure Requirements.... 1-3 1.4.1 Checking Login Privileges .................... 1-3 1.4.2 Checking Hardware Requirements ............... 1-3 1.4.3 Checking Software Requirements ............... 1-3 1.5 Determining Which Documentation Subsets to Load............................................ 1-5 1.6 Installing from Media or Using the Remote Installation Service............................ 1-5 1.7 Backing Up Your System Disk..................... 1-6 1.8 Stopping the Installation....................... 1-6 1.9 Checking Current Disk Space..................... 1-6 1.10 Increasing Disk Space by Using Alternative Disks ................................................ 1-7 2 Preparing for DIGITAL C++ Installation 2.1 Deleting Old Subsets............................ 2-1 2.2 Determining Which Subsets to Load............... 2-2 iii 3 Installing DIGITAL C++ 3.1 Using CD-ROM Software Product Library Media..... 3-1 3.2 Using a Remote Installation Service Distribution Area............................................ 3-2 3.3 Responding to Installation Procedure Prompts.... 3-2 3.3.1 Selecting Subsets ............................ 3-2 3.3.2 Monitoring Displays During the Subset Loading Process....................................... 3-3 4 After Installation 4.1 Running the Installation Verification Procedure ................................................ 4-1 4.2 Deleting DIGITAL C++ from Your System........... 4-1 A Sample Listings A.1 Sample DIGITAL C++ Installation on a DIGITAL UNIX Version 4.0 System......................... A-1 A.2 Sample Installation Verification Procedure on a Version 4.0 System.............................. A-4 B Files Installed on Your System B.1 DIGITAL C++ Directory Structure on a Version 4.n System.......................................... B-1 C Recovering from Errors C.1 Failures During Product Installation ........... C-1 C.2 Failures During Product Use..................... C-4 Tables 1 Conventions Used in This Guide ............... vii B-1 Files Installed .............................. B-2 iv ________________________________________________________________ Preface This installation procedure creates DIGITAL C++ file systems subordinate to the /usr/lib, /usr/bin, and /usr/man directories. Keep this guide with your distribution kit. You will need it to install maintenance updates or to reinstall DIGITAL C++ for any other reason. Intended Audience This guide is intended for system managers who install DIGITAL C++. Associated Documentation In addition to this guide, the DIGITAL C++ documentation set includes the following: o Using DIGITAL C++ for Compaq's DIGITAL UNIX Describes the specifics of the DIGITAL C++ implementa- tion for Compaq's DIGITAL UNIX. o DEC C++ Class Library Reference Manual Describes the class library packages supplied by DIGITAL with DIGITAL C++. o DIGITAL C++ command reference pages for Compaq's DIGITAL UNIX (cxx(1)) Provides reference information for DIGITAL C++ commands and libraries. o Stroustrup, Bjarne, The C++ Programming Language, 3nd Edition. Reading, Massachusetts: Addison-Wesley, 1997. v Provides an exhaustive introduction to the C++ programming language, including sophisticated language features. The following related documents are not included in the DIGITAL C++ documentation set. Please refer to these documents if you need additional information about DIGITAL UNIX installation or system management, or the Ladebug debugger. o Guide to the Ladebug Debugger Describes how to use the Ladebug debugger. o DIGITAL UNIX Guide to Installing DIGITAL UNIX Explains how to install the DIGITAL UNIX operating system. o DIGITAL UNIX User's Guide Explains how to perform basic system administration tasks on DIGITAL UNIX operating systems, including the instructions on how to do system backups. o DIGITAL UNIX Guide to Sharing Software on a Local Area Network Explains how to use the remote installation service (RIS) utility and environment. o Guide to Software License Management Explains how to use the license management facility (LMF) utility in registering your license for DIGITAL C++. vi Conventions Table 1 describes the conventions used in this guide. Table_1_Conventions_Used_in_This_Guide____________________ Convention_____Meaning____________________________________ # A number sign (#) is the default superuser prompt. % A percent sign (%) is the default user prompt. In examples, a boxed symbol indicates that you must press the named key on the keyboard. Ctrl/C This symbol indicates that you must press the Ctrl key while you simultaneously press another key (in this case, C). user input In interactive examples, this typeface indicates input entered by the user. filesystem In text, this typeface indicates the exact name of a command, routine, partition, path name, directory, or file. This typeface is also used in interactive examples and other screen displays. UPPERCASE The DIGITAL UNIX operating system lowercase differentiates between lowercase and uppercase characters. Examples, syntax descriptions, function definitions, and literal strings that appear in text must be typed exactly as shown. (continued on next page) vii Table_1_(Cont.)_Conventions_Used_in_This_Guide____________ Convention_____Meaning____________________________________ setld(8) Cross-references to online reference pages include the appropriate section number in parentheses. For example, setld(8) indicates that you can find the material on the setld command in Section 8 of the reference pages. [y] In a prompt, square brackets indicate that the enclosed item is the default response. For example, [y] means the default response _______________is_Yes.____________________________________ viii 1 ________________________________________________________________ Before You Start the DIGITAL C++ Installation Your distribution kit includes a letter titled Read Before Installing DIGITAL C++ for Compaq's DIGITAL UNIX. This letter discusses important information that might not be included in this guide. You should read this letter now. 1.1 Reading the Online Release Notes DIGITAL C++ provides both online and hardcopy release notes. DIGITAL strongly recommends that you read the release notes before using the product. The release notes may contain information about changes to the application. The release notes for DIGITAL C++ are in subset CXXBASEnnn, where nnn is a number representing the latest release of DIGITAL C++. For the number of latest subsets, see the Read Before Installing letter. This letter and the release notes are both included on the Media CD-ROM in the following directory: /cxxnnn/documentation Installing subset CXXBASEnnn moves the release notes to the following directory location: /usr/lib/cmplrs/cxx/DECCXXnnn.release-notes HTML files are also provided for the release notes and some of the product manuals for use with a web browser. See Section 1.5. Before You Start the DIGITAL C++ Installation 1-1 1.2 Registering Your Software License DIGITAL C++ includes support for the License Management Facility (LMF). You must register your License Product Authorization Key (License PAK) in the License Database (LDB) to use DIGITAL C++ on a newly licensed node. 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 DIGITAL C++ as an update on a node already licensed for this software, you have already completed the License PAK registration requirements. If you are installing prerequisite or optional software along with DIGITAL C++, review the PAK status and install the PAKs for any prerequisite or optional software before you install DIGITAL C++. To register a license under the DIGITAL UNIX operating system, first log in as superuser. At the superuser prompt, edit an empty PAK template with the lmf register command as follows, and include all the information on your License PAK: # lmf register After you register your license, use the following lmf reset command to copy the license details from the LDB to the kernel cache: # lmf reset For complete information on using the LMF, see the Guide to Software License Management and the lmf(8) reference page. 1.3 Checking the Software Distribution Kit Use the Bill of Materials (BOM) to check the contents of your DIGITAL C++ software distribution kit. In addition to this guide, the software distribution kit includes the following: o A CD-ROM optical disk for systems with optical disk drives 1-2 Before You Start the DIGITAL C++ Installation o A CD-ROM booklet and CD-ROM read first letter If your software distribution kit is damaged or incom- plete, contact your DIGITAL representative. 1.4 Checking Installation Procedure Requirements This section discusses various requirements for installing DIGITAL C++. Installing DIGITAL C++, including running the Installation Verification Procedure (IVP), takes approximately 5 to 10 minutes, depending on your type of media and system configuration. 1.4.1 Checking Login Privileges You must have superuser privileges to install the DIGITAL C++ software and to register the license PAK. 1.4.2 Checking Hardware Requirements To install DIGITAL C++, you need the following hardware: o Software distribution device (if installing from media) Locate the CD-ROM drive for the CD-ROM software distribution media. The CD-ROM booklet or the documentation for the CD-ROM drive you are using explains how to load the CD-ROM media. o Terminal You can use either a hardcopy or video terminal to communicate with the operating system and respond to prompts from the installation procedure. For additional hardware requirements, see the DIGITAL C++ Software Product Description (SPD) contained on the Media CD-ROM. 1.4.3 Checking Software Requirements DIGITAL C++ Version 6.1 requires Compaq's DIGITAL UNIX operating system Version 4.0 or higher. Future DIGITAL C++ releases may require higher versions. See the Read Before Installing letter (included on the CD-ROM) or the online release notes for information about the required minimum version of the operating system. Before You Start the DIGITAL C++ Installation 1-3 DIGITAL C++ requires that the following software subsets be loaded on the system where you install DIGITAL C++ (nnn is the number representing the latest release): o OSFBASEnnn-the "Base System" subset o OSFPGMRnnn-the "Software Development Environment" subset o OSFCMPLRSnnn-the "Compiler Back End" subset o OSFINCLUDEnnn-the system include files subset o CXLLIBAnnn-the archived class library subset To install the DIGITAL C++ reference pages (manual pages), the following software subset must be installed on the system where you install DIGITAL C++ : o OSFDCMTnnn-the "Documentation for Reference Pages" subset To install X Motif header files for Compaq's DIGITAL UNIX software, the following software subset must be installed on the system where you install DIGITAL C++ : o OSFXDEVnnn-the "X Window Software Development" subset To check whether these subsets are loaded: 1. Log in to the system where you will install DIGITAL C++. 2. Enter the following command: # setld -i | grep -E 'OSFBASE|OSFPGMR|OSFDCMT|OSFXDEV' If you do not log in as superuser (login name root), you must enter the full path of the command. For example: # /usr/sbin/setld -i | grep -E 'OSFBASE|OSFPGMR|OSFCMPLRS|OSFDCMT|OSFXDEV' On DIGITAL UNIX Version 4.0 systems, you should also specify OSFINCLUDE to check that the system include files subset is loaded. Check the displayed rows for the name of the relevant subset and any related patches. The word "installed" appears in a row after the subset identifier when a subset is loaded. If the word "installed" does not appear (the second column in a row is blank), the subset or patch 1-4 Before You Start the DIGITAL C++ Installation is not loaded. In this case, you must load the missing DIGITAL UNIX software before installing DIGITAL C++. (For information on how to load the operating system software, see the Guide to Installing DIGITAL UNIX.) 1.5 Determining Which Documentation Subsets to Load The DIGITAL C++ reference pages are automatically loaded when you install the base subset. In addition, you can load the following documentation subset: DIGITAL C++ HTML documentation (CXXHTML610) HTML files are provided for the release notes and some of the product manuals for use with a web browser. These files are installed by selecting the following subset: DIGITAL C++ HTML documentation To view this documentation, open the following file using your web browser: /usr/share/doclib/cplusplus/cxx.html 1.6 Installing from Media or Using the Remote Installation Service Someone from your site must perform at least one DIGITAL C++ installation from the distribution medium. Your site system manager can then decide whether or not to make a DIGITAL C++ distribution kit available on line so that subsequent installations of DIGITAL C++ can use the Remote Installation Service (RIS). For information on extracting DIGITAL C++ subsets to a RIS distribution area, see the Guide to Sharing Software on a Local Area Network. If you expect to use DIGITAL C++ subsets from the RIS area of a remote system for installation on your local system, first check with your site system manager to ensure that: o A DIGITAL C++ network kit is available for use. o Your system is registered as a RIS client. If DIGITAL C++ subsets are available to you on a RIS server system, you must know the name of that system. Before You Start the DIGITAL C++ Installation 1-5 For more information on installing DIGITAL C++ from a RIS distribution area, see Section 3.2. 1.7 Backing Up Your System Disk DIGITAL recommends that you back up your system disk before installing any software. For information about backing up your system disk, see the DIGITAL UNIX system documentation. 1.8 Stopping the Installation To stop the installation procedure at any time, press Ctrl/C. You must then delete files created up to this point interactively. To get a list of the directories and files created during the DIGITAL C++ installation, use the following command: # /usr/sbin/setld -i subsetname In this command, subsetname is the name of the DIGITAL C++ subset that you have chosen to install. 1.9 Checking Current Disk Space To check the current amount of free space for a directory path, log in to the system where you will install DIGITAL C++. You can check which directories are mounted and where they are by viewing the /etc/fstab file. For example: # more /etc/fstab /dev/rd0a:/:rw:1:1:ufs:: /dev/rd0g:/usr:rw:1:2:ufs:: /usr/staff/r1/leslie@bigsys:/usr/staff/r1/leslie:rw:0:0:nfs:bg: /usr/man@bigsys:/usr/man:ro:0:0:nfs:bg: The display indicates that /usr (mounted to /dev/rd0g) is the only mount point that affects where DIGITAL C++ files will reside; the system has only one local disk drive, and the /usr/lib and file system reside in the g partition of the disk on that drive. To check the total space and the free space for the directories where DIGITAL C++ will reside, enter the df command. Given the previous display of the /etc/fstab file, which shows that only /usr is a mount point, you 1-6 Before You Start the DIGITAL C++ Installation need to check free space only in the /usr file system. For example: # df /usr Filesystem Total kbytes kbytes % node kbytes used free used Mounted on /dev/rd0g 122598 54447 55892 49% /usr This display shows that there are 55,892 Kbytes free. For space requirements to install this product, see the Software Product Description for DIGITAL C++ for Compaq's DIGITAL UNIX. On systems where /usr/lib and /usr/man are mounted to different devices from /usr, enter the following command: # df /usr/lib /usr/man In this case, you compare space required for DIGITAL C++ files in /usr/lib to the free space displayed in the first line of the df output list, and compare the space required for DIGITAL C++ files in /usr/man to the free space displayed in the second line of that list. 1.10 Increasing Disk Space by Using Alternative Disks The DIGITAL C++ installation procedure creates the following directories and loads files into subordinate directories: /usr/include/cxx /usr/lib/cmplrs/cxx If the /usr/lib/cmplrs and /usr/include directory nodes in the previous paths do not exist, the installation procedure creates and uses them. If you find that there is insufficient disk space for the DIGITAL C++ subsets and you know that you have additional space on alternative disks or disk partitions for your system, perform the following steps before installing DIGITAL C++: 1. Log in as superuser. 2. Create the directory /usr/lib/cmplrs. Before You Start the DIGITAL C++ Installation 1-7 3. Specify in the /etc/fstab file that one or more of the newly created directories are mount points to new disk partitions where there is additional space. 4. Enter the mount -a command so that the new mount points take effect. 1-8 Before You Start the DIGITAL C++ Installation 2 ________________________________________________________________ Preparing for DIGITAL C++ Installation This chapter describes the special requirements necessary to install DIGITAL C++ on Version 4.0 and higher systems. 2.1 Deleting Old Subsets Before you can install any of the DIGITAL C++ subsets, you should delete all old subsets, except as noted in this section. To delete subsets, take the following steps: 1. Log in as superuser (login name root). 2. Using the setld -i command, list the subsets installed on your system and check for the presence of any subset. For example: # /usr/sbin/setld -i | grep CXX | grep installed 3. To delete all of the old CXX subsets found, enter the setld -d command. For example: # /usr/sbin/setld -d CXXBASEA570 4. Using the setld -i command, check for the presence of the debugger subsets, LDBBASEnnn and LDBGUInnn. For example: # /usr/sbin/setld -i | grep LDB | grep installed Delete debugger subsets only if nnn is not 444 or a higher number. For example: # /usr/sbin/setld -d LDBBASE439 LDBGUI439 Preparing for DIGITAL C++ Installation 2-1 2.2 Determining Which Subsets to Load When you invoke the installation procedure you will be given choices of which DIGITAL C++ subsets to load. The following subset is required to use DIGITAL C++ (nnn is a number representing the latest release; see the Read Before Installing letter for details): CXXBASEnnn DIGITAL C++ (cxx) for DIGITAL UNIX The following subset generally is required on DIGITAL UNIX versions prior to Version 4.0D: CXXLIBnnn DIGITAL C++ Run-Time Library (libcxx) for DIGITAL UNIX 4.0C and earlier See "Important Compatibility Information" in the release notes concerning the Run-Time Library subset. Optionally, you can also install an updated version of the Version 5.7 compiler by selecting the following subset: CXXOLDnnn DIGITAL C++ Version 5.7 (-oldcxx) compiler If you install this subset, you can invoke the Version 5.7 compiler and enter the cxx -oldcxx command. By default, the (cxx) command runs the Version 6.1 compiler. Note that you must install the CXXBASEnnn subset if you want to install the CXXOLDnnn subset. The following subsets are required if you want to debug C++ programs: LDBBASEV40nnn Ladebug debugger LDBDOCV40nnn Ladebug release notes LDBGUIV40nnn Ladebug debugger window interface If you deleted any of these subsets (because they were old-see Section 2.1), you should install the latest versions from the current kit. The following online documentation subset is optional: CXXHTMLnnn DIGITAL C++ HTML documentation 2-2 Preparing for DIGITAL C++ Installation 3 ________________________________________________________________ Installing DIGITAL C++ This chapter describes how to install DIGITAL C++. Before you start the installation, read Chapter 1. You can install DIGITAL C++ locally (using CD-ROM media) or from a server area. You can usually complete an installation in about 5 minutes. If you encounter any failures during installation, see Appendix C. 3.1 Using CD-ROM Software Product Library Media This procedure loads DIGITAL C++ files on to a disk be- longing to the system where you perform the installation. When DIGITAL C++ is run, its executable images are mapped into memory on your system. Follow these steps to install DIGITAL C++ from CD-ROM media: 1. Mount the media on the appropriate disk drive. 2. Log in as superuser (login name root) to the system where you will install DIGITAL C++. 3. Specify the /cdrom directory to be the mount point for the distribution file system on the drive. If your drive is ral, enter the following command: # mount -dr /dev/ralc /cdrom 4. Enter a setld command that requests the load function (-l) and identifies the directory in the mounted file system where DIGITAL C++ subsets are located. For example, if the directory location for these subsets is /cdrom/cxxnnn/kit, enter the following command: # /usr/sbin/setld -l /cdrom/cxxnnn/kit Installing DIGITAL C++ 3-1 The installation procedure now displays the names of DIGITAL C++ subsets and asks you to specify the subsets you want to load. See Section 3.3 to continue the installation. 3.2 Using a Remote Installation Service Distribution Area If you are installing DIGITAL C++ subsets that reside in a /etc/ris Remote Installation Service (RIS) distribution area on a remote system, follow these steps: 1. Log in as superuser (login name root) to the system where you will install DIGITAL C++. 2. Enter a setld command that requests the load function (-l option) and identifies the system where the DIGITAL C++ subsets are located. For example, if you are loading DIGITAL C++ subsets from a RIS distribution area, enter the following: # setld -l node: Replace node: with the node name where the DIGITAL C++ subsets are located. RIS now displays a menu that lists all the software subsets available to you and asks you to specify the subsets you want to load. See Section 3.3 to continue the installation. 3.3 Responding to Installation Procedure Prompts This section explains the installation procedure prompts and displays. 3.3.1 Selecting Subsets You must specify which DIGITAL C++ subsets you want to load by choosing them from a menu or list of subset section options. The number and kinds of subset options you have will vary depending on the version of Compaq's DIGITAL UNIX you are using. See Section 2.2. ________________________Note ________________________ If you are installing from a RIS distribution area, the number of subsets can vary depending on what 3-2 Installing DIGITAL C++ products are available in the RIS area and how many subsets they have. _____________________________________________________ If you specify more than one number at the Choices prompt, separate each number with a space, not a comma. The installation script (see Appendix A) lets you verify your choice. If you enter a number or numbers in response to the Choices prompt, you will see a display of your choices, preceded by the following: You are installing the following optional subsets: You will then be prompted to verify your choice, as follows: Is this correct? (y/n): If the displayed subsets are not the ones you intended to choose, enter n. In this case, the subset selection menu is again displayed and you can correct your choice of optional subsets. If the displayed subsets are the ones you want to load, enter y. 3.3.2 Monitoring Displays During the Subset Loading Process The installation procedure loads and verifies the selected DIGITAL C++ subsets. When you see the "Verifying" message during the subset installation, the installation procedure is checking to see that the files are copied correctly; it is not an Installation Verification Procedure (IVP) message. During the installation, if you get errors from the setld utility, see the DIAGNOSTICS section of the setld(8) reference page for an explanation of the errors and the appropriate actions to take. Chapter 4 explains how to run the Installation Verification Procedure (IVP) after installation, and how to delete old DIGITAL C++ subsets before installing a new version of DIGITAL C++. Installing DIGITAL C++ 3-3 4 ________________________________________________________________ After Installation This chapter explains what you need to do after the installation to make DIGITAL C++ ready for use. 4.1 Running the Installation Verification Procedure After installing DIGITAL C++, you can run the Installation Verification Procedure (IVP) independently to verify that the software is available on your system. You might also want to run the IVP after a system failure to be sure that users can still access DIGITAL C++. To run the IVP after an installation, enter the following command: # setld -v subsetname In this command, subsetname can be any DIGITAL C++ subset. For a sample DIGITAL C++ IVP, see Appendix A. If the verification process fails, look in the /var/adm/smlogs/fverify.log file for information to help diagnose the problem. 4.2 Deleting DIGITAL C++ from Your System If you must remove a version of DIGITAL C++ from your system, delete each subset that you previously installed. To delete subsets: 1. Log in as superuser (login name root). 2. Enter the following form of the setld command: # /usr/sbin/setld -i | grep -E CXX | grep installed 3. Delete the installed subsets. For example: # setld -d subsetnamennn subsetnamennn After Installation 4-1 A ________________________________________________________________ Sample Listings This appendix provides sample listings for the following procedures: o An installation of DIGITAL C++ on DIGITAL UNIX Version 4.0 using disk media o An Installation Verification Procedure (IVP) on DIGITAL UNIX Version 4.0 A.1 Sample DIGITAL C++ Installation on a DIGITAL UNIX Version 4.0 System The following listing shows a basic installation of DIGITAL C++ on a DIGITAL UNIX Version 4.0 system using CD-ROM media. For the directory variable, you must supply a disk path name or the directory location posted with the CD-ROM media. # setld -l CXX610.kit The subsets listed below are optional: There may be more optional subsets than can be presented on a single screen. If this is the case, you can choose subsets screen by screen or all at once on the last screen. All of the choices you make will be collected for your confirmation before any subsets are installed. 1) DIGITAL C++ HTML documentation 3) DIGITAL C++ V5.7 (-oldcxx) compiler 4) DIGITAL C++ Version 6.1 for DIGITAL UNIX systems 5) Ladebug Debugger Version 4.0-47 Release Notes 6) Ladebug Debugger Version 4.0-47 7) Ladebug Debugger graphical user interface Or you may choose one of the following options: Sample Listings A-1 8) ALL of the above 9) CANCEL selections and redisplay menus 10) EXIT without installing any subsets Enter your choices or press RETURN to redisplay menus. Choices (for example, 1 2 4-6): 7 You are installing the following optional subsets: DIGITAL C++ HTML documentation DIGITAL C++ V5.7 (-oldcxx) compiler DIGITAL C++ Version 6.1 for DIGITAL UNIX systems Ladebug Debugger Version 4.0-47 Release Notes Ladebug Debugger Version 4.0-47 Ladebug Debugger graphical user interface Is this correct? (y/n): y Checking file system space required to install selected subsets: File system space checked OK. 6 subset(s) will be installed. Loading 1 of 6 subset(s).... Installation of this subset proceeds automatically, and should complete in less than 2 minutes. Ladebug Debugger Version 4.0-47 Copying from CXX610.kit (disk) Verifying Loading 2 of 6 subset(s).... Installation of this subset proceeds automatically, and should complete in less than 2 minutes. Ladebug Debugger Version 4.0-47 Release Notes Copying from CXX610.kit (disk) Verifying Loading 3 of 6 subset(s).... Installation of this subset proceeds automatically, and should complete in less than 2 minutes. Ladebug Debugger graphical user interface Copying from CXX610.kit (disk) Verifying A-2 Sample Listings Loading 4 of 6 subset(s).... Ladebug V4.0 (subset LDBBASEnnn) is currently installed. Copyright 1993, 1998 Digital Equipment Corporation. All rights reserved. Government notice: 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. Licensing notice: 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. DIGITAL C++ for DIGITAL UNIX Systems includes support for the License Management Facility. A Product Authorization Key (PAK) is necessary for use of this product. Information on registering and activating the PAK is available in the DIGITAL C++ Installation Guide or the 'Guide to Software Licensing,' which is part of the Digital UNIX Systems documentation set. Installation of this subset proceeds automatically, and should complete in approximately 1 minute. DIGITAL C++ Version 6.1 for DIGITAL UNIX systems Copying from CXX610.kit (disk) Verifying Loading 5 of 6 subset(s).... Installation of this subset proceeds automatically, and should complete in less than 1 minute. DIGITAL C++ HTML documentation Copying from CXX610.kit (disk) Verifying Loading 6 of 6 subset(s).... Installation of this subset proceeds automatically, and should complete in less than 1 minute. Sample Listings A-3 DIGITAL C++ V5.7 (-oldcxx) compiler Copying from CXX610.kit (disk) Verifying 6 of 6 subset(s) installed successfully. LDBBASEV40447 software installed successfully. Configuring "Ladebug Debugger Version 4.0-47" (LDBBASEV40447) LDBDOCV40447 Release Notes installed successfully. See the files in the directory: /usr/doc/ladebug ... Configuring "Ladebug Debugger Version 4.0-47 Release Notes" (LDBDOCV40447) LDBGUIV40447 software installed successfully. Configuring "Ladebug Debugger graphical user interface" (LDBGUIV40447) CXXBASE610 software installed successfully. Configuring "DIGITAL C++ Version 6.1 for DIGITAL UNIX systems" (CXXBASE610) CXXHTML610 software installed successfully. Configuring "DIGITAL C++ HTML documentation" (CXXHTML610) CXXOLD610 software installed successfully. Configuring "DIGITAL C++ V5.7 (-oldcxx) compiler" (CXXOLD610) A.2 Sample Installation Verification Procedure on a Version 4.0 System The following listing shows a sample installation verification on Version 4.0 system. # setld -v CXXBASE610 CXXHTML610 CXXMAN610 CXXV4HDR610 DIGITAL C++ for DIGITAL UNIX Systems (CXXBASE610) Copyright 1993, 1998 Digital Equipment Corporation. All rights reserved. DIGITAL C++ Version 6.1 for DIGITAL UNIX Systems: compiling an iostream program. DIGITAL C++ for DIGITAL UNIX Systems installation verified. DIGITAL C++ for DIGITAL UNIX Systems has been installed. A-4 Sample Listings B ________________________________________________________________ Files Installed on Your System This appendix shows directory structures for DIGITAL C++ on Version 4.n and Version 4.0 systems. B.1 DIGITAL C++ Directory Structure on a Version 4.n System The following listing shows the directory structure on a Version 4.n system. /usr/ bin/ cxx demangle include/ cxx/ lib/ cmplrs/ cxx/ man/ man1/ man3/ share/doclib/cplusplus/ Table B-1 describes the contents of DIGITAL C++ directories. Files Installed on Your System B-1 Table_B-1_Files_Installed_______________________________________ Directory_____________Subdirectories___Description______________ /usr/bin/ Links for command names /usr/include/cxx/ DIGITAL C++ header files /usr/lib/cmplrs/ cxx/ Commands and libraries /usr/lib/ libcxxstd.a - archived library /usr/man/ man1/ DIGITAL C++ reference man3/ pages /usr/share/doclib/cplusplus/ HTML files ________________________________________________________________ B-2 Files Installed on Your System C ________________________________________________________________ Recovering from Errors This appendix provides information to help you deal with failures or errors that might occur during product installation or product use. If you find an error in the documentation, report it to the following Internet address: cxx_docs@bookie.enet.dec.com Include the title of the document, section and page number where the error occurred. C.1 Failures During Product Installation If errors occur during the installation, the system dis- plays failure messages. For example, if the installation fails due to insufficient disk space, a message like the following appears: There is not enough space for subset subset-name subset-name (subset-description) will not be loaded. Errors can occur during the installation if any of the following conditions exist: o The operating system version is incorrect. o The prerequisite software version is incorrect. o There is insufficient disk space. o The system parameter values for successful installation are insufficient. For descriptions of error messages generated by these conditions, see the DIGITAL UNIX documentation on system messages, recovery procedures, and DIGITAL UNIX software installation. For information on system software requirements, see Section 1.4.3. Recovering from Errors C-1 Following are error messages you might encounter during installation, along with explanations and suggested corrective steps. Messages for CXXBASE610 Subset will not be installed on this version of the operating system. This subset must be installed only on DIGITAL UNIX V4.0 or later. Explanation: Tried to install CXXBASEnnn on Version 3.2 or earlier. This is not supported. For Subset to be installed you must install the Standard Programmer Commands subset for DIGITAL UNIX V4.0 or higher (OSFPGMRnnn) User Action: Install the Standard Programmer Commands (OSFPGMRnnn) subset. For Subset to be installed you must install the Compiler Back End subset for Digital UNIX V4.0 or higher (OSFCMPLRSnnn) User Action: Install the Compiler Back End (OSFCMPLRSnnn) subset. This includes the C compiler, cpp, ld, and so on. You must remove currently installed CXXBASEnnn before installing Subset User Action: You cannot install "on top" of existing subset. Enter the command setld -d CXXBASEnnn first. For Subset to be installed you must first de-install older CXX subsets. Try: setld -i | grep CXX | grep installed User Action: Deinstall older CXX subsets. Ladebug V4.0 does not appear to be currently installed. It is recommended that the Ladebug debugger supplied with this kit (or newer) be installed for best results when debugging with DIGITAL C++ VERSION. User Action: Install Ladebug Version 4.0 or later to debug C++. C-2 Recovering from Errors The installation verification procedure has failed. Please verify that CXXSHRDAnnn, CXXBASEnnn, and CXXHRDAnnn are correctly installed. Explanation: A simple compilation test is run after the installation. If this failed, it could be because of a failure in the installation of the listed subsets or possibly a missing or expired PAK. Messages for CXXLIB610 Subset will not be installed on this version of the operating system This subset must be installed only on DIGITAL UNIX V4.0 or later Explanation: Tried to install CXXLIBnnn on Version 3.2 or earlier. This is not supported. Messages for CXXHTML610 Subset will not be installed on this version of the operating system This subset must be installed only on DIGITAL UNIX V4.0 or later Explanation: Tried to install CXXHTMLnnn on Version 3.2 or earlier. This is not supported. Subset will not be installed if CXXREDISTnnn subset is installed. Please de-install any previously installed CXXREDISTnnn subsets. User Action: The CXXLIB subset cannot be installed if the C++ Runtime Library Redistribution (CXXREDISTnnn) is loaded. The user must first delete that subset using the command setld -d. Messages for CXXOLD610 Subset will not be installed on this version of the operating system This subset must be installed only on DIGITAL UNIX V4.0 or later. Explanation: Tried to install CXXOLDnnn on Version 3.2 or earlier. This is not supported. Subset will not be installed without the DIGITAL C++ VERSION Base subset. Explanation: You cannot install the -oldcxx compiler without the C++ base subset. Recovering from Errors C-3 C.2 Failures During Product Use If an error occurs while DIGITAL C++ is in use and you believe the error is caused by a problem with the product, please report it to DIGITAL. 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: o The name and version number of the operating system you are using o The version number of DIGITAL C++ you are using o The hardware system you are using (such as a model number) o A brief description of the problem (one sentence if possible) o How critical the problem is Whether you submit information electronically or contact the appropriate support specialist by telephone, please take the following steps: 1. Describe as accurately as possible the circumstances and state of the system when the problem occurred. Include the description and version number of the DIGITAL C++ compiler being used. Demonstrate the problem with specific examples. 2. Reduce the problem to as small a size as possible. 3. Remember to include listings of any command files, INCLUDE files, or relevant data files, and so forth. 4. Provide a listing of the program. 5. If the program is longer than 50 lines, submit a copy of it on machine-readable media (diskette or magnetic tape). If necessary, also submit a copy of the program library used to build the application. C-4 Recovering from Errors For information about submitting media, see the tar(1) reference page. 6. Report only one problem per report. This will facilitate a faster response. 7. Mail the problem report to DIGITAL. If the problem is related to DIGITAL C++ 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 DIGITAL C++ documentation to the following Internet address: cxx_docs@bookie.enet.dec.com If you have access to a FAX machine, you can also send comments or suggestions to: DIGITAL C++ Documentation, ZKO2-3/K35 603-884-0120 Recovering from Errors C-5