From: "Wolfgang Nádasi-Donner" Date: 2007-05-01T23:35:11+09:00 Subject: Re: 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 `
' > 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 `' from F:/msys/home/wolfgang/ruby/lib/fileutils.rb:85:in `' from ../mkconfig.rb:12:in `require' from ../mkconfig.rb:12:in `
' 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