From: jimmyether Date: 2006-04-07T21:28:43+09:00 Subject: Re: Ruby 1.8.4 Mac OS X readline problems Paul Smith wrote: > wget ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz > tar -xzf readline-5.1.tar.gz > cd readline-5.1 > ./configure --prefix=/usr/local && make && sudo make install > > And then rebuilt ruby: > > make distclean && configure --with-readline-dir=/usr/local && make > && make test-all > > And all was well. I did this (though I couldn't get make distclean to run). And the test still show an issue with WEBrick: 1) Failure: test_cgi(TestWEBrickCGI) [./webrick/test_cgi.rb:27:in `test_cgi' /Users/jimmyether/src/ruby-1.8.4/lib/net/http.rb:1049:in `request' /Users/jimmyether/src/ruby-1.8.4/lib/net/http.rb:2104:in `reading_body' /Users/jimmyether/src/ruby-1.8.4/lib/net/http.rb:1048:in `request' /Users/jimmyether/src/ruby-1.8.4/lib/net/http.rb:1033:in `request' /Users/jimmyether/src/ruby-1.8.4/lib/net/http.rb:545:in `start' /Users/jimmyether/src/ruby-1.8.4/lib/net/http.rb:1031:in `request' ./webrick/test_cgi.rb:27:in `test_cgi' ./webrick/utils.rb:26:in `start_server' ./webrick/utils.rb:34:in `start_httpserver' ./webrick/test_cgi.rb:24:in `test_cgi']: <"/webrick.cgi"> expected but was <"\n\n Internal Server Error\n \n

Internal Server Error

\n Premature end of script headers: /Users/jimmyether/src/ruby-1.8.4/test/webrick/webrick.cgi\n
\n
\n WEBrick/1.3.1 (Ruby/1.8.4/2005-12-24) OpenSSL/0.9.7i at\n 127.0.0.1:49746\n
\n \n\n">. 1313 tests, 14444 assertions, 1 failures, 0 errors make: *** [test-all] Error 1 Any suggestions on how to fix this? -- Posted via http://www.ruby-forum.com/.