2014年5月10日土曜日

Installing Ruby 2.1.2 on OSX

ruby 2.1.2 を osx に入れた記録

openssl_1.0.1g

./Configure darwin64-x86_64-cc --prefix=/usr/local/openssl_1.0.1g shared
make
make instal
cd /usr/local/
ln -s openssl_1.0.1g openssl

yaml_0.1.6

./configure --prefix=/usr/local/yaml_0.1.6
make
make install
cd /usr/local/
ln -s yaml_0.1.6 yaml

readline_6.3

./configure --prefix=/usr/local/readline_6.3
make
make install
cd /usr/local/
ln -s readline_6.3 readline

ruby_2.1.2

./configure --prefix=/usr/local/ruby_2.1.2 \
  --with-openssl-dir=/usr/local/openssl \
  --with-libyaml-dir=/usr/local/yaml \
  --with-readline-dir=/usr/local/readline
make
make install
見ていて少し気になったのは dl 。以前は入ってた気がするが
Failed to configure -test-/win32/dln. It will not be installed.
Failed to configure -test-/win32/fd_setsize. It will not be installed.
Failed to configure dl. It will not be installed.
Failed to configure dl/callback. It will not be installed.
Failed to configure gdbm. It will not be installed.
Failed to configure tk. It will not be installed.
Failed to configure tk/tkutil. It will not be installed.
Failed to configure win32ole. It will not be installed.

0 件のコメント:

コメントを投稿