Bug #5238
closedinstallation failure if --with-sitedir=no or --with-vendordir=no
Description
=begin
RbConfig::CONFIG in (builddir)/rbconfig.rb lacks some keys when --with-sitedir=no or --with-vendordir=no are given to the configure script, namely
- sitedir
- sitelibdir
- sitearchdir
- vendordir
- vendorlibdir
- vendorarchdir
$ ../configure --prefix=/usr/local --disable-install-doc --with-out-ext=tk
--with-sitedir=no --with-vendordir=no
--with-opt-dir=/opt/local --with-baseruby=/usr/bin/ruby
$ make
$ sudo make install
installing manpages: /usr/local/share/man/man1
installing extension objects: /usr/local/lib/ruby/1.9.1/x86_64-darwin11.0.1
installing extension objects:
/Users/sakuro/Projects/github.com/ruby/lib/fileutils.rb:1508:in path': can't convert nil into String (TypeError) from /Users/sakuro/Projects/github.com/ruby/lib/fileutils.rb:1508:in
block in fu_list'
from /Users/sakuro/Projects/github.com/ruby/lib/fileutils.rb:1508:in map' from /Users/sakuro/Projects/github.com/ruby/lib/fileutils.rb:1508:in
fu_list'
from ../tool/rbinstall.rb:176:in makedirs' from ../tool/rbinstall.rb:286:in
prepare'
from ../tool/rbinstall.rb:363:in block in <main>' from ../tool/rbinstall.rb:663:in
call'
from ../tool/rbinstall.rb:663:in block (2 levels) in <main>' from ../tool/rbinstall.rb:660:in
each'
from ../tool/rbinstall.rb:660:in block in <main>' from ../tool/rbinstall.rb:656:in
each'
from ../tool/rbinstall.rb:656:in `'
=end
Files