Child pages
  • Setting up the recommended build environment

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Get CBE 1.7.0 
    Code Block
    svn co svn+ssh://anon@svn.opensolaris.org/svn/jds/jds-cbe/trunk jds-cbe
    or from http://dlc.sun.com/osol/jds/downloads/cbe/test/
    
  2. Install CBE
    1. The ./cbe-install script is not meant to be run as root. It has to be run as user with "Software Installation" or "Primary Administrator" rights! (See /etc/user_attr).

      ...

      Code Block
      
      * Would you like the CBE installer to install this package for you? \[yes\] no

...

    1. 
      * Would you like to skip all missing packages? \[no\]: yes

...

    1. 
      * Enter the base directory (prefix) of the cbe \[/opt/dtbld\]: enter for default

...

    1. 
      * Would you like to do this now? \[no\]: enter for default

...

    1. 
      * Would you like to configure more compilers for use with the Desktop CBE? \[no\]: enter for default

...

    1. 
      * Please select the default compiler \[3\]: enter for default

...

    1. 
      
      Answer 'no' to all remaining questions.
      
    2. Following log is

...

    1. the last part of install log.
      Code Block
      
      <snipped>
      Installation of <SFpkgbuild> was successful.
      Building CBEenv
      INFO: Copying %use'd or %include'd spec files to SPECS directory
      INFO: Processing spec files
      INFO: Installing package CBEenv
      
      Summary:
      
                               package |      status | details
      ---------------------------------+-------------+-------------------------------
                                CBEenv |   INSTALLED |
      CBE setup complete
      Run
      . /opt/dtbld/bin/env.sh [environment]
      or
      source /opt/dtbld/bin/env.csh [environment]
      depending on your shell, to use this build environment.
      You can also run /opt/dtbld/bin/env.sh [environment] to start subshell.
      Installation log saved in /tmp/desktop-cbe-install-2011-04-06-08:58.log
      oi@openindiana:~/oi/src/jds-cbe$
      
      

Set the CBE build environment by env.sh 

...