Hi,
I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has been a
part of default Emacs for quite a long time. From a stock emacs, do :
M-x locate-library RET eieio RET
to see what it says. If it is there, then there is something else going on
during command line build. Instead you can visit mlint.el, and just type:
M-x byte-compile-file RET
Also you should update update the Makefile to change CEDET_PATH to point at a
good version of CEDET. I believe it is still pointing at the default. That
won’t fix the compile error you point out below, but will fix upcoming problems
you will have after finding EIEIO if you want to make the CEDET tools work.
Eric
From: Yen Chieh Chern [mailto:angelch...@gmail.com]
Sent: Saturday, December 13, 2014 11:29 PM
To: matlab-emacs-discuss@lists.sourceforge.net
Subject: [Matlab-emacs-discuss] el-get install matlab-mode compile error
Hello,
I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. When I
tried to install matlab-mode via el-get, I got the compiling error as follows,
emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L
~/cedet/trunk/lisp/cedet/ --eval '(progn (setq generated-autoload-file
"/Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el"))' -f
batch-update-autoloads /Users/cyc/.emacs.d/el-get/matlab-mode
Loading vc-cvs...
Generating autoloads for cedet-matlab.el...
Generating autoloads for cedet-matlab.el...done
Generating autoloads for linemark.el...
Generating autoloads for linemark.el...done
Generating autoloads for matlab.el...
Generating autoloads for matlab.el...done
Generating autoloads for mlint.el...
Generating autoloads for mlint.el...done
Generating autoloads for semantic-matlab.el...
Generating autoloads for semantic-matlab.el...done
Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab-load.el
emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L
~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile matlab.el
In matlab-with-emacs-link:
matlab.el:119:8:Warning: reference to free variable `matlab-use-eei'
matlab.el:120:8:Warning: reference to free variable `matlab-eei-process'
In matlab-do-functions-have-end-p:
matlab.el:213:28:Warning: reference to free variable `matlab-defun-regex'
matlab.el:251:1:Warning: defcustom for `matlab-arg1-max-indent-length' fails
to specify containing group
matlab.el:304:1:Warning: defcustom for `matlab-elipsis-string' fails to
specify containing group
matlab.el:313:1:Warning: defcustom for `matlab-fill-count-ellipsis-flag' fails
to specify containing group
matlab.el:318:1:Warning: defcustom for `matlab-fill-strings-flag' fails to
specify containing group
In matlab-font-lock-adjustments:
matlab.el:504:19:Warning: defface for `matlab-nested-function-keyword-face'
fails to specify containing group
matlab.el:501:33:Warning: defface for `matlab-cellbreak-face' fails to specify
containing group
In matlab-mode:
matlab.el:1237:31:Warning: reference to free variable `matlab-defun-regex'
In matlab-semicolon-on-return:
matlab.el:2648:35:Warning: reference to free variable
`matlab-quiesce-nosemi-regexp'
matlab.el:4205:1:Warning: defcustom for `matlab-shell-history-file' fails to
specify containing group
In matlab-shell-mode:
matlab.el:4444:9:Warning: assignment to free variable
`matlab-shell-last-error-anchor'
In matlab-shell-matlabroot:
matlab.el:4928:11:Warning: reference to free variable
`matlab-shell-matlabroot-run'
In matlab-shell-help-mode:
matlab.el:5579:18:Warning: reference to free variable
`matlab-shell-help-mode-menu'
In matlab-shell-topic-mode:
matlab.el:5618:13:Warning: assignment to free variable `mode-motion-hook'
matlab.el:5619:18:Warning: reference to free variable
`matlab-shell-topic-mode-menu'
In matlab-shell-topic-highlight-line:
matlab.el:5703:37:Warning: reference to free variable `mouse-grabbed-buffer'
matlab.el:5716:41:Warning: reference to free variable `mode-motion-extent'
In end of data:
matlab.el:5835:1:Warning: the function `comint-check-proc' might not be
defined at runtime.
matlab.el:5835:1:Warning: the following functions are not known to be defined:
extent-list, start-itimer, matlab-overlays-at, matlab-overlay-get,
matlab-overlay-start, matlab-overlay-end, matlab-next-overlay-change,
mlint-minor-mode, matlab-point-at-eol, matlab-point-at-bol,
matlab-delete-overlay, matlab-cancel-timer, matlab-run-with-idle-timer,
matlab-make-overlay, matlab-overlay-put, mlint-buffer,
mlint-clear-warnings, mlint-clear-cross-function-variable-highlighting,
set-extent-begin-glyph, make-extent, make-glyph, matlab-eei-run,
matlab-eei-eval-region, matlab-previous-overlay-change, mouse-set-point,
view-major-mode, event-buffer, event-point, mode-motion-ensure-extent-ok,
detach-extent, set-extent-endpoints
Wrote /Users/cyc/.emacs.d/el-get/matlab-mode/matlab.elc
emacs -batch --no-site-file --eval '(setq debug-on-error t)' -L ./ -L
~/cedet/trunk/lisp/cedet/ --eval '(progn )' -f batch-byte-compile mlint.el
In toplevel form:
mlint.el:33:1:Error: Cannot open load file: eieio
make: *** [mlint.elc] Error 1
Do you guys have any ideas how I can fix this?
Thanks in advance.
CYC
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss