Project

General

Profile

Actions

Bug #8559

closed

Difficulty Installing on OS X 10.9 "Mavericks"

Added by phyllisstein (Daniel Shannon) over 11 years ago. Updated over 11 years ago.

Status:
Third Party's Issue
Target version:
ruby -v:
ruby 2.0.0p195 (2013-05-14 revision 40734) [universal.x86_64-darwin13]
Backport:
[ruby-core:55587]

Description

I've been trying to use rvm to install Ruby 2.0.0-p195 on a machine running the beta version of OS X 10.9 ("Mavericks"), but I've been running into some trouble. It seems as though the build is choking on readline---which library rvm invoked Homebrew to set up for me. In particular, there's a function called rl_username_completion_function that causes the build to fail, as this gist of the make log indicates: https://gist.github.com/phyllisstein/5834561#file-mkmf-log-L646-L650. I'm at a bit of a loss for debugging, but I'm happy to toy around with it as more experienced users suggest; please let me know how I can help, and thanks in advance for any tips you can provide.

Updated by nobu (Nobuyoshi Nakada) over 11 years ago

  • Status changed from Open to Feedback
  • Target version set to 2.1.0

=begin
As a linker error occurs at ((URL:https://gist.github.com/phyllisstein/5834561#file-mkmf-log-L565-L569)), it seems that the header has the function declaration but the library lacks the function definition.

What's your readline and how did you install it?
And what does the following command show?

nm /usr/local/opt/readline/lib/readline.dylib | grep username_completion_function
=end

Updated by phyllisstein (Daniel Shannon) over 11 years ago

nobu (Nobuyoshi Nakada) wrote:

=begin
As a linker error occurs at ((URL:https://gist.github.com/phyllisstein/5834561#file-mkmf-log-L565-L569)), it seems that the header has the function declaration but the library lacks the function definition.

What's your readline and how did you install it?
And what does the following command show?

nm /usr/local/opt/readline/lib/readline.dylib | grep username_completion_function
=end

I see. I had been trying with readline 6.2.4, which I installed with Homebrew. But since there was no dylib file in /usr/local/opt/readline/lib, I assume that the brew script is broken. When I compiled readline by hand and made sure to build the shared libraries, it worked just fine. Thanks for the pointer! Sorry to have bothered you with this.

Updated by nobu (Nobuyoshi Nakada) over 11 years ago

  • Status changed from Feedback to Third Party's Issue
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0