home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xscm105.zip / xscm / INSTALL < prev    next >
Text File  |  1992-08-29  |  2KB  |  62 lines

  1.  
  2.         Installation instructions for x-scm
  3.  
  4. 1. Get and build scm4a10 or later.  Make sure it works OK before proceeding,
  5.    and install scm in a directory on your path;  the build procedure
  6.    for x-scm uses scm.
  7.  
  8. 2. Unpack the x-scm distribution in a subdirectory directly under scm.
  9.  
  10. 3. Edit the Imakefile to taste and say "imake".  The Imakefile contains
  11.    rules for building three variations of scm:
  12.  
  13.       xscm  contains primitives for Xlib only
  14.       xmscm contains primitives for Xlib, Xt, and Motif
  15.       olscm contains primitives for Xlib, Xt, and OpenLook
  16.  
  17.    Most systems have Motif or OpenLook, but not both.  As distributed,
  18.    the Imakefile tries to build both.  To suppress one or the other
  19.    version:
  20.  
  21.     imake -DSUPPRESS_MOTIF
  22.    or
  23.     imake -DSUPPRESS_OPENLOOK
  24.  
  25.    If you don't have imake, or don't want to bother with it, I've
  26.    included a Makefile generated by imake on my system in the kit,
  27.    called Makefile.  It works on my system -- on other systems you
  28.    will need to tweak it -- perhaps a lot.  Try to use imake if you
  29.    can.
  30.  
  31. 4. Add the following lines to the *catalog* function in "require.scm"
  32.    in your Scheme library:
  33.  
  34.      (ol            .    "ol")
  35.      (olsubs            .    "olsubs")
  36.      (x11            .    "x11")
  37.      (xevent            .    "xevent")
  38.      (xm            .    "xm")
  39.      (xmsubs            .    "xmsubs")
  40.      (xt            .    "xt")
  41.      (xw            .    "xw")
  42.  
  43. 5. Say "Hi mom!":
  44.  
  45.     $ xmscm xhello
  46.  
  47.    Try it out with some pretty pictures:
  48.  
  49.     $ xmscm xmandel
  50.  
  51.    Or fiddle with your colormap:
  52.  
  53.     $ xmscm xcolorselect
  54.  
  55. 6. When you're satisfied that it works, say "make install".
  56.  
  57. 7. Have fun!
  58.  
  59. - Larry Campbell
  60.   campbell@redsox.bsw.com
  61.   August 13, 1992
  62.