emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure to bootstrap on Windows


From: Juanma Barranquero
Subject: Re: Failure to bootstrap on Windows
Date: Sat, 3 Oct 2015 23:17:44 +0200

On Sat, Oct 3, 2015 at 10:35 AM, Eli Zaretskii <address@hidden> wrote:

> The question is why.  My first suspect is the file lisp.mk.  It should
> define the value of the Make variable shortlisp to hold a long list of
> preloaded Lisp files -- these are the ones that should have been
> compiled at that step.  I'm guessing that file is empty on your
> system, or maybe garbled.

And you're right:

$ cat lisp.mk
shortlisp = \

> If you decide to remove lisp.mk and regenerate it, please use
> "make V=1", so you could see if the command issued by Make has
> anything weird in it.

$ rm lisp.mk

$ make V=1 lisp.mk
  GEN      lisp.mk
sed: -e _expression_ #1, char 11: unterminated `s' command
make: 'lisp.mk' is up to date.

It complains at the \\ in 

    sed -e 's/$$/.elc \\/'

After changing src/Makefile.in so it generates a valid lisp.mk, bootstrapping goes a bit further:

mv -f emacs.exe bootstrap-emacs.exe
c:/Devel/emacs/build/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs.exe"
make[2]: Entering directory 'c:/Devel/emacs/repo/fresh/lisp'
  ELC      emacs-lisp/macroexp.elc
  ELC      emacs-lisp/cconv.elc
  ELC      emacs-lisp/byte-opt.elc
  ELC      emacs-lisp/bytecomp.elc
  ELC      emacs-lisp/autoload.elc
make[2]: Leaving directory 'c:/Devel/emacs/repo/fresh/lisp'
c:/Devel/emacs/build/bin/make -C ../lisp autoloads EMACS="../src/bootstrap-emacs.exe"
make[2]: Entering directory 'c:/Devel/emacs/repo/fresh/lisp'
  GEN      calendar/cal-loaddefs.el
  GEN      calendar/diary-loaddefs.el
  GEN      calendar/hol-loaddefs.el
  GEN      mh-e/mh-loaddefs.el
  GEN      net/tramp-loaddefs.el
Directories for loaddefs: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symre
f ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./international ./language ./leim ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./pr
ogmodes ./textmodes ./url ./vc
  GEN      loaddefs.el
Making generated-autoload-file local to  *autoload-file* while let-bound!
make[2]: Leaving directory 'c:/Devel/emacs/repo/fresh/lisp'
make[2]: Entering directory 'c:/Devel/emacs/repo/fresh/lisp'
  ELC      ../lisp/abbrev.elc
/usr/bin/sh: ../src/bootstrap-emacs.exe THEFILE=../lisp/abbrev.el: No such file or directory
Makefile:269: recipe for target '../lisp/abbrev.elc' failed
make[2]: *** [../lisp/abbrev.elc] Error 127
make[2]: Leaving directory 'c:/Devel/emacs/repo/fresh/lisp'
Makefile:693: recipe for target '../lisp/abbrev.elc' failed
make[1]: *** [../lisp/abbrev.elc] Error 2
make[1]: Leaving directory 'c:/Devel/emacs/repo/fresh/src'
Makefile:398: recipe for target 'src' failed
make: *** [src] Error 2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]