Helm& Aquamacs on MACOSX

131 views
Skip to first unread message

David Hodge

unread,
Feb 10, 2013, 5:05:29 AM2/10/13
to emacs...@googlegroups.com
Hi,

I am trying to install Helm on Mac OSX Mountain Lion using Aquamacs.\

When i attempt to compile helm using the make file it fails.

There are lots of errors and warnings, and not suprisingly, Helm does not load.

I wonder if AquaMacs is not supported?

Output of make is below
===============

In toplevel form:
helm-apt.el:22:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-bbdb.el:22:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-bmkext.el:21:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-bookmark.el:22:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-buffers.el:22:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-call-tree.el:25:19:Warning: reference to free variable
    `simple-call-tree-analyze'
helm-call-tree.el:25:81:Warning: reference to free variable `test'

In end of data:
helm-call-tree.el:129:1:Warning: the following functions are not known to be
    defined: declare-function, &optional, simple-call-tree-analyze
Wrote /Users/dbh/elisp/helm/helm-call-tree.elc
Wrote /Users/dbh/elisp/helm/helm-color.elc

In toplevel form:
helm-command.el:22:1:Error: Symbol's function definition is void: declare-function
Wrote /Users/dbh/elisp/helm/helm-config.elc

In toplevel form:
helm-elisp.el:21:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-elscreen.el:22:19:Warning: reference to free variable
    `elscreen-find-screen-by-buffer'
helm-elscreen.el:22:76:Warning: reference to free variable `&optional'
helm-elscreen.el:22:86:Warning: reference to free variable `create'
helm-elscreen.el:23:19:Warning: reference to free variable
    `elscreen-find-file'
helm-elscreen.el:24:19:Warning: reference to free variable `elscreen-goto'

In end of data:
helm-elscreen.el:80:1:Warning: the following functions are not known to be
    defined: declare-function, buffer, filename, screen,
    helm-require-or-error, elscreen-find-screen-by-buffer, elscreen-goto,
    elscreen-find-file
Wrote /Users/dbh/elisp/helm/helm-elscreen.elc

In toplevel form:
helm-emms.el:23:19:Warning: reference to free variable `emms-streams'
helm-emms.el:24:19:Warning: reference to free variable
    `emms-stream-delete-bookmark'
helm-emms.el:25:19:Warning: reference to free variable
    `emms-stream-add-bookmark'
helm-emms.el:25:69:Warning: reference to free variable `url'
helm-emms.el:25:73:Warning: reference to free variable `fd'
helm-emms.el:25:76:Warning: reference to free variable `type'
helm-emms.el:26:19:Warning: reference to free variable
    `emms-stream-save-bookmarks-file'
helm-emms.el:27:19:Warning: reference to free variable `emms-stream-quit'
helm-emms.el:28:19:Warning: reference to free variable
    `with-current-emms-playlist'
helm-emms.el:28:64:Warning: reference to free variable `body'
helm-emms.el:29:19:Warning: reference to free variable
    `emms-playlist-tracks-in-region'
helm-emms.el:29:66:Warning: reference to free variable `end'
helm-emms.el:30:19:Warning: reference to free variable `emms-playlist-first'
helm-emms.el:31:19:Warning: reference to free variable
    `emms-playlist-mode-play-smart'

In helm-emms-stream-delete-bookmark:
helm-emms.el:71:40:Warning: reference to free variable `emms-stream-list'

In end of data:
helm-emms.el:188:1:Warning: the following functions are not known to be
    defined: declare-function, name, &rest, beg, emms-streams,
    emms-stream-delete-bookmark, emms-stream-add-bookmark,
    emms-stream-save-bookmarks-file, emms-stream-quit,
    helm-c-switch-to-buffer, emms-playlist-first,
    emms-playlist-mode-play-smart
Wrote /Users/dbh/elisp/helm/helm-emms.elc

In toplevel form:
helm-eshell.el:28:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-eval.el:41:19:Warning: reference to free variable `eldoc-current-symbol'
helm-eval.el:42:19:Warning: reference to free variable
    `eldoc-get-fnsym-args-string'
helm-eval.el:42:60:Warning: reference to free variable `&optional'
helm-eval.el:42:70:Warning: reference to free variable `index'
helm-eval.el:43:19:Warning: reference to free variable
    `eldoc-get-var-docstring'
helm-eval.el:44:19:Warning: reference to free variable
    `eldoc-fnsym-in-current-sexp'

In helm-eldoc-show-in-eval:
helm-eval.el:113:32:Warning: eldoc-get-fnsym-args-string called with 2
    arguments, but accepts only 1

In helm-eval-expression-with-eldoc:
helm-eval.el:167:18:Warning: `(quote helm-eldoc-store-minibuffer)' is a
    malformed function

In end of data:
helm-eval.el:184:1:Warning: the following functions are not known to be
    defined: declare-function, sym
Wrote /Users/dbh/elisp/helm/helm-eval.elc

In end of data:
helm-external.el:217:1:Warning: the following functions are not known to be
    defined: helm-w32-prepare-filename, helm-c-get-pid-from-process-name,
    mailcap-parse-mailcaps, mailcap-extension-to-mime, mailcap-mime-info,
    helm-comp-read
Wrote /Users/dbh/elisp/helm/helm-external.elc

In toplevel form:
helm-files.el:22:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-firefox.el:21:1:Error: Symbol's function definition is void: declare-function
Loading subst-ksc...
Loading subst-gb2312...
Loading subst-big5...
Loading subst-jis...

In end of data:
helm-font.el:174:1:Warning: the function `ucs-names' is not known to be
    defined.
Wrote /Users/dbh/elisp/helm/helm-font.elc

In toplevel form:
helm-gentoo.el:22:19:Warning: reference to free variable `term-line-mode'
helm-gentoo.el:23:19:Warning: reference to free variable `term-char-mode'
helm-gentoo.el:24:19:Warning: reference to free variable `term-send-input'
helm-gentoo.el:25:19:Warning: reference to free variable `term-send-eof'

In helm-gentoo-install:
helm-gentoo.el:89:9:Warning: assignment to free variable
    `helm-c-external-commands-list'

In end of data:
helm-gentoo.el:261:1:Warning: the following functions are not known to be
    defined: declare-function, term-line-mode, term-char-mode,
    term-send-input, helm-c-switch-to-buffer
Wrote /Users/dbh/elisp/helm/helm-gentoo.elc

In toplevel form:
helm-grep.el:22:1:Error: Symbol's function definition is void: declare-function

In end of data:
helm-help.el:1104:1:Warning: the function `read-key' is not known to be
    defined.
Wrote /Users/dbh/elisp/helm/helm-help.elc
Wrote /Users/dbh/elisp/helm/helm-imenu.elc

In toplevel form:
helm-info.el:22:1:Error: Symbol's function definition is void: declare-function

In helm-ff-find-locatedb:
helm-locate.el:112:17:Warning: reference to free variable
    `helm-ff-default-directory'

In helm-locate-1:
helm-locate.el:143:38:Warning: reference to free variable
    `helm-ff-default-directory'

In helm-locate:
helm-locate.el:279:9:Warning: assignment to free variable
    `helm-ff-default-directory'

In end of data:
helm-locate.el:291:1:Warning: the function `helm-c-read-file-name' is not
    known to be defined.
Wrote /Users/dbh/elisp/helm/helm-locate.elc

In toplevel form:
helm-man.el:23:19:Warning: reference to free variable
    `woman-file-name-all-completions'
helm-man.el:24:19:Warning: reference to free variable
    `Man-getpage-in-background'

In helm-c-man-default-action:
helm-man.el:42:15:Warning: kill-buffer called with 0 arguments, but requires 1

In end of data:
helm-man.el:82:1:Warning: the following functions are not known to be defined:
    declare-function, topic, woman-file-name-all-completions, helm-comp-read,
    Man-getpage-in-background
Wrote /Users/dbh/elisp/helm/helm-man.elc

In helm-mp-set-matching-method:
helm-match-plugin.el:66:34:Warning: reference to free variable
    `helm-mp-matching-method'
Wrote /Users/dbh/elisp/helm/helm-match-plugin.elc

In end of data:
helm-misc.el:343:1:Warning: the following functions are not known to be
    defined: helm-c-stringify, helm-c-symbolify
Wrote /Users/dbh/elisp/helm/helm-misc.elc

In toplevel form:
helm-mode.el:22:1:Error: Symbol's function definition is void: declare-function

In end of data:
helm-net.el:374:1:Warning: the function `helm-comp-read' is not known to be
    defined.
Wrote /Users/dbh/elisp/helm/helm-net.elc

In toplevel form:
helm-org.el:21:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-plugin.el:23:19:Warning: reference to free variable `Info-index-nodes'
helm-plugin.el:24:19:Warning: reference to free variable `Info-goto-node'
helm-plugin.el:24:52:Warning: reference to free variable `fork'
helm-plugin.el:25:19:Warning: reference to free variable `Info-find-node'
helm-plugin.el:25:54:Warning: reference to free variable `nodename'
helm-plugin.el:25:63:Warning: reference to free variable `&optional'
helm-plugin.el:25:73:Warning: reference to free variable `no-going-back'

In end of data:
helm-plugin.el:337:1:Warning: the following functions are not known to be
    defined: declare-function, &optional, filename, Info-index-nodes,
    Info-goto-node, helm-goto-line
Wrote /Users/dbh/elisp/helm/helm-plugin.elc

In toplevel form:
helm-regexp.el:22:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-ring.el:22:1:Error: Symbol's function definition is void: declare-function

In toplevel form:
helm-semantic.el:28:1:Error: Cannot open load file: semantic
Wrote /Users/dbh/elisp/helm/helm-sys.elc

In helm-c-etags-create-buffer:
helm-tags.el:152:23:Warning: kill-buffer called with 0 arguments, but requires
    1
Wrote /Users/dbh/elisp/helm/helm-tags.elc

In toplevel form:
helm-utils.el:25:19:Warning: reference to free variable `helm-find-files-1'
helm-utils.el:25:60:Warning: reference to free variable `&optional'
helm-utils.el:25:70:Warning: reference to free variable `preselect'

In helm-quit-and-find-file:
helm-utils.el:401:33:Warning: reference to free variable
    `helm-ff-transformer-show-only-basename'
helm-utils.el:415:23:Warning: reference to free variable `org-directory'
helm-utils.el:423:24:Warning: reference to free variable `ffap-url-regexp'

In end of data:
helm-utils.el:866:1:Warning: the following functions are not known to be
    defined: declare-function, fname, file-equal-p, list-system-processes,
    process-attributes, org-reveal, helm-find-files-1, helm-c-grep-split-line
Wrote /Users/dbh/elisp/helm/helm-utils.elc

In toplevel form:
helm-w3m.el:22:1:Error: Symbol's value as variable is void: helm-find-files-1

In toplevel form:
helm-yaoddmuse.el:23:19:Warning: reference to free variable
    `yaoddmuse-update-pagename'
helm-yaoddmuse.el:23:75:Warning: reference to free variable `unforced'
helm-yaoddmuse.el:24:19:Warning: reference to free variable
    `yaoddmuse-get-library-list'
helm-yaoddmuse.el:24:76:Warning: reference to free variable `dirs'
helm-yaoddmuse.el:24:81:Warning: reference to free variable `string'

In end of data:
helm-yaoddmuse.el:173:1:Warning: the following functions are not known to be
    defined: declare-function, &optional, yaoddmuse-update-pagename,
    yaoddmuse-get-library-list
Wrote /Users/dbh/elisp/helm/helm-yaoddmuse.elc

In helm-log-save-maybe:
helm.el:698:10:Warning: kill-buffer called with 0 arguments, but requires 1

In helm-initial-setup:
helm.el:1778:18:Warning: reference to free variable `split-width-threshold'

In helm-read-pattern-maybe:
helm.el:1869:45:Warning: `(function (lambda nil (setq timer
    (run-with-idle-timer (max helm-input-idle-delay 0.1) (quote repeat)
    (function (lambda nil (unless (or helm-in-persistent-action
    helm-suspend-update-flag) (save-selected-window
    (helm-check-minibuffer-input) (helm-print-error-messages)))))))))' is a
    malformed function

In helm-display-mode-line:
helm.el:2800:7:Warning: assignment to free variable `helm-mode-line-string'
helm.el:2805:36:Warning: reference to free variable `helm-mode-line-string'

In end of data:
helm.el:4032:1:Warning: the following functions are not known to be defined:
    visual-line-mode, last-nonminibuffer-frame, window-in-direction,
    window-next-sibling, split-window-sensibly, helm-help-internal,
    helm-reset-yank-point, window-total-size, with-selected-frame,
    window-resize, unrecord-window-buffer, helm-file-completion-source-p,
    helm-c-basename
Wrote /Users/dbh/elisp/helm/helm.elc
make: *** [batch-compile] Error 1

Thierry Volpiatto

unread,
Feb 10, 2013, 6:53:40 AM2/10/13
to emacs...@googlegroups.com
Hi David,

David Hodge <david...@gmail.com> writes:

> Hi,
>
> I am trying to install Helm on Mac OSX Mountain Lion using Aquamacs.\
>
> When i attempt to compile helm using the make file it fails.
>
> There are lots of errors and warnings, and not suprisingly, Helm does not
> load.
>
> I wonder if AquaMacs is not supported?
>
> Output of make is below
> ===============
>
> In toplevel form:
> helm-apt.el:22:1:Error: Symbol's function definition is void:
> declare-function
If the `declare-function' mechanism is not implemented in Aquamacs, so
yes helm is not supported.
And also many other packages that rely on this.
You should fill a bugreport for Aquamacs or use another Emacs for
Macosx.
This is reported to work fine with helm:
https://github.com/railwaycat/emacs-mac-port

--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Le Wang

unread,
Feb 10, 2013, 11:28:28 AM2/10/13
to emacs...@googlegroups.com
The make file isn't actually using Aquamacs. It's using the default
Emacs in /usr/bin/emacs, which is version 22.1.

Change the Makefile to point to your Auqamacs executable. You may
consider switching to a plain Emacs from emacsformacosx.com anyway.
> --
> You received this message because you are subscribed to the Google Groups
> "emacs-helm" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emacs-helm+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Le

David Hodge

unread,
Feb 15, 2013, 11:51:59 PM2/15/13
to emacs...@googlegroups.com
Thanks guys. I will look into switching I think.
Reply all
Reply to author
Forward
0 new messages