雑種のポメラニアン

フリープログラマーの日記とか人生観とか綴るよ

納得いかないんだけどMac OSX 10.8.2にrvmにruby1.8.7をインストールしたときのメモ

普通にインストールすると

4% rvm install 1.8.7-p371 --force --with-gcc=clang
Installing Ruby from source to: /Users/js/.rvm/rubies/ruby-1.8.7-p371, this may take a while depending on your cpu(s)...
ruby-1.8.7-p371 - #downloading ruby-1.8.7-p371, this may take a while depending on your connection...
ruby-1.8.7-p371 - #extracted to /Users/js/.rvm/src/ruby-1.8.7-p371 (already extracted)
Patch stdout-rouge-fix was already applied.
Patch no_sslv2 was already applied.
ruby-1.8.7-p371 - #configuring
ruby-1.8.7-p371 - #compiling
Error running 'make', please read /Users/js/.rvm/log/ruby-1.8.7-p371/make.log
There has been an error while running make. Halting the installation.
Please be aware that you just installed a ruby that requires 2 patches just to be compiled on up to date linux system.
This may have known and unaccounted for security vulnerabilities.
Please consider upgrading to ruby-1.9.3-p374 which will have all of the latest security patches.

で、ログを確認すると
が見つからないとかエラーが出る。
ここでX11sdkをインストールしたりしたのだが解決しなかった。
そこで

17% rvm install 1.8.7-p371 --without-tcl --without-tk --with-gcc=clang
Installing Ruby from source to: /Users/js/.rvm/rubies/ruby-1.8.7-p371, this may take a while depending on your cpu(s)...
ruby-1.8.7-p371 - #downloading ruby-1.8.7-p371, this may take a while depending on your connection...
ruby-1.8.7-p371 - #extracted to /Users/js/.rvm/src/ruby-1.8.7-p371 (already extracted)
Patch stdout-rouge-fix was already applied.
Patch no_sslv2 was already applied.
ruby-1.8.7-p371 - #configuring
ruby-1.8.7-p371 - #compiling
ruby-1.8.7-p371 - #installing
Removing old Rubygems files...
Installing rubygems-1.8.24 for ruby-1.8.7-p371 ...
Installation of rubygems completed successfully.
Saving wrappers to '/Users/js/.rvm/bin'.
ruby-1.8.7-p371 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.8.7-p371 - #importing default gemsets (/Users/js/.rvm/gemsets/), this may take time ...
Install of ruby-1.8.7-p371 - #complete
Please be aware that you just installed a ruby that requires 2 patches just to be compiled on up to date linux system.
This may have known and unaccounted for security vulnerabilities.
Please consider upgrading to ruby-1.9.3-p374 which will have all of the latest security patches.

で成功した。
Tcl/Tkは使う予定がないから別に問題ないけどちょっと釈然としない。