unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* byte-compile-file: emacs vs the command line.
@ 2013-12-28 22:41 R. Clayton
  2013-12-29 15:59 ` R. Clayton
  0 siblings, 1 reply; 9+ messages in thread
From: R. Clayton @ 2013-12-28 22:41 UTC (permalink / raw)
  To: help-gnu-emacs

I'm running this

  $ emacs -version
  GNU Emacs 23.4.1
  Copyright (C) 2012 Free Software Foundation, Inc.
  GNU Emacs comes with ABSOLUTELY NO WARRANTY.
  You may redistribute copies of Emacs
  under the terms of the GNU General Public License.
  For more information about these matters, see the file named COPYING.

  $ 

on this

  $ uname -a
  Linux UlanBator 3.10-2-686-pae #1 SMP Debian 3.10.5-1 (2013-08-07) i686 GNU/Linux

  $ 

a debian testing system updated weekly.  When I byte-compile a file using
byte-compile-file within emacs, I get this

  Compiling file /home/rclayton/.emacs.d/rmail-init.el at Sat Dec 28 17:24:55 2013
  Entering directory `/home/rclayton/.emacs.d/'
  rmail-init.el:56:21:Warning: reference to free variable `mail-mode-map'
  rmail-init.el:61:21:Warning: reference to free variable `rmail-mode-map'
  rmail-init.el:63:15:Warning: assignment to free variable
      `rmail-confirm-expunge'

but when I try it from the command-line I get this:

  $ make
  emacs --batch --eval '(byte-compile-file "~/.emacs.d/rmail-init.el" nil)'
  Loading 00debian-vars...
  Loading /etc/emacs/site-start.d/20apel.el (source)...
  Loading /etc/emacs/site-start.d/50asymptote.el (source)...
  Loading /etc/emacs/site-start.d/50auto-complete-el.el (source)...
  Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
  Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
  Loading debian-ispell...
  Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
  Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
  Loading /etc/emacs/site-start.d/50flim.el (source)...
  Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...
  Loading /usr/share/emacs23/site-lisp/haskell-mode/haskell-mode-autoloads.el (source)...
  Loading /etc/emacs/site-start.d/50haxe.el (source)...
  Loading /etc/emacs/site-start.d/50lua-mode.el (source)...
  Loading /etc/emacs/site-start.d/50mgp.el (source)...
  Loading /etc/emacs/site-start.d/50noweb.el (source)...
  Loading /etc/emacs/site-start.d/50scsh.el (source)...
  Loading /etc/emacs/site-start.d/50vm.el (source)...
  Loading /etc/emacs23/site-start.d/50vm-init.el (source)...
  Loading /etc/emacs/site-start.d/50w3m-el.el (source)...
  Loading /etc/emacs/site-start.d/50w3m-el-snapshot.el (source)...
  Loading /etc/emacs/site-start.d/51semi.el (source)...
  Loading /etc/emacs/site-start.d/65wl.el (source)...

  In toplevel form:
  rmail-init.el:5:4:Error: Cannot open load file: general-utils

  $ ls -l rm*
  -rw------- 1 rclayton rclayton 2548 Dec 28 17:19 rmail-init.el

  $ 

In both cases rmail-init.elc didn't exist before compiling.  Why is the
command-line compile failing, and how can I fix it?

-- 




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-01-01  2:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-28 22:41 byte-compile-file: emacs vs the command line R. Clayton
2013-12-29 15:59 ` R. Clayton
2013-12-29 16:26   ` Eli Zaretskii
2013-12-30  5:19     ` R. Clayton
2013-12-30  7:20       ` Thierry Volpiatto
2013-12-30 10:34       ` Peter Dyballa
2013-12-30 16:23         ` R. Clayton
2013-12-30 19:27           ` Peter Dyballa
2014-01-01  2:52             ` R. Clayton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).