unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* bzr cedet compiling error on Ubuntu
@ 2014-10-09 23:26 eenliu
  2014-10-10 16:14 ` Glenn Morris
       [not found] ` <mailman.10922.1412957648.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: eenliu @ 2014-10-09 23:26 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I tried to byte-compile bzr cedet on Ubuntu 14.04, but got this error:

In toplevel form:
cedet-edebug.el:37:13:Error: File `/usr/share/emacs/24.3/lisp/emacs-lisp/debug.elc' was not compiled in Emacs
make[2]: *** [cedet-edebug.elc] Error 1
make[2]: Leaving directory `/home/ning/dev/emacs.d/site-lisp/cedet/lisp/cedet'
make[1]: *** [cedet] Error 2
make[1]: Leaving directory `/home/ning/dev/emacs.d/site-lisp/cedet/lisp'
make: *** [compile] Error 2


Similarly, if compiling contrib:

In semantic-tag-folding-get-attribute-overlay:
semantic-tag-folding.el:533:42:Warning: function `remove-if-not' from cl
    package called at runtime
semantic-tag-folding.el:666:1:Error: File `/usr/share/emacs/24.3/lisp/emacs-lisp/cl-seq.elc' was not compiled in Emacs
make: *** [semantic-tag-folding.elc] Error 1


Can someone tell me what this "***.elc was not compiled in Emacs" error means? How can I solve the issue? Thanks.


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

* Re: bzr cedet compiling error on Ubuntu
  2014-10-09 23:26 bzr cedet compiling error on Ubuntu eenliu
@ 2014-10-10 16:14 ` Glenn Morris
       [not found] ` <mailman.10922.1412957648.1147.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2014-10-10 16:14 UTC (permalink / raw)
  To: eenliu; +Cc: help-gnu-emacs

eenliu wrote:

> cedet-edebug.el:37:13:Error: File `/usr/share/emacs/24.3/lisp/emacs-lisp/debug.elc' was not compiled in Emacs

Please post the result of running:

  head -n5 /usr/share/emacs/24.3/lisp/emacs-lisp/debug.elc



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

* Re: bzr cedet compiling error on Ubuntu
       [not found] ` <mailman.10922.1412957648.1147.help-gnu-emacs@gnu.org>
@ 2014-10-10 17:59   ` eenliu
  2014-10-10 19:22     ` Glenn Morris
       [not found]     ` <mailman.10945.1412968959.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: eenliu @ 2014-10-10 17:59 UTC (permalink / raw)
  To: help-gnu-emacs


> Please post the result of running: 
>   head -n5 /usr/share/emacs/24.3/lisp/emacs-lisp/debug.elc

$ head -n5 /usr/share/emacs/24.3/lisp/emacs-lisp/debug.elc
311 \x16%$\x11#\x12\"\x13!\x14 \x15\x1f\x16\n\x1e\x16
^[\x16\x1a\x16\x19\x16\x10\x18\x16\x11\x17\x16\x12\x16\x16\x13\x15\x16\x14.\x11\207" [debugger-old-buffer debugger-outer-load-read-function debugger-outer-overriding-terminal-local-map debugger-outer-overriding-local-map debugger-outer-track-mouse debugger-outer-last-command buffer-name set-match-data eval-expression match-data debugger-outer-this-command debugger-outer-unread-command-events debugger-outer-unread-post-input-method-events debugger-outer-last-input-event debugger-outer-last-command-event debugger-outer-last-nonmenu-event debugger-outer-last-event-frame debugger-outer-standard-input debugger-outer-standard-output debugger-outer-inhibit-redisplay debugger-outer-cursor-in-echo-area cursor-in-echo-area inhibit-redisplay standard-output standard-input last-event-frame last-nonmenu-event last-command-event last-input-event unread-post-input-method-events unread-command-events this-command last-command track-mouse overriding-local-map overriding-terminal-local-map load-read-function debugger-outer-match-data exp] 16 (#$ . 16161) (list (read-from-minibuffer "Eval: " nil read-expression-map t 'read-expression-history))])
(defvar debugger-mode-map (byte-code "\303 \304 \x18\x19\305	\n\"\210\306	!\210\307	\310\311#\210\307	\312\313#\210\307	\314\315#\210\307	\316\317#\210\307	\320\321#\210\307	\322\323#\210\307	\324\325#\210\307	\326\327#\210\307	\330\331#\210\307	\332\333#\210\307	\334\335#\210\307	\336\337#\210\307	\340\341#\210\307	\342\343#\210\307	\344\345#\210\307	\346\34B#\210\30\350\351#\210\30\352\353#\210\30\354\355#\210\30\356\357#\210\30\360\361#\210\30\362\363#\210\30\364\365#\210\30\366\367#\210\30\370\371#\210\30\372\373#\210\30\374\375#\210\30\376\377#\210\30\201@\201A#\210\30\201B\201C#\210\30\201D\201E#\210\30\201F\201G#\210	*\207" [menu-map map button-buffer-map make-keymap make-sparse-keymap set-keymap-parent suppress-keymap define-key "-" negative-argument "b" debugger-frame "c" debugger-continue "j" debugger-jump "r" debugger-return-value "u" debugger-frame-clear "d" debugger-step-through "l" debugger-list-functions "h" describe-mode "q" top-level "e" debugger-eval-expression " " next-line "R" debugger-rec" debug-help-follow [mouse-2] push-button [menu-bar debugger] "Debugger" [deb-top] (menu-item "Quit" top-level :help "Quit debugging and return to top level") [deb-s0] ("--") [deb-descr] (menu-item "Describe Debugger Mode" describe-mode :help "Display documentation for debugger-mode") [deb-hfol] (menu-item "Help Follow" debug-help-follow :help "Follow cross-reference") [deb-nxt] (menu-item "Next Line" next-line :help "Move cursor down") [deb-s1] ("--") [deb-lfunc] (menu-item "List debug on entry functions" debugger-list-functions :help "Display a list of all the functions now set to debug on entry") [deb-fclear] (menu-item "Cancel debug frame" debugger-frame-clear :help "Do not enter debugger when this frame exits") [deb-frame] (menu-item "Debug frame" debugger-frame :help "Request entry to debugger when this frame exits") [deb-s2] ("--") [deb-ret] (menu-item "Return value..." debugger-return-value :help "Continue, specifying value to return.") [deb-rec] (menu-item "Display and Record Expression" debugger-record-expression :help "Display a variable's value and record it in `*Backtrace-record*' buffer") [deb-eval] (menu-item "Eval Expression..." debugger-eval-expression :help "Eval an expression, in an environment like that outside the debugger") [deb-jump] (menu-item "Jump" debugger-jump :help "Continue to exit from this frame, with all debug-on-entry suspended") [deb-cont] (menu-item "Continue" debugger-continue :help "Continue, evaluating this expression without stopping") [deb-step] (menu-item "Step through" debugger-step-through :help "Proceed, stepping through subexpressions of this expression")] 5))
(put 'debugger-mode 'mode-class 'special)
#@522 Mode for backtrace buffers, selected in debugger.
\<debugger-mode-map>


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

* Re: bzr cedet compiling error on Ubuntu
  2014-10-10 17:59   ` eenliu
@ 2014-10-10 19:22     ` Glenn Morris
       [not found]     ` <mailman.10945.1412968959.1147.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2014-10-10 19:22 UTC (permalink / raw)
  To: eenliu; +Cc: help-gnu-emacs

eenliu wrote:

> $ head -n5 /usr/share/emacs/24.3/lisp/emacs-lisp/debug.elc
> 311 %$#\"! \x1f\n\x16
> \x16\x16\x16\x18\x11\x16\x16\x13\x16.\207" [debugger-old-buffer
> debugger-outer-load-read-function
> debugger-outer-overriding-terminal-local-map debugger-
[...]

That's weird. You should get something like:
  
  ;ELC
  ;;; Compiled by root@trouble.defaultvalue.org on Sat Sep  6 21:46:40 2014
  ;;; from file /home/locke/deb/build/emacs/main/debian/build-x/lisp/emacs-lisp/debug.el
  ;;; in Emacs version 24.3.1
  ;;; with all optimizations.

It looks like you are missing ~ the first 100 lines of the file.
Perhaps your .elc files have somehow become corrupted.
Try reinstalling emacs. Something like:

  sudo apt-get install --reinstall emacs24 emacs24-common

Also check your apt/dpkg logs for errors.



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

* Re: bzr cedet compiling error on Ubuntu
       [not found]     ` <mailman.10945.1412968959.1147.help-gnu-emacs@gnu.org>
@ 2014-10-10 19:42       ` eenliu
  2014-10-10 19:48         ` eenliu
  0 siblings, 1 reply; 6+ messages in thread
From: eenliu @ 2014-10-10 19:42 UTC (permalink / raw)
  To: help-gnu-emacs

> Try reinstalling emacs. Something like:
>   sudo apt-get install --reinstall emacs24 emacs24-common

Thanks for suggestions!

After reinstalling emacs, the head output looks right:
$ head -n5 /usr/share/emacs/24.3/lisp/emacs-lisp/debug.elc 
;ELC\x17
;;; Compiled by buildd@toyol.buildd on Fri Mar  7 17:44:30 2014
;;; from file /build/buildd/emacs24-24.3+1/debian/build-x/lisp/emacs-lisp/debug.el
;;; in Emacs version 24.3.1
;;; with all optimizations.


But make in cedet directory still has errors below. Is some files still broken? 

Wrote /home/ning/dev/emacs.d/site-lisp/cedet/lisp/cedet/cogre/semantic.elc
make[3]: Leaving directory `/home/ning/dev/emacs.d/site-lisp/cedet/lisp/cedet/cogre'
make[2]: Leaving directory `/home/ning/dev/emacs.d/site-lisp/cedet/lisp/cedet'
make[1]: Leaving directory `/home/ning/dev/emacs.d/site-lisp/cedet/lisp'
make -C doc -C texi
make[1]: Entering directory `/home/ning/dev/emacs.d/site-lisp/cedet/doc/texi'
makeinfo cedet.texi
make[1]: makeinfo: Command not found
make[1]: *** [cedet.info] Error 127
make[1]: Leaving directory `/home/ning/dev/emacs.d/site-lisp/cedet/doc/texi'
make: *** [info] Error 2


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

* Re: bzr cedet compiling error on Ubuntu
  2014-10-10 19:42       ` eenliu
@ 2014-10-10 19:48         ` eenliu
  0 siblings, 0 replies; 6+ messages in thread
From: eenliu @ 2014-10-10 19:48 UTC (permalink / raw)
  To: help-gnu-emacs

Please ignore my dumb question. Installed texinfo and everything is ok.
Glenn, thanks a lot for your help!



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

end of thread, other threads:[~2014-10-10 19:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 23:26 bzr cedet compiling error on Ubuntu eenliu
2014-10-10 16:14 ` Glenn Morris
     [not found] ` <mailman.10922.1412957648.1147.help-gnu-emacs@gnu.org>
2014-10-10 17:59   ` eenliu
2014-10-10 19:22     ` Glenn Morris
     [not found]     ` <mailman.10945.1412968959.1147.help-gnu-emacs@gnu.org>
2014-10-10 19:42       ` eenliu
2014-10-10 19:48         ` eenliu

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).