Next: , Previous: OS/2 Installation, Up: OS/2 Installation



1.3.1 OS/2 Installation Procedure

After unpacking the zip file, os2.zip, you will have these directories containing the following files:

exe
The executable programs scheme.exe and bchschem.exe.
dll
The dynamic link libraries blowfish.dll, gdbm.dll, and md5.dll.
doc
Documentation files in HTML.
lib
A directory containing the data files needed by Scheme when it is running.

Perform the following steps to install Scheme:

  1. Move the executable files scheme.exe and bchschem.exe from exe to any directory that appears in your PATH environment variable. You may either add the exe directory to your path by editing config.sys and rebooting, or you may move the files in exe to an existing directory that is already on your PATH.

    Depending on your needs, you may want to keep only one of these files; chances are you'll only be using one of them. Of course, you may also keep both programs around if you think you might use them both. See Memory Usage, for more information about the tradeoffs between these two programs.

  2. Move the dynamic link libraries from dll to any directory that appears in your LIBPATH environment variable. As above, you may either add dll to your LIBPATH, or move the files in dll to a directory that is already on your LIBPATH.
  3. You may move the lib directory anywhere you like. You may rename it to anything you like. (Here at MIT, we use c:\scheme\lib.) After you have chosen where it will be located, set the MITSCHEME_LIBRARY_PATH environment variable in config.sys to be that location.

    For example, if you decide to store the directory as c:\schdata, you would add the following to config.sys:

              SET MITSCHEME_LIBRARY_PATH=C:\SCHDATA
         

    (Remember that you must reboot OS/2 after editing config.sys in order for the changes to take effect.)

    You can override the setting of this environment variable with the --library command-line option to Scheme, for example:

              scheme --library d:\myscm\mylib
         

    If you supply a --library option, it is not necessary to have the environment variable defined. For example, instead of editing config.sys, you might create a .cmd file to invoke Scheme and pass it the --library option automatically.

  4. Optional: Move the doc directory anywhere you like, or delete it if you do not want to keep the documentation.
  5. Optional: Consider setting some of the environment variables described below.