Actions
Bug #2484
closedNeither 1.8.6 or 1.8.7 can serve as base ruby for cross compilation
Status:
Rejected
Assignee:
-
ruby -v:
ruby 1.8.7 (2009-06-12 patchlevel 174) [i386-darwin9.8.0]
Description
=begin
I've originally reported a similar issue in #2464, but was rejected.
He stated the following:
"You seem to use Ruby 1.8.6 for bulding Ruby 1.9.1.
But Ruby 1.9's lib/mkmf.rb can't run with Ruby 1.8.6."
Which in the past worked but randomly failed between patchelevels.
Today, tried to use 1.8.7 as suggested, with a different failure this time:
compiling bigdecimal
/Users/luis/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/fileutils.rb:1436:in `dup': can't dup NilClass (TypeError)
from /Users/luis/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/fileutils.rb:1436:in `fu_check_options'
from /Users/luis/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/fileutils.rb:568:in `rm_f'
from /Users/luis/.rake-compiler/sources/ruby-1.9.1-p376/lib/mkmf.rb:195:in `rm_f'
from /Users/luis/.rake-compiler/sources/ruby-1.9.1-p376/ext/extmk.rb:161:in `extmake'
from /Users/luis/.rake-compiler/sources/ruby-1.9.1-p376/ext/extmk.rb:440
from /Users/luis/.rake-compiler/sources/ruby-1.9.1-p376/ext/extmk.rb:436:in `each'
from /Users/luis/.rake-compiler/sources/ruby-1.9.1-p376/ext/extmk.rb:436
make: *** [mkmain.sh] Error 1
I've also tried to compile 1.9.2dev using 1.8.6, all without issues. So the problem remains in 1.9.1 branch.
Looking at 1.9.1 branch, I don't see any documentation or indication of exact Ruby version required to compile it.
=end
Actions
Like0
Like0Like0Like0Like0