annotate INSTALL.BZR @ 109404:e93288477c43

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sun, 13 Jun 2010 22:57:55 +0000
parents 4d2a82992443
children ac52af4a044c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
106802
b92c3979701c Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents: 106667
diff changeset
1 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
75587
68cfc1db0d26 Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents: 72914
diff changeset
2 Free Software Foundation, Inc.
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
3 See the end of the file for license conditions.
75587
68cfc1db0d26 Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents: 72914
diff changeset
4
68cfc1db0d26 Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents: 72914
diff changeset
5
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
6 Building and Installing Emacs from Bazaar
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
7
101131
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
8 If this is the first time you go through it, you'll need to configure
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
9 before bootstrapping:
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
10
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
11 $ ./configure
1541a3c11c7f Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents: 100959
diff changeset
12
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
13 Some of the files that are included in the Emacs tarball, such as
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
14 byte-compiled Lisp files, are not stored in Bazaar. Therefore, to
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
15 build from Bazaar you must run "make bootstrap" instead of just "make":
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
16
106667
7ef5489936c5 Fix bazaar update instructions
Andreas Schwab <schwab@linux-m68k.org>
parents: 106655
diff changeset
17 $ bzr pull
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
18 $ make bootstrap
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
19
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
20 Normally, it is not necessary to use "make bootstrap" after every
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
21 update from Bazaar. "make" should work in 90% of the cases and be
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
22 much quicker.
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
23
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
95687
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
29 Occasionally the file "lisp/loaddefs.el" (and similar automatically
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
30 generated files, such as esh-groups.el, and *-loaddefs.el in some
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
31 subdirectories of lisp/, e.g. mh-e/ and calendar/) will need to be
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
32 updated to reflect new autoloaded functions. If you see errors (rather
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
33 than warnings) about undefined lisp functions during compilation, that
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
34 may be the reason. Another symptom may be an error saying that
18c9a69d751f loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents: 95686
diff changeset
35 "loaddefs.el" could not be found; this is due to a change in the way
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
36 loaddefs.el was handled in version control, and should only happen
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
37 once, for users that are updating old sources. Finally, sometimes
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
38 there can be build failures related to *loaddefs.el (e.g. "required
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
39 feature `esh-groups' was not provided"). In that case, follow the
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
40 instructions below.
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
41
93899
b6020a64025d Improve previous change.
Glenn Morris <rgm@gnu.org>
parents: 93871
diff changeset
42 To update loaddefs.el (and similar files), do:
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
43
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
44 $ cd lisp
96069
b0615674c5b7 Remove references to passing EMACS to make, since the defaults are
Glenn Morris <rgm@gnu.org>
parents: 95722
diff changeset
45 $ make autoloads
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
46
66301
6f111b7dd138 Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents: 54679
diff changeset
47 If either of the above partial procedures fails, try "make bootstrap".
104860
216634f325ab Don't mention maintainer-clean, since `make bootstrap' does this now.
Glenn Morris <rgm@gnu.org>
parents: 102349
diff changeset
48 If CPU time is not an issue, the most thorough way to rebuild, and
216634f325ab Don't mention maintainer-clean, since `make bootstrap' does this now.
Glenn Morris <rgm@gnu.org>
parents: 102349
diff changeset
49 avoid any spurious problems, is always to use this method.
93869
f06f50495cd9 Mention deleting loaddefs, maintainer-clean.
Glenn Morris <rgm@gnu.org>
parents: 79751
diff changeset
50
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
51 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
52 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
53 etc.) before "make bootstrap" or "make"; the rest of the procedure is
96069
b0615674c5b7 Remove references to passing EMACS to make, since the defaults are
Glenn Morris <rgm@gnu.org>
parents: 95722
diff changeset
54 applicable to those systems as well.
53439
19d4dac27e5c Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff changeset
55
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
56 Questions, requests, and bug reports about the Bazaar versions of Emacs
106802
b92c3979701c Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents: 106667
diff changeset
57 should be sent to bug-gnu-emacs@gnu.org rather than gnu.emacs.help.
b92c3979701c Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents: 106667
diff changeset
58 Ideally, use M-x report-emacs-bug RET.
54055
6a13a0f9d22b Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents: 53439
diff changeset
59
106652
7b9e6639caa3 * INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents: 104860
diff changeset
60 Because the Bazaar version of Emacs is a work in progress, it will
97932
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
61 sometimes fail to build. Please wait a day or so (and check the bug
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
62 and development mailing list archives) before reporting such problems.
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
63 In most cases, the problem is known about and is just waiting for
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
64 someone to fix it.
20ce3b4f1247 A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents: 96134
diff changeset
65
54055
6a13a0f9d22b Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents: 53439
diff changeset
66
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
67
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
68 This file is part of GNU Emacs.
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
69
94719
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
70 GNU Emacs is free software: you can redistribute it and/or modify
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
71 it under the terms of the GNU General Public License as published by
94719
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
72 the Free Software Foundation, either version 3 of the License, or
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
73 (at your option) any later version.
75769
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
74
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
75 GNU Emacs is distributed in the hope that it will be useful,
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
76 but WITHOUT ANY WARRANTY; without even the implied warranty of
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
77 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
78 GNU General Public License for more details.
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
79
92a0e87ff562 Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents: 75587
diff changeset
80 You should have received a copy of the GNU General Public License
94719
1a762a842f80 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 94434
diff changeset
81 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.