user4045057
user4045057

Reputation: 21

I get a error when I try install auto-complete in emacs on mac

I'm newbie in emacs. I got an error when I try install auto-complete...I install it from https://github.com/auto-complete/auto-complete

when I make it, I got an error like this:

Loading subst-jis...
Loading subst-ksc...
Loading subst-big5...
Loading subst-gb2312...
Loading subst-jis...
Loading subst-ksc...
Loading subst-big5...
Loading subst-gb2312...
cask install
make: cask: No such file or directory
make: *** [.cask/22.1.1/elpa] Error 1

what am I doing wrong??...thanks!!!

Upvotes: 0

Views: 525

Answers (1)

syohex
syohex

Reputation: 2303

You got error because cask is not installed. But you need not to install Cask if you don't develop auto-complete.

Steps for installing auto-complete are here.

  1. Install newer Emacs by homebrew or macports.

Emacs(/usr/bin/emacs) which is installed on MacOSX is very old. Recent packages does not work on it.

  1. Add following setting to your configuration file(~/.emacs.d/init.el).

    (require 'package)
    (package-initialize)
    (add-to-list'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
    
  2. Restart Emacs

  3. M-x package-refresh-contents

  4. M-x package-install then you type auto-complete

See Also

Upvotes: 1

Related Questions