EC2 で rvm install ruby-1.9.3-head したら Error running 'make -j1' になった
タイトル通りインストールしようとしたら、以下のエラーが出た。
Error running 'make -j1', please read /usr/local/rvm/log/ruby-1.9.3-head/1368191233_make.log There has been an error while running make. Halting the installation.
log をみてみると
signal.c:622:2: error: implicit declaration of function ‘write’ [-Werror=implicit-function-declaration]
となっていた。
rvm install ruby-1.9.3-p286: Error running 'make -j 9' (OSX: Mountain Lion) - Stack Overflow が引っかかったので
~/. rvmrc を作ってみたけど今度は
Error running 'make -j 9', please read /usr/local/rvm/log/ruby-1.9.3-head/1368193436_make.log There has been an error while running make. Halting the installation.
となってしまった。
原因はよくわからないけどとりあえず解決したのでメモ。