From: Dev Guy Date: 2011-07-21T09:53:53+09:00 Subject: Re: error building ruby p290 On Wed, Jul 20, 2011 at 11:43 AM, Robert Klemme wrote: > On Wed, Jul 20, 2011 at 5:32 PM, Dev Guy wrote: >> i currently have ruby 1.9.2p136 install with rdoc 3.8 >> >> On Wed, Jul 20, 2011 at 11:27 AM, Dev Guy wrote: >>> I get the following build error on my Linux box while trying to build >>> ruby-1.9.2-p290, how to fix? it look like a issues with RDoc >>> >>> make[1]: Entering directory `/opt/ruby-1.9.2-p290' >>> gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses >>> -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers >>> -Wno-long-long -L.  -rdynamic -Wl,-export-dynamic   main.o  -Wl,-R >>> -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl >>> -lcrypt -lm   -o ruby >>> make[1]: Leaving directory `/opt/ruby-1.9.2-p290' >>> Generating RDoc documentation >>> ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb >>> ./tool/runruby.rb --extout=.ext  -- "./bin/rdoc" --no-force-update >>> --all --ri --op ".ext/rdoc"  "." >>> /usr/local/lib/ruby/gems/1.9.1/gems/rdoc-3.8/lib/rdoc/rdoc.rb:79: >>> warning: already initialized constant GENERATORS >>> uh-oh! RDoc had a problem: >>> undefined method `coverage_report' for # >>> >>> run with --debug for full backtrace >>> make: *** [rdoc] Error 1 >>> root@six9:/opt/ruby-1.9.2-p290# > > Obviously the wrong rdoc is invoked.  Strange, this did not happen to > me.  Maybe someone who knows the build process can comment.  In the > meantime can you post your environment? > > Kind regards > > robert > > -- > remember.guy do |as, often| as.you_can - without end > http://blog.rubybestpractices.com/ > my evn: i have rdoc 3.8 installed, still getting build error? $ uname -a Linux six9 2.6.35-30-generic #54-Ubuntu SMP Tue Jun 7 18:41:54 UTC 2011 x86_64 GNU/Linux $ gem -v 1.8.5 $ ruby -v ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux] -- Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely