summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-04-06 13:31:06 +0300
committerEli Zaretskii <eliz@gnu.org>2024-04-06 13:31:06 +0300
commit73569eb957e47e99d8181950afd7977a1ffa1acc (patch)
treea263b44cece09a04bd396f81667878bdc811a4d7
parentfab58ffc224de5e4e20ce7ea19f06ed33a036129 (diff)
downloademacs-73569eb957e47e99d8181950afd7977a1ffa1acc.tar.gz
; * INSTALL: Mention installation without root access (bug#70071).
-rw-r--r--INSTALL15
1 files changed, 15 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 2aaa02f37d7..90ae622f340 100644
--- 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,