Request for making ruby multiarchable
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) over 7 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.
configure.in: multiarch option
- configure.in (multiarch): add option to move architecture dependent directories. [Feature #6111]
- template/ruby.pc.in: add arch dependent paths.
Updated by Hanmac (Hans Mackowiak) over 7 years ago
it seems to be broken:
make: Entering directory
linking shared-object mathn/complex.so
gcc: error: complex.o: No such file or directory
make: *** [../../../.ext/x86_64-linux/mathn/complex.so] Error 1
make: Leaving directory
make: *** [ext/mathn/complex/all] Error 2
make: Leaving directory `/home/hanmac/Downloads/ruby'
make: *** [build-ext] Error 2
it seems that is looking in the wrong dirs