Feature #6111


Request for making ruby multiarchable

Added by Hanmac (Hans Mackowiak) about 11 years ago. Updated about 10 years ago.

Target version:


i ask to make it possible to install ruby in more multiarch compatible dirs ...
with configure allone it is not possible

so the libs where are named /usr/lib/libruby(version) should go to /usr/lib/(arch)/libruby(version)

for the config.h with is not arch-indipent it should go to /usr/include/(arch)/ruby/(version)/config.h

the stdlib should (if not gemized) go to /usr/lib/(arch)/ruby/(version)
(maybe the indipent rb files to /usr/lib/ruby/(version))

and the vendor_ruby path should be splitted
for the .so files: /usr/lib/(arch)/ruby/vendor_ruby/(version)
for the .rb files: /usr/lib/ruby/vendor_ruby/(version)

(arch) depends on the system, so my system has "x86_64-linux-gnu" and "i386-linux-gnu"

Updated by nobu (Nobuyoshi Nakada) about 11 years ago

  • Category set to build
  • Assignee set to nobu (Nobuyoshi Nakada)
  • Target version set to 2.0.0
Actions #2

Updated by shyouhei (Shyouhei Urabe) about 11 years ago

  • Status changed from Open to Assigned

Updated by mame (Yusuke Endoh) over 10 years ago

  • Target version changed from 2.0.0 to 2.6
Actions #4

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r39109.
Hans, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you. multiarch option

  • (multiarch): add option to move architecture dependent
    directories. [Feature #6111]
  • template/ add arch dependent paths.

Updated by Hanmac (Hans Mackowiak) about 10 years ago

it seems to be broken:

make[2]: Entering directory /home/hanmac/Downloads/ruby/ext/mathn/complex' linking shared-object mathn/ gcc: error: complex.o: No such file or directory make[2]: *** [../../../.ext/x86_64-linux/mathn/] Error 1 make[2]: Leaving directory /home/hanmac/Downloads/ruby/ext/mathn/complex'
make[1]: *** [ext/mathn/complex/all] Error 2
make[1]: Leaving directory `/home/hanmac/Downloads/ruby'
make: *** [build-ext] Error 2

it seems that is looking in the wrong dirs


Also available in: Atom PDF