diff options
| author | Karl Fogel | 2009-12-27 17:26:27 -0500 |
|---|---|---|
| committer | Karl Fogel | 2009-12-27 17:26:27 -0500 |
| commit | 8bb25908552b44a425beb91d3035b1c091d2d6f2 (patch) | |
| tree | 3bf0056dd3c17d145e664af2a3f57807f8d2d7df | |
| parent | 11e3c6841270082394ccf01a64af820806d3962f (diff) | |
| download | emacs-8bb25908552b44a425beb91d3035b1c091d2d6f2.tar.gz emacs-8bb25908552b44a425beb91d3035b1c091d2d6f2.zip | |
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
* INSTALL, autogen.sh, configure.in, configure: Adjust accordingly.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | INSTALL | 4 | ||||
| -rw-r--r-- | INSTALL.BZR (renamed from INSTALL.CVS) | 53 | ||||
| -rwxr-xr-x | autogen.sh | 2 | ||||
| -rwxr-xr-x | configure | 6 | ||||
| -rw-r--r-- | configure.in | 6 |
6 files changed, 33 insertions, 43 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-12-27 Karl Fogel <kfogel@red-bean> | ||
| 2 | |||
| 3 | * INSTALL.BZR: Rename from INSTALL.CVS; edit to talk about Bazaar. | ||
| 4 | * INSTALL, autogen.sh, configure.in, configure: Adjust accordingly. | ||
| 5 | |||
| 1 | 2009-12-17 Glenn Morris <rgm@gnu.org> | 6 | 2009-12-17 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * .dir-locals.el (bug-reference-url-format): Change to debbugs.gnu.org. | 8 | * .dir-locals.el (bug-reference-url-format): Change to debbugs.gnu.org. |
| @@ -7,8 +7,8 @@ See the end of the file for license conditions. | |||
| 7 | This file contains general information. For more specific information | 7 | This file contains general information. For more specific information |
| 8 | for the Windows, GNUstep/Mac OS X, and MS-DOS ports, also see the files | 8 | for the Windows, GNUstep/Mac OS X, and MS-DOS ports, also see the files |
| 9 | nt/INSTALL nextstep/INSTALL, and msdos/INSTALL. For information | 9 | nt/INSTALL nextstep/INSTALL, and msdos/INSTALL. For information |
| 10 | specific to building from a CVS checkout (rather than a release), see | 10 | specific to building from a Bazaar checkout (rather than a release), see |
| 11 | the file INSTALL.CVS. | 11 | the file INSTALL.BZR. |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | BASIC INSTALLATION | 14 | BASIC INSTALLATION |
diff --git a/INSTALL.CVS b/INSTALL.BZR index cf33143b4e0..2ff6ca8c4a7 100644 --- a/INSTALL.CVS +++ b/INSTALL.BZR | |||
| @@ -3,7 +3,7 @@ Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | |||
| 3 | See the end of the file for license conditions. | 3 | See the end of the file for license conditions. |
| 4 | 4 | ||
| 5 | 5 | ||
| 6 | Building and Installing Emacs from CVS | 6 | Building and Installing Emacs from Bazaar |
| 7 | 7 | ||
| 8 | If this is the first time you go through it, you'll need to configure | 8 | If this is the first time you go through it, you'll need to configure |
| 9 | before bootstrapping: | 9 | before bootstrapping: |
| @@ -11,15 +11,15 @@ before bootstrapping: | |||
| 11 | $ ./configure | 11 | $ ./configure |
| 12 | 12 | ||
| 13 | Some of the files that are included in the Emacs tarball, such as | 13 | Some of the files that are included in the Emacs tarball, such as |
| 14 | byte-compiled Lisp files, are not stored in the CVS repository. | 14 | byte-compiled Lisp files, are not stored in Bazaar. Therefore, to |
| 15 | Therefore, to build from CVS you must run "make bootstrap" | 15 | build from Bazaar you must run "make bootstrap" instead of just "make": |
| 16 | instead of just "make": | ||
| 17 | 16 | ||
| 18 | $ cvs update -dP | 17 | $ cvs update -dP |
| 19 | $ make bootstrap | 18 | $ make bootstrap |
| 20 | 19 | ||
| 21 | Normally, it is not necessary to use "make bootstrap" after every CVS | 20 | Normally, it is not necessary to use "make bootstrap" after every |
| 22 | update. "make" should work in 90% of the cases and be much quicker. | 21 | update from Bazaar. "make" should work in 90% of the cases and be |
| 22 | much quicker. | ||
| 23 | 23 | ||
| 24 | $ make | 24 | $ make |
| 25 | 25 | ||
| @@ -33,10 +33,11 @@ updated to reflect new autoloaded functions. If you see errors (rather | |||
| 33 | than warnings) about undefined lisp functions during compilation, that | 33 | than warnings) about undefined lisp functions during compilation, that |
| 34 | may be the reason. Another symptom may be an error saying that | 34 | may be the reason. Another symptom may be an error saying that |
| 35 | "loaddefs.el" could not be found; this is due to a change in the way | 35 | "loaddefs.el" could not be found; this is due to a change in the way |
| 36 | loaddefs.el was handled in CVS, and should only happen once, for users | 36 | loaddefs.el was handled in version control, and should only happen |
| 37 | that are updating old CVS trees. Finally, sometimes there can be build | 37 | once, for users that are updating old sources. Finally, sometimes |
| 38 | failures related to *loaddefs.el (e.g. "required feature `esh-groups' | 38 | there can be build failures related to *loaddefs.el (e.g. "required |
| 39 | was not provided"). In that case, follow the instructions below. | 39 | feature `esh-groups' was not provided"). In that case, follow the |
| 40 | instructions below. | ||
| 40 | 41 | ||
| 41 | To update loaddefs.el (and similar files), do: | 42 | To update loaddefs.el (and similar files), do: |
| 42 | 43 | ||
| @@ -52,42 +53,26 @@ platform-specific configuration scripts (nt/configure.bat, config.bat, | |||
| 52 | etc.) before "make bootstrap" or "make"; the rest of the procedure is | 53 | etc.) before "make bootstrap" or "make"; the rest of the procedure is |
| 53 | applicable to those systems as well. | 54 | applicable to those systems as well. |
| 54 | 55 | ||
| 55 | Questions, requests, and bug reports about the CVS versions of Emacs | 56 | Questions, requests, and bug reports about the Bazaar versions of Emacs |
| 56 | should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help | 57 | should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help |
| 57 | or gnu.emacs.bug. Ideally, use M-x report-emacs-bug RET which will | 58 | or gnu.emacs.bug. Ideally, use M-x report-emacs-bug RET which will |
| 58 | send it to the proper place. | 59 | send it to the proper place. |
| 59 | 60 | ||
| 60 | Because the CVS version of Emacs is a work in progress, it will | 61 | Because the Bazaar version of Emacs is a work in progress, it will |
| 61 | sometimes fail to build. Please wait a day or so (and check the bug | 62 | sometimes fail to build. Please wait a day or so (and check the bug |
| 62 | and development mailing list archives) before reporting such problems. | 63 | and development mailing list archives) before reporting such problems. |
| 63 | In most cases, the problem is known about and is just waiting for | 64 | In most cases, the problem is known about and is just waiting for |
| 64 | someone to fix it. | 65 | someone to fix it. |
| 65 | 66 | ||
| 66 | 67 | ||
| 67 | Note on using SSH to access the CVS repository from inside Emacs | 68 | Note on accessing the Bazaar repository |
| 68 | ---------------------------------------------------------------- | 69 | --------------------------------------- |
| 69 | 70 | ||
| 70 | Write access to the CVS repository requires using SSH v2. | 71 | Write access to the Bazaar repository is currently done via Bazaar's |
| 72 | sftp:// protocol; see http://www.emacswiki.org/emacs/BzrForEmacsDevs. | ||
| 73 | We plan to offer bzr+ssh:// access later. More discussion about that | ||
| 74 | is at https://savannah.gnu.org/support/?107077. | ||
| 71 | 75 | ||
| 72 | If you execute cvs commands inside Emacs, specifically if you use | ||
| 73 | pcl-cvs, output from CVS may be lost due to a problem in the | ||
| 74 | interface between ssh, cvs, and libc. Corrupted checkins are | ||
| 75 | also known to have happened. | ||
| 76 | |||
| 77 | To fix the problem, save the following script into a file, make it | ||
| 78 | executable, and set CVS_RSH to the file name of the script: | ||
| 79 | |||
| 80 | #!/bin/bash | ||
| 81 | exec 2> >(exec cat >&2 2>/dev/null) | ||
| 82 | exec ssh "$@" | ||
| 83 | |||
| 84 | This may be combined with the following entry in ~/.ssh/config to | ||
| 85 | simplify accessing the CVS repository: | ||
| 86 | |||
| 87 | Host subversions.gnu.org | ||
| 88 | Protocol 2 | ||
| 89 | ForwardX11 no | ||
| 90 | User YOUR_USERID | ||
| 91 | 76 | ||
| 92 | 77 | ||
| 93 | This file is part of GNU Emacs. | 78 | This file is part of GNU Emacs. |
diff --git a/autogen.sh b/autogen.sh index 0fe7ef32fc2..6eb8f982081 100755 --- a/autogen.sh +++ b/autogen.sh | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | echo "Please read INSTALL.CVS for instructions on how to build Emacs from CVS." | 3 | echo "Please read INSTALL.BZR for instructions on how to build Emacs from Bazaar." |
| 4 | 4 | ||
| 5 | # Exit with failure, since people may have generic build scripts that | 5 | # Exit with failure, since people may have generic build scripts that |
| 6 | # try things like "autogen.sh && ./configure && make". | 6 | # try things like "autogen.sh && ./configure && make". |
| @@ -5604,11 +5604,11 @@ fi | |||
| 5604 | ## pre-built, and not deleted by the normal clean rules. makeinfo is | 5604 | ## pre-built, and not deleted by the normal clean rules. makeinfo is |
| 5605 | ## therefore in the category of "special tools" not normally required, which | 5605 | ## therefore in the category of "special tools" not normally required, which |
| 5606 | ## configure does not have to check for (eg autoconf itself). | 5606 | ## configure does not have to check for (eg autoconf itself). |
| 5607 | ## In a CVS checkout on the other hand, the manuals are not included. | 5607 | ## In a Bazaar checkout on the other hand, the manuals are not included. |
| 5608 | ## So makeinfo is a requirement to build from CVS, and configure | 5608 | ## So makeinfo is a requirement to build from Bazaar, and configure |
| 5609 | ## should test for it as it does for any other build requirement. | 5609 | ## should test for it as it does for any other build requirement. |
| 5610 | ## We use the presence of $srcdir/info/emacs to distinguish a release, | 5610 | ## We use the presence of $srcdir/info/emacs to distinguish a release, |
| 5611 | ## with pre-built manuals, from a CVS checkout. | 5611 | ## with pre-built manuals, from a Bazaar checkout. |
| 5612 | if test "$MAKEINFO" = "no"; then | 5612 | if test "$MAKEINFO" = "no"; then |
| 5613 | if test "x${with_makeinfo}" = "xno"; then | 5613 | if test "x${with_makeinfo}" = "xno"; then |
| 5614 | MAKEINFO=off | 5614 | MAKEINFO=off |
diff --git a/configure.in b/configure.in index 32208c76170..c04df296158 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -799,11 +799,11 @@ fi | |||
| 799 | ## pre-built, and not deleted by the normal clean rules. makeinfo is | 799 | ## pre-built, and not deleted by the normal clean rules. makeinfo is |
| 800 | ## therefore in the category of "special tools" not normally required, which | 800 | ## therefore in the category of "special tools" not normally required, which |
| 801 | ## configure does not have to check for (eg autoconf itself). | 801 | ## configure does not have to check for (eg autoconf itself). |
| 802 | ## In a CVS checkout on the other hand, the manuals are not included. | 802 | ## In a Bazaar checkout on the other hand, the manuals are not included. |
| 803 | ## So makeinfo is a requirement to build from CVS, and configure | 803 | ## So makeinfo is a requirement to build from Bazaar, and configure |
| 804 | ## should test for it as it does for any other build requirement. | 804 | ## should test for it as it does for any other build requirement. |
| 805 | ## We use the presence of $srcdir/info/emacs to distinguish a release, | 805 | ## We use the presence of $srcdir/info/emacs to distinguish a release, |
| 806 | ## with pre-built manuals, from a CVS checkout. | 806 | ## with pre-built manuals, from a Bazaar checkout. |
| 807 | if test "$MAKEINFO" = "no"; then | 807 | if test "$MAKEINFO" = "no"; then |
| 808 | if test "x${with_makeinfo}" = "xno"; then | 808 | if test "x${with_makeinfo}" = "xno"; then |
| 809 | MAKEINFO=off | 809 | MAKEINFO=off |