From: Luis Lavena Date: 2009-12-09T00:38:31+09:00 Subject: [ruby-core:27103] [Bug #2464] cross-compile Ruby patchlevel 376 fails Bug #2464: cross-compile Ruby patchlevel 376 fails http://redmine.ruby-lang.org/issues/show/2464 Author: Luis Lavena Status: Open, Priority: Normal Category: build ruby -v: ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] Hello, While cross compiling (platform OSX, target mingw32) latest release, it failed in several places. Attached is the complete log file of the build process, automated by rake-compiler gem (gem install rake-compiler; rake-compiler cross-ruby VERSION=1.9.1-p376) The one that triggers the failure is the following:

compiling bigdecimal
/Users/luis/.rake-compiler/sources/ruby-1.9.1-p376/lib/mkmf.rb:195:in `flatten': wrong number of arguments (1 for 0) (ArgumentError)
	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
Thank you. ---------------------------------------- http://redmine.ruby-lang.org