やっぱりインストールした手続き書いておく。
前回に書いた通り、fu7mu4の桶屋(10.4.7 iBookG4)にはreadlineが既にWorkShopによってインストールされている。
./configure --prefix=/usr/local/ruby/1.8.5 \ --enable-pthread --with-readline-dir=/usr/local make make test sudo make install
これで/usr/local/ruby/1.8.5/binにerb,irb,rdoc,ri,ruby,testrbが作られる→/usr/binの同名ファイルをリネームして、symboliclinkを/usr/binに貼る。
これで/usr/local/ruby/1.8.5/libにlibruby-static.aとrubyが作られる→/usr/libに同名のファイルがあればリネームして、symboliclinkを/usr/libに貼る。
これで/usr/local/ruby/1.8.5/share/man/man1にruby.1が作られる→/usr/share/man/man1/ruby.1をリネームして、symboliclinkを/usr/share/man/man1に貼る。