[Top][All Lists]

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

INSTALL.CVS instructions failed

From: Chris Moore
Subject: INSTALL.CVS instructions failed
Date: 22 Apr 2004 23:23:32 +0200

I just did a CVS update and followed the instructions in
INSTALL.CVS.  All was well until I got to the
  "make recompile EMACS=../src/emacs"
step, at which point it failed in an ugly manner, showing me nasty
looking byte code:

  $ make recompile EMACS=../src/emacs
  ../src/emacs -batch --no-site-file --multibyte --eval 
"(batch-byte-recompile-directory 0)" /home/chris/programs/emacs/lisp
  Source file `/home/chris/programs/emacs/lisp/emacs-lisp/bytecomp.el' newer 
than byte-compiled file
  Wrong number of arguments: #[nil ... [noninteractive command-line-args-left 
error "batch-byte-recompile-directory is to be used only with -batch" (".") 
byte-recompile-directory kill-emacs 0] 3 
("/home/chris/programs/emacs/lisp/emacs-lisp/bytecomp.elc" . 117105)], 1
  make: *** [recompile] Error 255

It looks like the problem was that recently (in the last 10 days or
so since I last ran 'cvs update') something in bytecomp.el changed,
because moving my old bytecomp.elc out of the way fixed the problem:

  $ mv emacs-lisp/bytecomp.elc emacs-lisp/bytecomp.elc.old
  $ make recompile EMACS=../src/emacs

Could or should the Makefile be taught to delete bytecomp.elc if it's
older than bytecomp.el?  Or should the INSTALL.CVS file be updated to
mention this problem?  The current "Error 255" isn't too helpful.


reply via email to

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