Problems to Compile Ruby19 using MSYS and MinGW on Windows for Ruby19 Snapshots starting 2007

Wolfgang Nádasi-Donner schrieb:

false:FalseClass (NoMethodError)
        from ../mkconfig.rb:7:in `<main>'
make: *** [.rbconfig.time] Error 1

The file "mkconf.rb" contains at the beginning:

#!./miniruby -s

# avoid warnings with -d.
$install_name ||= nil
$so_name ||= nil

srcdir = File.dirname(__FILE__) # <= Line 7 !
$:.replace [srcdir+"/lib", "."]

I've inserted some test outputs into "rbconfig.rb" an made some tests. Finally I came to a session in a MSYS shell window with the following contents (I marked my input in the following text with "##### <= my input #####" for better readability):

>>>>>>>>>> Listing >>>>>>>>>>
$ ./make-errpart ##### <= my input #####
"false"
Class
[File, IO, File::Constants, Enumerable, Object, Kernel, BasicObject]
F:/msys/home/wolfgang/ruby/lib/fileutils.rb:1075:in `include': wrong argument type false (expected Module) (TypeError)
         from F:/msys/home/wolfgang/ruby/lib/fileutils.rb:1075:in `<module:FileUtils>'
         from F:/msys/home/wolfgang/ruby/lib/fileutils.rb:85:in `<top (required)>'
         from ../mkconfig.rb:12:in `require'
         from ../mkconfig.rb:12:in `<main>'

wolfgang@TESTSPATZ ~/ruby/build
$ cat filetest.rb ##### <= my input #####
#!./miniruby -s
p File.to_s
p File.class
p File.ancestors

wolfgang@TESTSPATZ ~/ruby/build
$ ./miniruby filetest.rb ##### <= my input #####
"File"
Class
[File, IO, File::Constants, Enumerable, Object, Kernel, BasicObject]

wolfgang@TESTSPATZ ~/ruby/build
$ head ../mkconfig.rb ##### <= my input #####
#!./miniruby -s

# avoid warnings with -d.
$install_name ||= nil
$so_name ||= nil
p File.to_s
p File.class
p File.ancestors
srcdir = File.dirname(__FILE__)
$:.replace [srcdir+"/lib", "."]
>>>>>>>>>> End of Listing >>>>>>>>>>

Can anybody give an explanation what happend here? - I have no idea at all.

Wolfgang Nádasi-Donner