Package: libruby1.8
Version: 1.8.2-3
Severity: normal
When running setup.rb on most ruby packages, prefix is set to /usr by
default and siteruby is set to $prefix/local/site_ruby. Specifying
--prefix=/usr/local for setup.rb causes siteruby to be set to
/usr/local/local/lib/site_ruby which is obviously wrong. I spoke with
Minero Aoki (the setup.rb author) and he said the following:
On debian, CONFIG["site_ruby"] is set to $(prefix)/local/site_ruby.
So you do not need any option to install library under
/usr/local.
$ ruby setup.rb config
is sufficient and right. If there are non-ruby files,
$ ruby setup.rb config --prefix=/usr/local --siteruby=/usr/local/site_ruby
seems better. This is little awkward, but I think this is Debian's
site_ruby setting fault. It should "/usr/local/site_ruby" instead of
"$(prefix)/local/site_ruby".
I tend to agree with Minero, that sitedir should be set to
/usr/local/lib/site_ruby instead of $(prefix)/local/lib/site_ruby,
because it is in reality not at all related to the prefix but is
intended to be in /usr/local explicitly.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libruby1.8 depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii zlib1g 1:1.2.2-3 compression library - runtime
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]