Bug #1530
closedconfigure option --program-suffix does not play well with runtime ri lookup
Description
=begin
I configured my 1.9.1-p129 with this line
./configure --prefix=/opt --program-suffix=19
ri19 looks here:
13:17:07 ruby-1.9.1-p129$ ri19 --list-doc-dirs
/opt/share/ri19/1.9.1/system
But all the documentation is installed in /opt/share/ri/1.9.1/system/:
13:17:15 ruby-1.9.1-p129$ du -skc /opt/share/ri*
13493 /opt/share/ri
0 /opt/share/ri19
13493 total
13:21:27 ruby-1.9.1-p129$ egrep -c '^/opt/share/ri19/' .installed.list
0
13:21:39 ruby-1.9.1-p129$ egrep -c '^/opt/share/ri/' .installed.list
9552
There is a conflict between this line in Makefile.in
RIDATADIR = $(DESTDIR)$(datadir)/ri/$(MAJOR).$(MINOR)/system
and these lines in rdoc/ri/paths.rb
if m = /ruby/.match(RbConfig::CONFIG['RUBY_INSTALL_NAME'])
m = [m.pre_match, m.post_match]
else
m = [""] * 2
end
Not sure on which side it should be fixed but these do not fit together.
Setting prio HIGH since this might leave a lot of people without documentation. Please adjust as you see fit.
=end
Updated by rklemme (Robert Klemme) almost 15 years ago
=begin
Ok, we can close this as duplicate. Sorry for the noise, I did not see bug 1502 before.
=end