]> git.eshelyaron.com Git - emacs.git/commitdiff
; * INSTALL: Mention installation without root access (bug#70071).
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Apr 2024 10:31:06 +0000 (13:31 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Apr 2024 16:34:12 +0000 (18:34 +0200)
(cherry picked from commit 73569eb957e47e99d8181950afd7977a1ffa1acc)

INSTALL

diff --git a/INSTALL b/INSTALL
index 2aaa02f37d7287c7d5a8894a714d2997d0ddab2e..90ae622f34096bfe25dfbf3de9bd61193e8f3fcf 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -59,6 +59,15 @@ sections if you need to.
 
       where SOURCE-DIR is the top-level Emacs source directory.
 
+  2c. If you don't have write access to the default directory where
+      Emacs and its data files will be installed, specify an alternative
+      installation directory:
+
+                ./configure --prefix=/SOME/OTHER/DIRECTORY
+
+      where /SOME/OTHER/DIRECTORY is a directory writeable by your user,
+      for example, a subdirectory of your home directory.
+
   3. When 'configure' finishes, it prints several lines of details
      about the system configuration.  Read those details carefully
      looking for anything suspicious, such as wrong CPU and operating
@@ -440,6 +449,12 @@ should put emacs and its data files.  This defaults to '/usr/local'.
   (where CONFIGURATION is the configuration name, like
   i686-pc-linux-gnu), unless the '--exec-prefix' option says otherwise.
 
+If you don't have write access to the default '/usr/local' tree, and
+cannot have root access (without which "make install" will fail),
+specify '--prefix=PREFIXDIR' where PREFIXDIR is a directyory writeable
+by your user, for example your HOME directory or some subdirectory of
+it.
+
 The '--exec-prefix=EXECDIR' option allows you to specify a separate
 portion of the directory tree for installing architecture-specific
 files, like executables and utility programs.  If specified,