Feature #6111

Request for making ruby multiarchable

Added by Hans Mackowiak about 2 years ago. Updated about 1 year ago.

[ruby-core:43066]
Status:Closed
Priority:Normal
Assignee:Nobuyoshi Nakada
Category:build
Target version:next minor

Description

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 vendorruby 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"

Associated revisions

Revision 39109
Added by Nobuyoshi Nakada about 1 year ago

configure.in: multiarch option

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

History

#1 Updated by Nobuyoshi Nakada about 2 years ago

  • Category set to build
  • Assignee set to Nobuyoshi Nakada
  • Target version set to 2.0.0

#2 Updated by Shyouhei Urabe about 2 years ago

  • Status changed from Open to Assigned

#3 Updated by Yusuke Endoh over 1 year ago

  • Target version changed from 2.0.0 to next minor

#4 Updated by Nobuyoshi Nakada about 1 year 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.

#5 Updated by Hans Mackowiak about 1 year ago

it seems to be broken:

make[2]: Entering directory /home/hanmac/Downloads/ruby/ext/mathn/complex'
linking shared-object mathn/complex.so
gcc: error: complex.o: No such file or directory
make[2]: *** [../../../.ext/x86_64-linux/mathn/complex.so] 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