home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / editors / emacs / lemacs_1 / lemacs_1.exe < prev    next >
Encoding:
Text File  |  1994-06-02  |  2.9 KB  |  70 lines

  1.  
  2. The lemacs-19.10-*-*-*.tar.gz files contain executables for Lucid Emacs 19.10.
  3. To use them, you will also need the files in lemacs-19.10-common.tar.gz, which
  4. is the architecture-independent parts of the installation tree (the `lisp',
  5. `etc', and `info' directories.)
  6.  
  7. HOW TO INSTALL
  8. ==============
  9.  
  10. Simply cd to the directory in which you wish to install lemacs,
  11. and then unpack the architecture independent tar file, followed by
  12. the architecture-dependent files for those architectures you use.
  13.  
  14.   cd /usr/local/    # or wherever you install 3rd-party software
  15.   gzip -dc lemacs-19.10-common.tar.gz | tar -pxf -
  16.   gzip -dc lemacs-19.10-sparc-sun-sunos4.1.3.tar.gz | tar -pxf -
  17.  
  18. Replace `/usr/local/' with what you like, but it probably ought not
  19. have `lemacs' or a version number in it - that directory is expected
  20. to be the common prefix for installed software, and lemacs-specific
  21. subdirectories of it will be created.  The directories are arranged
  22. in such a way that multiple versions of lemacs can peaceably coexist
  23. under the same `/usr/local/' tree.
  24.  
  25. After unpacking, you will have a directory structure like:
  26.  
  27.   ./bin/sparc-sun-sunos4.1.3/lemacs-19.10*    executable
  28.   ./lib/lemacs-19.10/lisp/            lisp library
  29.   ./lib/lemacs-19.10/etc/            data directory
  30.   ./lib/lemacs-19.10/info/            documentation
  31.   ./lib/lemacs-19.10/sparc-sun-sunos4.1.3/    utility programs
  32.   ./lib/lemacs/lock/                lock directory
  33.   ./lib/lemacs/site-lisp/            local lisp code
  34.  
  35. For the executable to work, the directory layout must look pretty
  36. much like this; the executable looks for "sibling" directories at
  37. run-time to figure out where its lisp library is.  These constraints
  38. on the local directory layout are necessary to avoid having to
  39. hardcode pathnames into the executables, or require that environment
  40. variables be set before running the executable.
  41.  
  42. It is possible to do a multi-architecture in such a way that the
  43. executables for the various architectures are on different
  44. partitions; in that case you must install some symbolic links so
  45. that the directory structure appears as above from the clients.
  46.  
  47. For example, assume that $LOCAL refers to a directory which is
  48. mounted only on machines of the same type; and $SHARED refers to
  49. a directory which is shared among all machines.  You could set up
  50. the directory hierarchy like this:
  51.  
  52.   $LOCAL/bin/lemacs-19.10*
  53.   $LOCAL/lib/lemacs-19.10/sparc-sun-sunos4.1.3/
  54.   $LOCAL/lib/lemacs-19.10/lisp@  ->  $SHARED/lemacs-19.10/lisp/
  55.   $LOCAL/lib/lemacs-19.10/etc@   ->  $SHARED/lemacs-19.10/etc/
  56.   $LOCAL/lib/lemacs-19.10/info@  ->  $SHARED/lemacs-19.10/info/
  57.   $LOCAL/lib/lemacs@             ->  $SHARED/lemacs/
  58.  
  59.   $SHARED/lemacs-19.10/lisp/
  60.   $SHARED/lemacs-19.10/etc/
  61.   $SHARED/lemacs-19.10/info/
  62.   $SHARED/lemacs/lock/
  63.   $SHARED/lemacs/site-lisp/
  64.  
  65. That is, the various $SHARED directories contain only the
  66. architecture-independent files, but still look like normal
  67. installation trees, since the architecture-independent
  68. directories have been replaced with symbolic links to the 
  69. single $COMMON tree.
  70.