Bug 13949 - Wrong path for sitearchdir
Summary: Wrong path for sitearchdir
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ruby (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-09 11:46 MSK by Sir Raorn
Modified: 2009-05-06 21:28 MSD (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2008-01-09 11:46:21 MSK
$ 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 Sir Raorn 2009-05-06 21:28:37 MSD
Давно исправлено и неактуально.