きりかノート 3冊め

おあそびプログラミング

ruby-1.9.2-rc2の動作を確認

1.9.2のRC2がでたので、Snow Leopardで問題ないかを確認。

 % LDFLAGS=-L/opt/local/lib CFLAGS=-I/opt/local/include \
  ./configure --enable-shared --enable-pthread \
  --prefix=/usr/local/stow/ruby-1.9.2-rc2
 % make && make test
 % sudo make install
 % make test-all
  :
 Finished in 410.336598 seconds.

   1) Error:
 test_eof_1(OpenSSL::TestEOF1):
 OpenSSL::SSL::SSLError: SSL_read:: internal error
     /Volumes/CHome/kimuraw/work/ruby-1.9.2-rc2/.ext/common/openssl/buffering.rb:36:in `sysread'
     /Volumes/CHome/kimuraw/work/ruby-1.9.2-rc2/.ext/common/openssl/buffering.rb:36:in `fill_rbuff'
     /Volumes/CHome/kimuraw/work/ruby-1.9.2-rc2/.ext/common/openssl/buffering.rb:68:in `read'
     /Volumes/CHome/kimuraw/work/ruby-1.9.2-rc2/test/ruby/ut_eof.rb:76:in `block in test_eof_1'
     /Volumes/CHome/kimuraw/work/ruby-1.9.2-rc2/test/openssl/test_pair.rb:69:in `open_file'
     /Volumes/CHome/kimuraw/work/ruby-1.9.2-rc2/test/ruby/ut_eof.rb:74:in `test_eof_1'

 7663 tests, 2174572 assertions, 0 failures, 1 errors, 0 skips
 % eval "`make -n test-all` -v openssl"
 Finished in 4.830389 seconds.
 87 tests, 1260 assertions, 0 failures, 0 errors, 0

まあok。rubyspecはまだやってない。