home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-2 / X11 / clients / patches / clxNextPatch.README
Encoding:
Text File  |  1996-11-09  |  1.7 KB  |  68 lines

  1. ------------------------------------------------------------------------
  2. *** BUILDING CLX R4 FOR NEXT ***
  3.  
  4. Keith Hall
  5. hall@eclipse.stanford.edu
  6.  
  7. Wed/1990-Jan-31
  8. ------------------------------------------------------------------------
  9. After untaring clxOnNext.tar you should have a directory clxOnNext with
  10. three files:
  11.   this README file
  12.   Xmd.h
  13.   Xos.h
  14.   Xproto.h
  15.   Xprotostr.h
  16.  
  17. You should have already built "cl" by running "config" in /usr/cl/build
  18.  
  19. Grab CLX sources from your favorite X-Windows source (such as
  20. expo.lcs.mit.edu):
  21.   ftp expo.lcs.mit.edu
  22.     login ftp
  23.     password guest
  24.     cd contrib
  25.     bin
  26.     get CLX.R4.tar.Z
  27.     bye
  28.   zcat CLX.R4.tar.Z | tar xf -
  29.   rm CLX.R4.tar.Z
  30.  
  31. Set up files:
  32.   foreach x (*.l)
  33.     mv $x $x:r.cl
  34.   end
  35.   mkdir MIT
  36.   mv defsystem.cl MIT
  37.   mv excldefsys.cl defsystem.cl
  38.   mv exclMakefile Makefile
  39.  
  40. mv Makefile Makefile.orig
  41. cp Makefile.orig Makefile
  42. Edit Makefile:
  43.   line 9: CL = /usr/bin/cl
  44.  
  45. mv socket.c socket.c.orig
  46. cp socket.c.orig socket.c
  47. Edit socket.c:
  48.   line 12: change <X11/Xos.h> to "Xos.h"
  49.   line 13: change <X11/Xproto.h> to "Xproto.h"
  50.   line 32: comment out "void bcopy();"
  51.  
  52. Make CLX.fasl:
  53.   make >& makeLog.txt &
  54.   (this will crunch for quite a while; makeLog.txt will grow to 46K)
  55.  
  56. Make binaries accessible to cl:
  57.   mv CLX.fasl /usr/cl/lib/code/clx.fasl
  58.   mv *.o /usr/cl/lib/code
  59.  
  60. Congratulations.  You have build CLX.  You can now remove all the CLX
  61. source files or just remove the derived files with "make clean".
  62.  
  63. Load CLX into a running cl by entering "(require :clx)".  You may wish
  64. to use "dumplisp" to save this image with CLX loaded, or even rebuild
  65. cl with the line "(require :clx)" added to /usr/cl/build/custom.cl
  66. (which is what I did).
  67. ------------------------------------------------------------------------
  68.