Bug #1851: make install problems using mingw on fedora 11
http://redmine.ruby-lang.org/issues/show/1851

起票者: Kazuhiro NISHIYAMA
ステータス: Open, 優先度: Normal
ruby -v: ruby 1.9.2dev (2009-08-01 trunk 24343) [i386-mingw32]

Fedora 11 の MinGW を使ってクロスコンパイルしてみたところ、
make installの時に./tool/rbinstall.rbで警告が出ます。
それから、RDocの生成に失敗します。

svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby-trunk
cd ruby-trunk
autoconf
mingw32-configure
make

$ make DESTDIR=$HOME/ruby-mingw32 install
ruby -I.../ruby-trunk -ri386-mingw32-fake  ./tool/rbinstall.rb --make="make" --dest-dir=".../ruby-mingw32" --extout=".ext" --mflags="" --make-flags="DESTDIR=.../ruby-mingw32" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
installing binary commands:   /usr/i686-pc-mingw32/sys-root/mingw/bin
installing base libraries:    /usr/i686-pc-mingw32/sys-root/mingw/lib
installing arch files:        /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/1.9.1/i386-mingw32
installing command scripts:   /usr/i686-pc-mingw32/sys-root/mingw/bin
installing library scripts:   /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/1.9.1
installing common headers:    /usr/i686-pc-mingw32/sys-root/mingw/include/ruby-1.9.1
installing manpages:          /usr/i686-pc-mingw32/sys-root/mingw/share/man/man1
installing extension objects: /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/1.9.1/i386-mingw32
installing extension objects: /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/site_ruby/1.9.1/i386-msvcrt
installing extension objects: /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt
installing extension headers: /usr/i686-pc-mingw32/sys-root/mingw/include/ruby-1.9.1/i386-mingw32
installing extension scripts: /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/1.9.1
installing extension scripts: /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/site_ruby/1.9.1
installing extension scripts: /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/vendor_ruby/1.9.1
installing extension headers: /usr/i686-pc-mingw32/sys-root/mingw/include/ruby-1.9.1/ruby
installing default gems:      /usr/i686-pc-mingw32/sys-root/mingw/lib/ruby/gems/1.9.1 (cache, doc, gems, specifications)
./tool/rbinstall.rb:523: warning: multiple values for a block parameter (0 for 1)
        from ./tool/rbinstall.rb:246
./tool/rbinstall.rb:523: warning: multiple values for a block parameter (0 for 1)
        from ./tool/rbinstall.rb:246
./tool/rbinstall.rb:523: warning: multiple values for a block parameter (0 for 1)
        from ./tool/rbinstall.rb:246
Generating RDoc documentation
ruby -I.../ruby-trunk -ri386-mingw32-fake  -I`cd ./lib; pwd`  -- "./bin/rdoc" --all --ri --op ".ext/rdoc" "."
.../ruby-trunk/lib/rubygems.rb:191: uninitialized constant Gem::Mutex (NameError)
        from .../ruby-trunk/lib/rdoc/ri/paths.rb:55:in `require'
        from .../ruby-trunk/lib/rdoc/ri/paths.rb:55
        from .../ruby-trunk/lib/rdoc/options.rb:4:in `require'
        from .../ruby-trunk/lib/rdoc/options.rb:4
        from .../ruby-trunk/lib/rdoc/rdoc.rb:13:in `require'
        from .../ruby-trunk/lib/rdoc/rdoc.rb:13
        from ./bin/rdoc:11:in `require'
        from ./bin/rdoc:11
make: *** [rdoc] エラー 1
$ wine ./ruby.exe -v
ruby 1.9.2dev (2009-08-01 trunk 24343) [i386-mingw32]
$


----------------------------------------
http://redmine.ruby-lang.org