« Return to Thread: Ruby 1.8.4 Mac OS X readline problems

Re: Ruby 1.8.4 Mac OS X readline problems

by Jim Menard :: Rate this Message:

Reply to Author | View in Thread

On 12/24/05, J. Ryan Sobol <ryansobol@...> wrote:
>
> On Dec 24, 2005, at 12:58 PM, Daniel Harple wrote:
>
> > Is anyone else having this problem?

Yes, I am. I don't want to install Fink or Darwin ports. I got
readline working with 1.8.2, and am now struggling to get it to work
with 1.8.4. readline.bundle is in ruby/1.8/powerpc-darwin8.3.0.

I used "./configure --with-readline --enable-shared" to configure
Ruby, then make, then make install. When I tried running "rake test"
on a random Rails 1.0 project, the unit tests fail with

/usr/local/bin/ruby -Ilib:test
"/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb"
"test/unit/bookmark_test.rb" "test/unit/group_test.rb"
"test/unit/inbox_test.rb" "test/unit/user_test.rb"
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
  Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.3.0/readline.bundle
  Expected in: flat namespace

rake aborted!
Command failed with status (): [/usr/local/bin/ruby -Ilib:test "/usr/local...]


Jim
--
Jim Menard, jim.menard@..., jimm@...
http://www.io.com/~jimm
"Linux is like a wigwam. No windows, no gates and an apache inside."
    -- Unknown

 « Return to Thread: Ruby 1.8.4 Mac OS X readline problems