[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Configure option --prefix seems broken partially (was

From: Ikumi Keita
Subject: Re: [AUCTeX-devel] Configure option --prefix seems broken partially (was Re: reftex-reference not including autoref)
Date: Mon, 26 Nov 2018 18:08:43 +0900

Hi all,

>>>>> Ikumi Keita <address@hidden> writes:
> When the user have installed emacs as well under home directory like
> that, installation of AUCTeX would be successful with `make install'.
> However, I think that --prefix option should be effective even when
> emacs is installed in the system directory, such as /usr/local or /usr,
> where user doesn't have write permission usually.

I reconsidered this issue and understood that it's very difficult for
configure script to figure out the location to install lisp files under
the user's home direcotry if Emacs has not been installed under the home

So I came to think that it would be good to add instruction to supply
--with-lispdir option when installing under the home directory as the
patch listed below.

How do you think about this idea?

Ikumi Keita

diff --git a/doc/install.texi b/doc/install.texi
index d45d1d2d..aa21673f 100644
--- a/doc/install.texi
+++ b/doc/install.texi
@@ -434,6 +434,17 @@ directory.  In that way, resulting binaries will be 
installed under the
 personal software, since the prefix argument is supported by most
 @file{configure} scripts.
+In addition, you often need to specify @option{--with-lispdir} as well.
+If you haven't installed Emacs under your home directory and use Emacs
+installed in system directories, the @file{configure} script might not
+be able to figure out suitable place to install lisp files under your
+home directory.  In that case, the @file{configure} script would
+silently choose, by default, the @file{site-lisp} directory within
address@hidden for the place, where administration privileges are
+usually required to put relevant files.  Thus you will have to tell
+the @file{configure} script explicitly where to put those files, e.g.,
+by @address@hidden/home/myself/share/emacs/site-lisp}}.
 You'll have to add something like
 @file{/home/myself/share/emacs/site-lisp} to your @code{load-path}
 variable, if it isn't there already.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]