山本です。 bcc32(ruby_1_8) のインストールをしていて気づいたのですが、 install-doc がデフォルトになっていました。 初めは意図された変更かと思ったのですが、他の port(mswin32 や mingw32)が install-nodoc をデフォルトにしているので、たぶん backport の時に混じった んじゃないかと思います。 Index: Makefile.sub =================================================================== RCS file: /src/ruby/bcc32/Makefile.sub,v retrieving revision 1.42.2.14 diff -u -w -b -p -r1.42.2.14 Makefile.sub --- Makefile.sub 2 Apr 2005 13:35:30 -0000 1.42.2.14 +++ Makefile.sub 10 Apr 2005 11:43:39 -0000 @@ -109,7 +109,7 @@ TESTUI = console TESTS = !endif !ifndef RDOCTARGET -RDOCTARGET = install-doc +RDOCTARGET = install-nodoc !endif OUTFLAG = -o ////////////////////////////////////////////////////////////////////////////// また、bcc32 や mswin32 の ruby_1_8 で、make install-doc が正しいディレクトリに rdoc をインストールしていないようです。 E:\ruby-cvs\win32_1_8>nmake DESTDIR="e:/temp" install Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. .\miniruby.exe ../ruby_1_8/instruby.rb --dest-dir="e:/temp" --make="NMA KE" --mflags="" --make-flags=" " --mantype="" install -c -p -m 0755 ruby.exe e:/temp/bin/ruby.exe install -c -p -m 0755 rubyw.exe e:/temp/bin install -c -p -m 0755 msvcrt-ruby18.dll e:/temp/bin install -c -p -m 0755 msvcrt-ruby18.lib e:/temp/lib install -c -p -m 0644 msvcrt-ruby18-static.lib e:/temp/lib install -c -p -m 0644 config.h e:/temp/lib/ruby/1.8/i386-mswin32 install -c -p -m 0644 rbconfig.rb e:/temp/lib/ruby/1.8/i386-mswin32 install -c -p -m 0755 bin/erb e:/temp/bin/erb install -c -p -m 0755 bin/irb e:/temp/bin/irb install -c -p -m 0755 bin/rdoc e:/temp/bin/rdoc install -c -p -m 0755 bin/ri e:/temp/bin/ri E:\ruby-cvs\win32_1_8>nmake DESTDIR="e:/temp" install-doc Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Generating RDoc documentation .\ruby.exe "../ruby_1_8/runruby.rb" --extout=".ext" -- "../ruby_1_8/bin/ rdoc" --all --ri --op "e:/temp/usr/share/ri/1.8/system" "../ruby_1_8" とりあえずこうするとうまくいきました。 Index: Makefile.sub =================================================================== RCS file: /src/ruby/win32/Makefile.sub,v retrieving revision 1.59.2.16 diff -u -w -b -p -r1.59.2.16 Makefile.sub --- Makefile.sub 2 Apr 2005 13:35:30 -0000 1.59.2.16 +++ Makefile.sub 10 Apr 2005 15:51:31 -0000 @@ -78,23 +78,11 @@ RT = msvcrt RUBY_SO_NAME = $(RT)-$(RUBY_INSTALL_NAME)$(MAJOR)$(MINOR) !endif -!if !defined(prefix) -prefix = /usr -!endif -!if !defined(exec_prefix) -exec_prefix = $(prefix) -!endif -!if !defined(libdir) -libdir = $(exec_prefix)/lib -!endif -!if !defined(datadir) -datadir = $(prefix)/share -!endif !ifndef EXTOUT EXTOUT = .ext !endif !ifndef RIDATADIR -RIDATADIR = $(DESTDIR)$(datadir)/ri/$(MAJOR).$(MINOR)/system +RIDATADIR = $(DESTDIR)/share/ri/$(MAJOR).$(MINOR)/system !endif !ifndef TESTUI TESTUI = console