Forum: Ruby-core Issues with Ruby 1.8.6 patchlevel 383 and any package installation

Posted by fahmisetiawan (Fahmi Setiawan) (Guest)
on 2012-10-01 13:28
(Received via mailing list)
Issue #1941 has been updated by fahmisetiawan (Fahmi Setiawan).


http://alkian.blogspot.com/2012/09/cara-menyembuhk...
http://alkian.blogspot.com/2012/09/keretamini-kere...
http://alkian.blogspot.com/2012/09/harga-spesifika...
http://alkian.blogspot.com/2012/09/download-one-pi...
http://alkian.blogspot.com/2012/09/harga-dan-spesi...
http://alkian.blogspot.com/2012/09/harga-dan-spesi...
http://alkian.blogspot.com/2012/09/download-harves...
http://alkian.blogspot.com/2012/09/download-gratis...
http://alkian.blogspot.com/2012/09/cara-download-d...
http://alkian.blogspot.com/2012/09/cara-mengganti-...
http://alkian.blogspot.com/2012/09/free-download-w...
http://alkian.blogspot.com/2012/09/free-download-k...
http://alkian.blogspot.com/2012/09/free-download-c...
http://alkian.blogspot.com/2012/09/cara-membuat-re...
http://alkian.blogspot.com/2012/09/daftar-harga-le...
http://alkian.blogspot.com/2012/09/download-theme-...
http://alkian.blogspot.com/2012/09/download-alqura...
http://alkian.blogspot.com/2012/09/kumpulan-kata-k...
http://alkian.blogspot.com/2012/09/kumpulan-websit...
http://alkian.blogspot.com/2012/09/template-seo-fr...
http://alkian.blogspot.com/2012/09/harga-hp-nokia-...
http://alkian.blogspot.com/2012/09/foto-ariel-noah...
http://alkian.blogspot.com/2012/09/download-serial...
http://alkian.blogspot.com/2012/09/biodata-foto-iq...
http://alkian.blogspot.com/2012/09/harga-dan-spesi...
http://alkian.blogspot.com/2012/09/biodata-akb48-l...
http://alkian.blogspot.com/2012/08/arti-dan-makna-...
----------------------------------------
Backport #1941: Issues with Ruby 1.8.6 patchlevel 383 and any package 
installation
https://bugs.ruby-lang.org/issues/1941#change-29900

Author: luislavena (Luis Lavena)
Status: Closed
Priority: High
Assignee: wyhaines (Kirk Haines)
Category:
Target version:


=begin
 Working on updating RubyInstaller packages to recently released 
patchlevel 383, found that my patching strategies over rbconfig no 
longer works.

 On previous patchlevel (368), I configure ruby with my sandbox path, 
and once installed, gsub it from rbconfig, leaving this:

 CONFIG["prefix"] = (TOPDIR || DESTDIR + "")

 Where my path was inside "".

 Since TOPDIR refers to rbconfig.rb itself (but with stripped path), 
prefix end being always the path where Ruby ends installed/copied.

 DESTDIR ends not being used for the prefix, and it's value turns to be 
"C:"

 Now, bear with me for a second, on p368:

 CONFIG["libdir"] = "$(exec_prefix)/lib"
 CONFIG["exec_prefix"] = "$(prefix)"

 But on p383:

 CONFIG["exec_prefix"] = "$(DESTDIR)"

 This affects installation of rubygems and packages that uses setup.rb

 Other places that uses $(DESTDIR) instead of previous values:

 CONFIG["sitedir"] = "$(DESTDIR)/lib/ruby/site_ruby"

 Wonder why the change, if DESTDIR was not used during make, why remove 
the usage of prefix on this case?

 Thank you.
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.