Project

General

Profile

Actions

Feature #6111

closed

Request for making ruby multiarchable

Added by Hanmac (Hans Mackowiak) over 12 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
[ruby-core:43066]

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 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 12 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) over 12 years ago

  • Status changed from Open to Assigned

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Target version changed from 2.0.0 to 2.6
Actions #4

Updated by nobu (Nobuyoshi Nakada) over 11 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 11 years 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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0