From: Yehuda Katz Date: 2012-10-16T22:27:28+09:00 Subject: [ruby-core:48029] Re: [Backport93 - Backport #7172][Open] [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2) --bcaec555503c63af2004cc2d1db9 Content-Type: text/plain; charset=ISO-8859-1 Thanks mpapis for moving the ball forward on this. I rely on --enable-load-relative for Tokaido, and getting/keeping it working reliably will make me very happy. Yehuda Katz (ph) 718.877.1325 On Tue, Oct 16, 2012 at 9:14 AM, mpapis (Michal Papis) wrote: > > Issue #7172 has been reported by mpapis (Michal Papis). > > ---------------------------------------- > Backport #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2) > https://bugs.ruby-lang.org/issues/7172 > > Author: mpapis (Michal Papis) > Status: Open > Priority: Normal > Assignee: > Category: > Target version: > > > continuation of http://bugs.ruby-lang.org/issues/6903 and > http://bugs.ruby-lang.org/issues/7115 > > Checked with > http://bugs.ruby-lang.org/projects/ruby-193/repository/entry/tool/mkconfig.rband p286, > there is still missing fix for rbconfig, it can be found here: > > > https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch > > it does two things important for movable rubies: > > 1. > https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L27-28- properly detect libruby prefix on system with `lib64` > 2. > https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L36- replace all occurrences of application prefix with `$(prefix)` so after > moving ruby to other location final system paths are used instead of the > build system paths, this solves number of issues, especially with > compilation gem native extensions. > > > > -- > http://bugs.ruby-lang.org/ > > --bcaec555503c63af2004cc2d1db9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks mpapis for moving the ball forward on this. I rely on --enable-load-= relative for Tokaido, and getting/keeping it working reliably will make me = very happy.

Yehuda Katz
(ph) 718.877.1325


On Tue, Oct 16, 2012 at 9:14 AM, mpapis = (Michal Papis) <mpapis@gmail.com> wrote:

Issue #7172 has been reported by mpapis (Michal Papis).

----------------------------------------
Backport #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)<= br> https:= //bugs.ruby-lang.org/issues/7172

Author: mpapis (Michal Papis)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


continuation of http://bugs.ruby-lang.org/issues/6903 and http://bugs.ruby-lang.org/i= ssues/7115

Checked with http://bugs.ruby-lang.org/pro= jects/ruby-193/repository/entry/tool/mkconfig.rb and p286,
there is still missing fix for rbconfig, it can be found here:

https://github.com/wayneeseg= uin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch

it does two things important for movable rubies:

1. https://github.com= /wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L= 27-28 - properly detect libruby prefix on system with `lib64`
2. https://github.com/wa= yneeseguin/rvm/blob/master/patches/ruby/1.9.3/p286/ruby-multilib.patch#L36<= /a> - replace all occurrences of application prefix with `$(prefix)` so aft= er moving ruby to other location final system paths are used instead of the= build system paths, this solves number of issues, especially with compilat= ion gem native extensions.



--
http://bugs.ruby-l= ang.org/


--bcaec555503c63af2004cc2d1db9--