Rdoc windows issues


#1

Here is a more detailed description of what is wrong with rdoc
I’m trying to build ruby from source using the stable-snapshot from
here:
ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz

Building on a winXP box using mingw/msys

Ruby builds just fine, everything seems to work afaik.
To configure and build I used the following:

./configure --prefix=C:\ruby --enable-shared
(fine)

make
(fine)

make install
(fine)

make install-doc
(broken!)

Generating RDoc documentation
./miniruby.exe ./runruby.rb --extout=.ext – “./bin/rdoc” --all --ri
–op “C:/test_ruby/share/ri/1.8/system” “.”
c:/ruby/build/ruby/lib/tracer.rb:27:in (null)': undefined method[]’
for nil:NilClass (NoMethodError)
from c:/ruby/build/ruby/lib/rdoc/parsers/parse_rb.rb:16:in
(null)' from c:/ruby/build/ruby/lib/rdoc/rdoc.rb:8:in(null)’
from ./bin/rdoc:59
make: *** [do-install-doc] Error 1

Seems like this is a window issue and
perhaps there are somethings in the wrong places
here are the relevant lines from the files mentioned in the
output.

*Here is line 59 of ./bin/rdoc
require ‘rdoc/rdoc’

*Here is line 8 of c:/ruby/build/ruby/lib/rdoc/rdoc.rb
require ‘rdoc/parsers/parse_rb.rb’

*Here is line 16 of c:/ruby/build/ruby/lib/rdoc/parsers/parse_rb.rb
require “tracer”

Here is line 27 from c:/ruby/build/ruby/lib/tracer.rb
MY_FILE_NAME = caller(0)[0].scan(/^(.
):[0-9]+$/)[0][0]

Can anyone make heads or tails of whats wrong with my setup?
Thank you!