を使用してruby-2.3.1をインストールしようとしてrbenv install 2.3.1
います。以下は、失敗した上記のコマンドからのエラー トレースです。
BUILD FAILED (Amazon Linux AMI 2016.09 using ruby-build 20160602)
Inspect or clean up the working tree at /tmp/ruby-build.20161024151611.24040
Results logged to /tmp/ruby-build.20161024151611.24040.log
Last 10 log lines:
# define rl_username_completion_function username_completion_function
^
readline.c:1780:37: note: in expansion of macro 'rl_username_completion_function'
rl_username_completion_function);
^
make[2]: *** [readline.o] Error 1
make[2]: Leaving directory /tmp/ruby-build.20161024151611.24040/ruby-2.3.1/ext/readline'
make[1]: *** [ext/readline/all] Error 2
make[1]: Leaving directory/tmp/ruby-build.20161024151611.24040/ruby-2.3.1'
sudo yum install readline-devel
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
Package readline-devel-6.2-9.14.amzn1.x86_64 already installed and latest version
Nothing to do