Created
November 3, 2016 04:16
-
-
Save y-temp4/7985c3cd3b364479816d013d97b1beac to your computer and use it in GitHub Desktop.
Elixirを使うためにanyenv経由でOSXにexenvをインストールした ref: http://qiita.com/y-temp4/items/41e5c9422ebffc7e909e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ anyenv install erlenv | |
$ exec $SHELL -l | |
$ brew install unixodbc wxmac fop | |
$ wget http://www.erlang.org/download/otp_src_19.1.tar.gz | |
$ tar zxf otp_src_19.1.tar.gz | |
$ cd otp_src_19.1 | |
$ ./configure --prefix=$HOME/.anyenv/envs/erlenv/releases/19.1 --enable-dynamic-ssl-lib --with-ssl=/usr/local/opt/openssl | |
$ make -j 4 | |
$ make install | |
$ erlenv global 19.1 | |
$ erlenv rehash | |
$ exec $SHELL -l | |
$ cd .. | |
$ rm -rf otp_src_19.1 otp_src_19.1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ erl | |
Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
Eshell V8.1 (abort with ^G) | |
1> crypto:start(). | |
ok | |
2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ erl | |
Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
Eshell V8.1 (abort with ^G) | |
1> crypto:start(). | |
** exception error: undefined function crypto:start/0 | |
2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ anyenv install exenv | |
$ exenv install 1.3.4 | |
$ exenv global 1.3.4 | |
$ exec $SHELL -l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ elixir -v | |
Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
Elixir 1.3.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment