[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RubyTrunk supporting multiarch





Am 14.02.2013 14:29, schrieb Antonio Terceiro:
On Wed, Feb 13, 2013 at 09:38:04AM +0100, Hans Mackowiak wrote:
the trunk of Ruby since http://bugs.ruby-lang.org/issues/6111 does
support that the lib and the other so files and the config.h are
installed into arch specific dirs when build with --enable-multiarch
that means that the new ruby that will come in the next time should
be full multiarch compatible

what are your opinions about that?
We should probably try that in the ruby 2.0 packaging.

Thanks for the heads up.

i allready try it on my test system: what is possible with it:

the libruby files, the stdlib rb and so files, the header files should
be coinstallable

for sample currently on my system:

"archdir"=>"/usr/local/lib/x86_64-linux/ruby/2.0.0"
"archincludedir"=>"/usr/local/include/x86_64-linux"
"archlibdir"=>"/usr/local/lib/x86_64-linux"

"rubyarchdir"=>"/usr/local/lib/x86_64-linux/ruby/2.0.0"
"rubyarchhdrdir"=>"/usr/local/include/x86_64-linux/ruby-2.0.0"
"rubyarchprefix"=>"/usr/local/lib/x86_64-linux/ruby"
"rubysitearchprefix"=>"/usr/local/lib/x86_64-linux/ruby"

"sitearchdir"=>"/usr/local/lib/x86_64-linux/ruby/site_ruby/2.0.0"
"sitearchhdrdir"=>"/usr/local/include/x86_64-linux/ruby-2.0.0/site_ruby"
"sitearchincludedir"=>"/usr/local/include/x86_64-linux"
"sitearchlibdir"=>"/usr/local/lib/x86_64-linux"

"vendorarchdir"=>"/usr/local/lib/x86_64-linux/ruby/vendor_ruby/2.0.0"
"vendorarchhdrdir"=>"/usr/local/include/x86_64-linux/ruby-2.0.0/vendor_ruby"


the programms ri, rdoc and gem are equal so it should not matter

only the ruby binary itself is still under <prefix>/bin/ruby** so that
is the only one that can not be co installed

PS: currently it seems that the pkg-config file is installed at the
wrong place, but i will make a ticket about that


i thought it could be interesting when ruby is full multiarch-coinstallable
and for sample "gem env" shows more than two RUBYGEMS PLATFORMS, my does
currently show "ruby" , "x86_64-linux"




Reply to: