annotate INSTALL-CVS @ 53300:2cabf526af0e

(Documentation Tips): Add anchor.
author Luc Teirlinck <teirllm@auburn.edu>
date Thu, 25 Dec 2003 04:00:56 +0000
parents 7bea35b48a17
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45852
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 Building and Installing Emacs from CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 Some of the files that are included in the Emacs tarball, such as
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 byte-compiled Lisp files, are not stored in the CVS repository.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 Therefore, to build from CVS you must run "make bootstrap"
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 instead of just "make":
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 $ make bootstrap
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 The bootstrap process makes sure all necessary files are rebuilt
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 before it builds the final Emacs binary.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 Normally, it is not necessary to use "make bootstrap" after every CVS
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 update. Unless there are problems, we suggest the following
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 procedure:
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 $ ./configure
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 $ cd lisp
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 $ make recompile EMACS=../src/emacs
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 $ cd ..
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 $ make
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 (If you want to install the Emacs binary, type "make install" instead
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 of "make" in the last command.)
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27
52709
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
28 Occasionally the file "lisp/loaddefs.el" will need be updated to reflect
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
29 new autoloaded functions. If you see errors about undefined lisp
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
30 functions during compilation, that may be the reason. Another symptom
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
31 may be an error saying that "loaddefs.el" could not be found; this is
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
32 due to a change in the way loaddefs.el was handled in CVS, and should
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
33 only happen once, for users that are updating old CVS trees.
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
34
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
35 To update loaddefs.el, do:
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
36
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
37 $ cd lisp
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
38 $ make autoloads EMACS=../src/emacs
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
39
7bea35b48a17 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-69
Miles Bader <miles@gnu.org>
parents: 52584
diff changeset
40 If either of above procedures fails, try "make bootstrap".
45852
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 Users of non-Posix systems (MS-Windows etc.) should run the
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 platform-specific configuration scripts (nt/configure.bat, config.bat,
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 etc.) before "make bootstrap" or "make"; the rest of the procedure is
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 applicable to those systems as well.
cfdefd705783 New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46
50100
ca7aa82d6f39 *** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 45852
diff changeset
47 Questions, requests, and bug reports about the CVS versions of Emacs
52584
88cd9cfe5459 Clear up the last paragraph.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 50100
diff changeset
48 should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help
88cd9cfe5459 Clear up the last paragraph.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 50100
diff changeset
49 or gnu.emacs.bug. Ideally, use M-x report-emacs-bug RET which will
88cd9cfe5459 Clear up the last paragraph.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 50100
diff changeset
50 send it to the proper place.