Project

General

Profile

Actions

Bug #1530

closed

configure option --program-suffix does not play well with runtime ri lookup

Added by rklemme (Robert Klemme) almost 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-cygwin]
[ruby-core:23590]

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

Actions #1

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

Actions #2

Updated by naruse (Yui NARUSE) over 14 years ago

  • Status changed from Open to Closed

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0