Hi Eric,

Thank you for your help. I simply added two lines to my matlab-settings.el
then it works. (I have a working copy from my linux machine so I copy the
/matlab-mode folder to my mac/windows machine, no compilation needed)

(add-to-list 'load-path "~/.emacs.d/el-get/matlab-mode/")
>
(require 'matlab-load)


CYC

On Tue, Dec 16, 2014 at 8:33 AM, Eric Ludlam <eric.lud...@mathworks.com>
wrote:
>
>  Hi,
>
>
>
> You will need to add the directory where Matlab.el and mlint.el are to
> your load-path.  If you look in the INSTALL file, after the ‘compilation’
> section, there are the snippets you need to add the path, and get the right
> amount of Matlab mode installed.
>
>
>
> Eric
>
>
>
> *From:* Yen Chieh Chern [mailto:angelch...@gmail.com]
> *Sent:* Monday, December 15, 2014 7:00 PM
> *To:* Eric Ludlam
> *Cc:* matlab-emacs-discuss@lists.sourceforge.net
> *Subject:* Re: [Matlab-emacs-discuss] el-get install matlab-mode compile
> error
>
>
>
> Hi Eric,
>
>
>
> Thanks for your reply. I checked the eieio installation then this is what
> emacs says,
>
>
>
> Library is file
> /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/emacs-lisp/eieio.elc
>
>
>
> I also did byte compile against mlint.el, emacs gives the error as follows,
>
>
>
> mlint.el:32:1:Error: Cannot open load file: no such file or directory,
> matlab
>
>
>
> But there is a matlab.el also a matlab.elc in the folder together with
> mlint.el. So now the old errors won't go and byte compile gives error too.
>
>
>
> Do you have further ideas?
>
>
>
> Thanks,
>
> CYC
>
>
>
> On Mon, Dec 15, 2014 at 8:57 AM, Eric Ludlam <eric.lud...@mathworks.com>
> wrote:
>
>  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
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to