Mercurial > emacs
annotate INSTALL.BZR @ 111169:d15bf0cd36e1
calc.texi: Use emacsver.texi to determine Emacs version.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Sun, 24 Oct 2010 17:37:44 -0500 |
parents | ac52af4a044c |
children | 376148b31b5e |
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 |
110980
ac52af4a044c
* BUGS, INSTALL.BZR: Updates.
Glenn Morris <rgm@gnu.org>
parents:
107179
diff
changeset
|
34 may be the reason. Finally, sometimes there can be build failures |
ac52af4a044c
* BUGS, INSTALL.BZR: Updates.
Glenn Morris <rgm@gnu.org>
parents:
107179
diff
changeset
|
35 related to *loaddefs.el (e.g. "required feature `esh-groups' was not |
ac52af4a044c
* BUGS, INSTALL.BZR: Updates.
Glenn Morris <rgm@gnu.org>
parents:
107179
diff
changeset
|
36 provided"). In that case, follow the instructions below. |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
37 |
93899 | 38 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
|
39 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
40 $ cd lisp |
96069
b0615674c5b7
Remove references to passing EMACS to make, since the defaults are
Glenn Morris <rgm@gnu.org>
parents:
95722
diff
changeset
|
41 $ make autoloads |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
42 |
66301
6f111b7dd138
Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents:
54679
diff
changeset
|
43 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
|
44 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
|
45 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
|
46 |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
47 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
|
48 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
|
49 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
|
50 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
|
51 |
106652
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
52 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
|
53 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
|
54 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
|
55 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
|
56 someone to fix it. |
20ce3b4f1247
A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents:
96134
diff
changeset
|
57 |
54055
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
58 |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
59 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
60 This file is part of GNU Emacs. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
61 |
94719
1a762a842f80
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94434
diff
changeset
|
62 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
|
63 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
|
64 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
|
65 (at your option) any later version. |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
66 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
67 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
|
68 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
|
69 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
|
70 GNU General Public License for more details. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
71 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
72 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
|
73 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |