diff options
| author | Glenn Morris | 2008-04-09 07:14:20 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-04-09 07:14:20 +0000 |
| commit | 7aceaab5054c4eaf8e04a92b9cdf624d062bf39f (patch) | |
| tree | 6d8eceb66c61530fc60dc1a9cadd5c2b7a0248ec | |
| parent | 20732e0b488c5ef3c3860c868521b1861880b99e (diff) | |
| download | emacs-7aceaab5054c4eaf8e04a92b9cdf624d062bf39f.tar.gz emacs-7aceaab5054c4eaf8e04a92b9cdf624d062bf39f.zip | |
Improve previous change.
| -rw-r--r-- | INSTALL.CVS | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/INSTALL.CVS b/INSTALL.CVS index 88a55adb7a4..941635325f9 100644 --- a/INSTALL.CVS +++ b/INSTALL.CVS | |||
| @@ -31,27 +31,30 @@ once: | |||
| 31 | (If you want to install the Emacs binary, type "make install" instead | 31 | (If you want to install the Emacs binary, type "make install" instead |
| 32 | of "make" in the last command.) | 32 | of "make" in the last command.) |
| 33 | 33 | ||
| 34 | Occasionally the file "lisp/loaddefs.el" will need to be updated to | 34 | Occasionally the file "lisp/loaddefs.el" (and similar *-loaddefs.el |
| 35 | reflect new autoloaded functions. If you see errors about undefined | 35 | files in some subdirectories of lisp/, e.g. mh-e/ and calendar/) will |
| 36 | lisp functions during compilation, that may be the reason. Another | 36 | need to be updated to reflect new autoloaded functions. If you see |
| 37 | symptom may be an error saying that "loaddefs.el" could not be found; | 37 | errors (rather than warnings) about undefined lisp functions during |
| 38 | this is due to a change in the way loaddefs.el was handled in CVS, and | 38 | compilation, that may be the reason. Another symptom may be an error |
| 39 | should only happen once, for users that are updating old CVS trees. | 39 | saying that "loaddefs.el" could not be found; this is due to a change |
| 40 | 40 | in the way loaddefs.el was handled in CVS, and should only happen | |
| 41 | To update loaddefs.el (and similar files in some subdirectories, eg | 41 | once, for users that are updating old CVS trees. Finally, sometimes |
| 42 | mh-e and calendar), do: | 42 | there can be build failures related to *loaddefs.el. In that case, |
| 43 | delete them before following the instructions below to update them. | ||
| 44 | |||
| 45 | To update loaddefs.el (and similar files), do: | ||
| 43 | 46 | ||
| 44 | $ cd lisp | 47 | $ cd lisp |
| 45 | $ make autoloads EMACS=../src/emacs | 48 | $ make autoloads EMACS=../src/emacs |
| 46 | 49 | ||
| 47 | (If a build fails with complaints related to a *loaddefs.el file, try | ||
| 48 | deleting any existing *loaddefs.el files and running the above command.) | ||
| 49 | |||
| 50 | If either of the above partial procedures fails, try "make bootstrap". | 50 | If either of the above partial procedures fails, try "make bootstrap". |
| 51 | 51 | ||
| 52 | Very occasionally changes in the source can introduce | 52 | Very occasionally changes in the source can introduce |
| 53 | incompatibilities with previous builds. If a bootstrap fails, as a | 53 | incompatibilities with previous builds. If a bootstrap fails, as a |
| 54 | last resort try "make maintainer-clean" before bootstrapping again. | 54 | last resort try "make maintainer-clean" before bootstrapping again. |
| 55 | If CPU time is not an issue, the most thorough way to rebuild, and | ||
| 56 | avoid any spurious problems, is always to use "make maintainer-clean; | ||
| 57 | make bootstrap". | ||
| 55 | 58 | ||
| 56 | Users of non-Posix systems (MS-Windows etc.) should run the | 59 | Users of non-Posix systems (MS-Windows etc.) should run the |
| 57 | platform-specific configuration scripts (nt/configure.bat, config.bat, | 60 | platform-specific configuration scripts (nt/configure.bat, config.bat, |