home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / the25.zip / thesrc251.zip / INSTALL < prev    next >
Text File  |  1997-11-13  |  2KB  |  51 lines

  1.                      The Hessling Editor
  2.  
  3.                Installation Notes for Un*x Port
  4.                --------------------------------
  5.  
  6. Please read ALL of these notes before building THE!
  7.  
  8. To install THE, you first need to configure it.  This is done by
  9. executing the configure script provided in this archive.  Because
  10. THE can be configured to run with different Curses libraries and
  11. with different REXX interpreters, there are quite a few options
  12. available when configuring.  To see these options, run:
  13.  
  14. configure --help
  15.  
  16. If you are interested in building different versions of THE on the
  17. one platform; like the X11 version and a text mode version, then you can
  18. do something like this.
  19.  
  20. To build a text-mode version of THE with "standard" curses:
  21.  
  22. mkdir curses
  23. cd curses
  24. ../configure
  25. make the
  26.  
  27. To build the X11 version of THE with PDCurses:
  28.  
  29. **** THE requires the file; xcurses.h.  This file is actually the curses.h
  30. **** that is distributed with PDCurses.  Either make a copy of this file
  31. **** called xcurses.h or make a symbolic link to it.
  32.  
  33. mkdir xcurses
  34. cd xcurses
  35. ../configure --with-xcurses --with-cursesincdir=somewhere --with-curseslibdir=somewhere
  36. make the
  37.  
  38. The configure script looks in some common places for all the libraries (both
  39. curses and REXX).  These are defined in the configure script. Some of the
  40. common directories are $HOME/include, /usr/local/include for header files
  41. and $HOME/lib and /usr/local/lib for libraries.  There are several others;
  42. see configure for the full list.
  43.  
  44. Once you have THE compiled, it can then be installed.  By default, the
  45. THE executable will be installed into /usr/local/bin, while the supplied
  46. macros will be installed into /usr/local/THE.  The base path "/usr/local"
  47. can be changed by adding the --prefix=path (where path is the base path)
  48. to the configure command.
  49. eg. to install THE into /opt/bin and /opt/THE, configure --prefix=/opt ...
  50.  
  51.