Sun Studio 12 Installation Reference Guide

Identifying and Fixing a Failed Installation

If some packages are not properly installed, you will have problems using the Sun Studio software. For example, if you used the pkgadd command to install the software, you have corrupted the productregistry file. To verify whether all packages are installed properly, follow these instructions.

ProcedureVerifying Whether All Packages are Installed Properly

  1. Become a superuser (root) by typing:


    su
    Password: root-password
    
  2. Open the Solaris Product Registry tool by typing:


    /usr/bin/prodreg &
  3. In the left column of the tool, look at the list under the heading Registered Software.

    If a yellow triangle appears adjacent to the product name, then the product is not installed properly.

  4. Select the product name and click the Uninstall button. The Uninstall Failed dialog box opens.

  5. Read the message in the box, and then click OK if you want to uninstall the product.

    The Interactive Uninstall dialog box opens.

  6. Follow the instructions in the subsequent dialog boxes until uninstallation is complete.

    Once the uninstallation is complete, you can reinstall the product software using the product installer. See the Sun Studio 12 Quick Installation guide for product installation instructions.

  7. Exit from superuser privileges by typing:


    exit