Project

General

Profile

Actions

Bug #8989

closed

Ruby 2.1 unable to build because of problem with rdoc directory

Added by AlamoZ (Adrien Lamothe) over 10 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
Backport:
[ruby-core:57682]

Description

Trying to build ruby-2.1.0-preview1 and am receiving the following error when running make:

Generating RDoc documentation

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)

/usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:108:in error' /usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:208:in rescue in setup_output_dir'
/usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:195:in setup_output_dir' /usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:475:in document'
./bin/rdoc:20:in `'

make: *** [rdoc] Error 1

Updated by AlamoZ (Adrien Lamothe) over 10 years ago

Also, I have just tried to build Ruby 2.0.0-p247 on the same machine and have experienced the same problem. I have never had this problem before, so it looks like something that has changed in 2.0.0-p247.

Updated by zzak (zzak _) over 10 years ago

  • Status changed from Open to Feedback

Did you try "make distclean" first?

Updated by hsbt (Hiroshi SHIBATA) about 10 years ago

  • Target version changed from 2.1.0 to 2.2.0

Updated by AlamoZ (Adrien Lamothe) over 9 years ago

This is still a problem when building 2.2.0-preview1. The problem still occurs even if first running 'make distclean'.

Updated by AlamoZ (Adrien Lamothe) over 9 years ago

I can build 2.2.0-preview1 without rdoc, which is fine for now, by adding the configure flag --disable-install-rdoc

Actions #6

Updated by naruse (Yui NARUSE) over 6 years ago

  • Target version deleted (2.2.0)
Actions #7

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Feedback to Closed
  • Backport deleted (1.9.3: UNKNOWN, 2.0.0: UNKNOWN)
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0