Restore entries deleted without comment, presumably in error.
[emacs.git] / INSTALL.CVS
blob2294e754c22d88fbb74fe7b4d6e5a361ddaf511f
1 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
2   Free Software Foundation, Inc.
3 Copying and distribution of this file, with or without modification,
4 are permitted provided the copyright notice and this notice are preserved.
7               Building and Installing Emacs from CVS
9 Some of the files that are included in the Emacs tarball, such as
10 byte-compiled Lisp files, are not stored in the CVS repository.
11 Therefore, to build from CVS you must run "make bootstrap"
12 instead of just "make":
14   $ ./configure
15   $ make bootstrap
17 The bootstrap process makes sure all necessary files are rebuilt
18 before it builds the final Emacs binary.
20 Normally, it is not necessary to use "make bootstrap" after every CVS
21 update.  Unless there are problems, we suggest using the following
22 alternative procedure after you have done "make bootstrap" at least
23 once:
25   $ ./configure
26   $ make
27   $ cd lisp
28   $ make recompile EMACS=../src/emacs
29   $ cd ..
30   $ make
32 (If you want to install the Emacs binary, type "make install" instead
33 of "make" in the last command.)
35 Occasionally the file "lisp/loaddefs.el" will need be updated to
36 reflect new autoloaded functions.  If you see errors about undefined
37 lisp functions during compilation, that may be the reason.  Another
38 symptom may be an error saying that "loaddefs.el" could not be found;
39 this is due to a change in the way loaddefs.el was handled in CVS, and
40 should only happen once, for users that are updating old CVS trees.
42 To update loaddefs.el, do:
44   $ cd lisp
45   $ make autoloads EMACS=../src/emacs
47 If either of the above partial procedures fails, try "make bootstrap".
49 Users of non-Posix systems (MS-Windows etc.) should run the
50 platform-specific configuration scripts (nt/configure.bat, config.bat,
51 etc.) before "make bootstrap" or "make"; the rest of the procedure is
52 applicable to those systems as well, except that the value of the
53 EMACS variable on the Make command line might be different, e.g.,
54 ../bin/emacs.exe or some such.
56 Questions, requests, and bug reports about the CVS versions of Emacs
57 should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help
58 or gnu.emacs.bug.  Ideally, use M-x report-emacs-bug RET which will
59 send it to the proper place.
62 Note on using SSH to access the CVS repository from inside Emacs
63 ----------------------------------------------------------------
65 Write access to the CVS repository requires using SSH v2.
67 If you execute cvs commands inside Emacs, specifically if you use
68 pcl-cvs, output from CVS may be lost due to a problem in the
69 interface between ssh, cvs, and libc.  Corrupted checkins are
70 also known to have happened.
72 To fix the problem, save the following script into a file, make it
73 executable, and set CVS_RSH to the file name of the script:
75 #!/bin/bash
76 exec 2> >(exec cat >&2 2>/dev/null)
77 exec ssh "$@"
79 This may be combined with the following entry in ~/.ssh/config to
80 simplify accessing the CVS repository:
82 Host subversions.gnu.org
83      Protocol 2
84      ForwardX11 no
85      User YOUR_USERID