Project

General

Profile

Actions

Bug #3121

closed

"make rdoc" fails

Added by mame (Yusuke Endoh) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2010-04-10 trunk 27284) [i686-linux]
Backport:
[ruby-core:29415]

Description

=begin
Hi, Eric Hodel

Maybe because of recent change of rdoc, "make rdoc" fails on trunk
when there is already .ext/rdoc:

$ rm -rf .ext/rdoc

$ make rdoc
snip

success

$ make
snip
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" "."
uh-oh! RDoc had a problem:

Directory .ext/rdoc already exists, but it looks like it
isn't an RDoc directory. Because RDoc doesn't want to risk
destroying any of your existing files, you'll need to
specify a different output directory name (using the
--op

option).

run with --debug for full backtrace
make: *** [rdoc] Error 1

Because of this, "make" itself also fails now. It really disturbs
other developers. Please check (and fix) ASAP.

--
Yusuke Endoh
=end

Actions #1

Updated by 404 (why 404) over 14 years ago

=begin
I got the same error message when I was using the RVM to install Ruby from trunk source. Hope it will be working ASAP! :)

~$ rvm install 1.9.2-head

Installing Ruby from source to: ~/.rvm/rubies/ruby-1.9.2-head
Running autoconf
Configuring ruby-1.9.2-head, this may take a while depending on your cpu(s)...
Compiling ruby-1.9.2-head, this may take a while, depending on your cpu(s)...
Installing ruby-1.9.2-head
Error running 'make install', please check ~/.rvm/log/ruby-1.9.2-head/install*.log
There has been an error while running make install. Aborting the installation.

~$ cat ~/.rvm/log/ruby-1.9.2-head/install.error.log

[2010-04-11 01:48:50] make install
uh-oh! RDoc had a problem:

Directory .ext/rdoc already exists, but it looks like it
isn't an RDoc directory. Because RDoc doesn't want to risk
destroying any of your existing files, you'll need to
specify a different output directory name (using the
--op

option).

run with --debug for full backtrace
make: *** [rdoc] error 1

So I changed my mind to use ruby-1.9.2-preview1, just run the following command:

~$ rvm install 1.9.2 --head

It workes!
=end

Actions #2

Updated by naruse (Yui NARUSE) over 14 years ago

=begin
I fixed it in r27288.
=end

Actions #3

Updated by naruse (Yui NARUSE) over 14 years ago

=begin
Eric, close this ticket when you merge r27288 to your repo.
(r27290 is also a fix for rdoc).
=end

Actions #4

Updated by drbrain (Eric Hodel) over 14 years ago

  • Status changed from Open to Closed

=begin
I have applied both of these changes and added tests.

RDoc has been updated to 2.5.3.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0