Hi,

At Fri, 13 May 2005 07:20:44 +0900,
Hugh Sasse wrote in [ruby-core:04932]:
> This appears to be due to incorrect quoting in the makefile -- that
> is to say,
> 
> topdir = ../..
> hdrdir = /cygdrive/c/Documents and Settings/HGS/My Documents/My Programs/ruby-1.
> 8.3/ruby-1.8.3
> VPATH = $(srcdir):$(topdir):$(hdrdir)
> 
> from ruby-1.8.3/etc/bigdecimal/Makefile

Sorry, I hope this helps.


Index: lib/mkmf.rb =================================================================== RCS file: /cvs/ruby/src/ruby/lib/mkmf.rb,v retrieving revision 1.220 diff -U2 -p -u -r1.220 mkmf.rb --- lib/mkmf.rb 7 May 2005 13:58:11 -0000 1.220 +++ lib/mkmf.rb 13 May 2005 02:47:40 -0000 @@ -847,6 +847,6 @@ SHELL = /bin/sh srcdir = #{srcdir.gsub(/\$\((srcdir)\)|\$\{(srcdir)\}/) {CONFIG[$1||$2]}} -topdir = #{$extmk ? CONFIG["topdir"] : $topdir} -hdrdir = #{$extmk ? CONFIG["hdrdir"] : '$(topdir)'} +topdir = #{($extmk ? CONFIG["topdir"] : $topdir).quote} +hdrdir = #{$extmk ? CONFIG["hdrdir"].quote : '$(topdir)'} VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])} } Index: ext/extmk.rb =================================================================== RCS file: /cvs/ruby/src/ruby/ext/extmk.rb,v retrieving revision 1.78 diff -U2 -p -r1.78 extmk.rb --- ext/extmk.rb 18 Apr 2005 15:01:21 -0000 1.78 +++ ext/extmk.rb 13 May 2005 02:00:16 -0000 @@ -23,7 +23,7 @@ $:.replace([Dir.pwd]) require 'rbconfig' -srcdir = File.expand_path("../..", __FILE__) +srcdir = File.dirname(File.dirname(__FILE__)) -$:.unshift(srcdir, srcdir+"/lib") +$:.unshift(srcdir, File.expand_path("lib", srcdir)) $topdir = "."
-- Nobu Nakada