Building Rotor on Unix

First, extract the archive using tar (under Mac OS X, you should use the gnutar utility instead of the older Unix tar):

    % tar xvfz sscli_20021101.tgz
    sscli/
    sscli/buildall
    sscli/buildall.cmd
    sscli/clr/
    sscli/clr/bin/
    ... output truncated ...

When tar is finished, change directory to the sscli directory and load the environment settings. Use env.csh if you are using the csh or tcsh shell:

    % cd sscli
    % source env.csh
    Fastchecked Environment
    %

If you are using bash, ksh, or sh, use env.sh:

    $ cd sscli
    $ . env.sh
    Fastchecked Environment
    $

The env.csh and env.sh scripts accept an optional argument, which can be one of free, fastchecked, or checked. (See "Build Mode,” earlier in this appendix.) Next, run the buildall script. It will start by running a configuration script and then will proceed to compile the Shared Source CLI (SSCLI):

    % ./buildall
    Running configure...
    Building the PAL...
    ... output truncated ...

After you’ve built the SSCLI, you may need to run the rehash command (use hash under the bash shell) so that the newly created binaries appear in your PATH:

    % clix
    clix: Command not found.
    % rehash
    % clix
    Managed application launcher.
     
    Usage: clix managed_exe [optional arguments to the exe]

Get Shared Source CLI Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.