Bug #5076: Mac OS X Lion Support
1.9.2-p180 fails to compile on OSX 10.7
|ruby -v:||ruby 1.9.3dev (2011-03-14) [x86_64-darwin11.0.0]||Backport:|
I am receiving more inquiries into running Ruby on OSX 10.7 from developers, 1.8.7-p334 compiled fine however 1.9.2-p180 did not.
The following gist shows configure and make output, https://gist.github.com/869114
At the bottom of the gist I have included build logs against the latest ruby-head which yield an error as well.
Help would be much appreciated.
#1 Updated by Wayne E. Seguin about 4 years ago
I am unsure if this is related however even on 1.8.7 which "compiled fine" when I try to install a gem from remote it segfaults:
gem install rake /Users/wayne/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin11.0.0] Abort trap: 6
Whereas installing the gem from local filesystem it succeeds
$ gem install -l ~/.rvm.work/gems/ruby-1.9.2-p180/cache/rake-0.8.7.gem
Successfully installed rake-0.8.7
1 gem installed
#2 Updated by Stephen Baldwin almost 4 years ago
First, make sure you’ve installed XCode 4.1 DP 2 (you can download it through Apple if you are enrolled in their developer program)
Next, add the following to your ~/.bash_profile with your favorite editor
$ rvm install 1.9.2 —reconfigure —debug -C —enable-pthread