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.

  1. Create a directory on your system in which the CWB-NC will reside.
  2. % mkdir cwb-nc
  3. 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:
  4. 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.
  5. 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.
  6. Make sure install-cwb-nc.sh is executable.
  7. % chmod +x install-cwb-nc.sh
  8. Run the installation script.
  9. % 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.
  10. 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]