Issue #6111 has been updated by Hanmac (Hans Mackowiak).




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
----------------------------------------
Feature #6111: Request for making ruby multiarchable
https://bugs.ruby-lang.org/issues/6111#change-36210

Author: Hanmac (Hans Mackowiak)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: build
Target version: next minor


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"


-- 
http://bugs.ruby-lang.org/