Bug 13949 - Wrong path for sitearchdir
: Wrong path for sitearchdir
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/ruby)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2008-01-09 11:46 by
Modified: 2009-05-06 21:28 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-01-09 11:46:21
$ grep sitearchdir /usr/lib/ruby/1.8/i586-linux-gnu/rbconfig.rb 
  CONFIG["sitearchdir"] = "$(DESTDIR)/usr/lib/ruby/site_ruby/1.8/i586-linux-gnu"
  CONFIG["sitearchdir"] = "$(sitelibdir)/$(sitearch)"
    CONFIG["sitearchdir"] = "$(vendorarchdir)"
$ grep sitelibdir /usr/lib/ruby/1.8/i586-linux-gnu/rbconfig.rb 
  CONFIG["sitelibdir"] = "$(sitedir)/$(ruby_version)"
    CONFIG["sitelibdir"] = "$(vendordir)/$(ruby_version)"
$ grep sitedir /usr/lib/ruby/1.8/i586-linux-gnu/rbconfig.rb 
  CONFIG["sitedir"] = "$(DESTDIR)/usr/local/share/ruby/site_ruby"
    CONFIG["sitedir"] = "$(vendordir)"

По аналогии с sitelibdir, sitearchdir должен быть где-то в районе
/usr/local/lib/ruby/site_ruby/1.8/i586-linux-gnu.  Опция configure на этот счёт
есть.  Также обращаю внимание на двойное присваивание CONFIG["sitearchdir"].
------- Comment #1 From 2009-05-06 21:28:37 -------
Давно исправлено и неактуально.