Mercurial > emacs
annotate INSTALL.CVS @ 74383:091b7540d54d
(menu-bar-make-toggle): Add "globally" to echo area messages.
<indicate-empty-lines, case-fold-search>: Add "globally" to Help string.
<case-fold-search>: MESSAGE arg need not say "globally".
(menu-bar-edit-menu <paste-from-menu>): Renamed from select-and-paste.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 04 Dec 2006 00:30:11 +0000 |
parents | ede32cd24dba |
children | 68cfc1db0d26 b5c13d1564a9 |
rev | line source |
---|---|
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
1 Building and Installing Emacs from CVS |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
2 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
3 Some of the files that are included in the Emacs tarball, such as |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
4 byte-compiled Lisp files, are not stored in the CVS repository. |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
5 Therefore, to build from CVS you must run "make bootstrap" |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
6 instead of just "make": |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
7 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
8 $ ./configure |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
9 $ make bootstrap |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
10 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
11 The bootstrap process makes sure all necessary files are rebuilt |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
12 before it builds the final Emacs binary. |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
13 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
14 Normally, it is not necessary to use "make bootstrap" after every CVS |
72407 | 15 update. Unless there are problems, we suggest using the following |
16 alternative procedure after you have done "make bootstrap" at least | |
17 once: | |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
18 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
19 $ ./configure |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
20 $ make |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
21 $ cd lisp |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
22 $ make recompile EMACS=../src/emacs |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
23 $ cd .. |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
24 $ make |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
25 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
26 (If you want to install the Emacs binary, type "make install" instead |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
27 of "make" in the last command.) |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
28 |
68587
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
29 Occasionally the file "lisp/loaddefs.el" will need be updated to |
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
30 reflect new autoloaded functions. If you see errors about undefined |
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
31 lisp functions during compilation, that may be the reason. Another |
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
32 symptom may be an error saying that "loaddefs.el" could not be found; |
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
33 this is due to a change in the way loaddefs.el was handled in CVS, and |
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
34 should only happen once, for users that are updating old CVS trees. |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
35 |
68587
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
36 To update loaddefs.el, do: |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
37 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
38 $ cd lisp |
68587
1438f2238634
mh-autoloads is now a dependency of recompile, no need to remake it manually.
Eli Zaretskii <eliz@gnu.org>
parents:
66301
diff
changeset
|
39 $ make autoloads EMACS=../src/emacs |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
40 |
66301
6f111b7dd138
Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents:
54679
diff
changeset
|
41 If either of the above partial procedures fails, try "make bootstrap". |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
42 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
43 Users of non-Posix systems (MS-Windows etc.) should run the |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
44 platform-specific configuration scripts (nt/configure.bat, config.bat, |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
45 etc.) before "make bootstrap" or "make"; the rest of the procedure is |
66301
6f111b7dd138
Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents:
54679
diff
changeset
|
46 applicable to those systems as well, except that the value of the |
6f111b7dd138
Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents:
54679
diff
changeset
|
47 EMACS variable on the Make command line might be different, e.g., |
6f111b7dd138
Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents:
54679
diff
changeset
|
48 ../bin/emacs.exe or some such. |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
49 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
50 Questions, requests, and bug reports about the CVS versions of Emacs |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
51 should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
52 or gnu.emacs.bug. Ideally, use M-x report-emacs-bug RET which will |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
53 send it to the proper place. |
54055
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
54 |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
55 |
54679
821beb22a34c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
54055
diff
changeset
|
56 Note on using SSH to access the CVS repository from inside Emacs |
54055
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
57 ---------------------------------------------------------------- |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
58 |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
59 Write access to the CVS repository requires using SSH v2. |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
60 |
54679
821beb22a34c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
54055
diff
changeset
|
61 If you execute cvs commands inside Emacs, specifically if you use |
54055
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
62 pcl-cvs, output from CVS may be lost due to a problem in the |
72914
ede32cd24dba
Corrupted checkins are known to have happened.
Kim F. Storm <storm@cua.dk>
parents:
72407
diff
changeset
|
63 interface between ssh, cvs, and libc. Corrupted checkins are |
ede32cd24dba
Corrupted checkins are known to have happened.
Kim F. Storm <storm@cua.dk>
parents:
72407
diff
changeset
|
64 also known to have happened. |
54055
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
65 |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
66 To fix the problem, save the following script into a file, make it |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
67 executable, and set CVS_RSH to the file name of the script: |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
68 |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
69 #!/bin/bash |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
70 exec 2> >(exec cat >&2 2>/dev/null) |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
71 exec ssh "$@" |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
72 |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
73 This may be combined with the following entry in ~/.ssh/config to |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
74 simplify accessing the CVS repository: |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
75 |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
76 Host subversions.gnu.org |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
77 Protocol 2 |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
78 ForwardX11 no |
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
79 User YOUR_USERID |