Installing Binaries
Pre-compiled binaries for the CWB-NC on the following architecture-operating
system combinations are now available.
Architecture |
Operating System |
Sparc |
Solaris |
x86 |
Linux |
Obviously, installing the binary distribution is easier
than compiling the sources (and does not require that you have SML-NJ Version
110 installed on your system), so if one of the above combinations meets
your needs this is probably the option you should choose.
To install a binary distribution do the following.
-
Create a directory on your system in which the CWB-NC will
reside.
% mkdir cwb-nc
-
You will need to obtain the CWB-NC installation script and
at least two compressed tar files. The first tar file contains the CWB-NC
base distribution, previously called standard distribution, which contains
examples, documentation, and other common files. The other compressed tar
file(s) you must obtain are pre-compiled binaries for each architecture-operating
system combination you wish to install. You may pick up the files you need
here:
-
CWB-NC installation script:
-
Base distribution:
-
Pre-compiled binaries:
Place these files in the newly created CWB-NC directory on
your system. If you have multiple platforms sharing the same file system,
you only need to obtain one copy of the base distribution, along with the
pre-compiled binaries for each architecture-operating system combination
you wish to install. Place all files in the same cwb-nc home directory.
When the files are extracted from the tar files, they will be placed in
the proper subdirectories. The CWB-NC is configured to automatically determine
at run time the architecture and operating system on which the CWB-NC is
being run and load the appropriate binaries.
-
If you wish the use the CWB-NC graphical user interface,
then Expectk (version 5.20 or above) must be available on your system.
This program combines Tcl-tk with Expect and allows a graphical interface
to communicate with a text-based user interface. Expectk is free and available
at http://expect.nist.gov/. Expectk
5.20 requires Tcl 7.5 and Tk 4.1 which are also free and available at http://sunscript.sun.com/.
If you wish to use the CWB-NC graphical user interface, make sure Expectk
is installed on your system and be prepared when running the CWB-NC installation
script to give the absolute path to the directory in which Expectk resides.
If you wish to use only the text-based user interface, then Expectk is
not necessary. If you wish to add support for the GUI at a later time,
simply install Expectk, then re-run the CWB-NC installation script.
-
Make sure install-cwb-nc.sh is executable.
% chmod +x install-cwb-nc.sh
-
Run the installation script.
% install-cwb-nc.sh
You will be queried for a few pieces of information and then
the distribution will be unpacked and installed. If you wish to support
different architecture-operating system combinations, simply re-run the
installation script on the different platforms you wish to support.
-
The system is now ready to go! The script for running the
system is .../cwb-nc/bin/cwb-nc. For details on how to invoke
and use the system, see Chapter 3 of the User's manual located in the newly
created doc directory. Have fun.
[Home][Top
level Commands][Simulator
Commands][Download]