まず、brew からerlangをインストールする。ついでにelixirも。
$ brew install erlang $ brew install elixir
% brew install elixir Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again. ==> Installing dependencies for elixir: unixodbc, erlang ==> Installing elixir dependency: unixodbc ==> Downloading http://www.unixodbc.org/unixODBC-2.3.2.tar.gz ######################################################################## 100.0% ==> ./configure --prefix=/usr/local/Cellar/unixodbc/2.3.2 --enable-gui=no ==> make install 🍺 /usr/local/Cellar/unixodbc/2.3.2: 31 files, 1012K, built in 83 seconds Error: You must `brew link autoconf libtool' before erlang can be installed % brew link autoconf libtool Linking /usr/local/Cellar/autoconf/2.69... 18 symlinks created Linking /usr/local/Cellar/libtool/2.4.2... 17 symlinks created % brew install erlang Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again. ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/erlang-R16B03.mavericks.bottle.tar.gz ######################################################################## 100.0% ==> Pouring erlang-R16B03.mavericks.bottle.tar.gz ==> Caveats Man pages can be found in: /usr/local/opt/erlang/lib/erlang/man Access them with `erl -man`, or add this directory to MANPATH. ==> Summary 🍺 /usr/local/Cellar/erlang/R16B03: 7534 files, 277M
今日ちょっとだけ紹介があったIntelliJベースのErlangIDEですが、作者の方に伺ったところ、現在開発中のスタンドアロン版と、既に提供しているプラグイン版では大きな機能差はまだ無いようです。 #kbkz_tech
— jyoko (@Fq4X) 2014, 3月 7
IntelliJのErlangプラグインはIntelliJのCE版で使えるので無料で試せます。IntelliJにはIdeaVimというプラグインでVimキーバインドが使えるのでEmacsが使えない人は試してみると良いかもしれません。 #kbkz_tech
— jyoko (@Fq4X) 2014, 3月 7
作者のかたもIDEを探り探り開発しているようなので、使った感想やバグ報告などをgithubで報告するも良いかもしれません。ちなみにgithubはこちら -> http://t.co/07WmDRI4ch #kbkz_tech
— jyoko (@Fq4X) 2014, 3月 7
あとは、このプラグインをインストールするだけでいいみたい。Erlang専用のIDEもあるみたいだがプラグインと変わらないので今回は見送り。
zipを落としてきて Preferences -> plugins を選んで落としたzipをそのままインストール。
IDEを再起動すれば新しいプロジェクトを作るときにErlangを選択出来るようになる。
- 作者: Joe Armstrong,榊原一矢
- 出版社/メーカー: オーム社
- 発売日: 2008/02/23
- メディア: 単行本(ソフトカバー)
- 購入: 8人 クリック: 284回
- この商品を含むブログ (96件) を見る