Issue #7623 has been reported by tomoakin (Tomoaki Nishiyama).

----------------------------------------
Bug #7623: Messages while RDoc generation
https://bugs.ruby-lang.org/issues/7623

Author: tomoakin (Tomoaki Nishiyama)
Status: Open
Priority: Normal
Assignee: 
Category: DOC
Target version: 
ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]


The message reported in 
https://bugs.ruby-lang.org/issues/5366
happened during compilation of the ruby-1.9.3-p327.tar.bz2 distribution on CentOS6.
While the message was observed just by extract, configure and make,
make clean just after configure did not help either.

uname -a
Linux xxxx 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

steps to reproduce
 $ tar jxvf ruby-1.9.3-p327.tar.bz2 
 $ cd ruby-1.9.3-p327
 $ ./configure --prefix=$HOME/local
 $ make
...
Generating RDoc documentation
Parsing sources...
lib/mkmf.rb:1117:29: Couldn't find STRING_OR_FAILED_FORMAT. Assuming it's a module
lib/irb/inspector.rb:36:36: Couldn't find INSPECTORS. Assuming it's a module    
Enclosing class/module 'mDigest' for class MD5 not known                        
Enclosing class/module 'mDigest' for class RMD160 not known                     
Enclosing class/module 'mDigest' for class SHA1 not known                       
Enclosing class/module "cASN1ObjectId" for alias short_name sn not known        
Enclosing class/module "cASN1ObjectId" for alias long_name ln not known
100% [773/773]  doc/re.rdoc 

These messages are unclear if they are normal notification/warnings 
that may be ignored, or error messages that should be taken care of. 
make test reported no error.  
If this is not a bad indicator, some explanation in document is desired.

make; make clean; make
sequence have not solved problem, but 
generated the following error:

configuring zlib
make[1]: Entering directory `/home/tomoaki/ruby-1.9.3-p327'
make[2]: Entering directory `/home/tomoaki/ruby-1.9.3-p327/ext/-test-/array/resize'
compiling resize.c
linking shared-object -test-/array/resize.so
/usr/bin/ld: cannot open output file ../../../../.ext/x86_64-linux/-test-/array/resize.so: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../../../.ext/x86_64-linux/-test-/array/resize.so] Error 1
make[2]: Leaving directory `/home/tomoaki/ruby-1.9.3-p327/ext/-test-/array/resize'
make[1]: *** [ext/-test-/array/resize/all] Error 2
make[1]: Leaving directory `/home/tomoaki/ruby-1.9.3-p327'
make: *** [build-ext] Error 2

This is apparently another problem, which need not be handled in normal installation.
But suggests that make clean fails to delete something that should be deleted or
insufficient information is described in the Makefile.


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