On Tue, Apr 16, 2013 at 1:05 PM, Felipe Contreras <[email protected]> wrote: > On Tue, Apr 16, 2013 at 12:50 PM, Antonio Terceiro <[email protected]> > wrote: >> Hello Felipe, >> >> On Mon, Apr 15, 2013 at 12:10:02PM -0500, Felipe Contreras wrote: >>> Hi, >>> >>> Following the guidelines to package a ruby C extension[1], one comes >>> up with this simple extconf.rb: >>> >>> require 'mkmf' >>> create_makefile("Test") >>> >>> But then, when installing it goes to: >>> >>> /usr/local/lib/site_ruby/1.9.1/x86_64-linux >>> >>> This is clearly wrong, since /usr/local is not allowed for packages. >>> This is because ruby was configured with >>> --with-sitedir=/usr/local/lib/site_ruby, which is wrong. >> >> If you are building/installing the package by hand (ruby mkmf.rb && make >> && make install), that's actually the correct behavior.
Ah, found it: % ruby extconfg.rb --vendor This should be mentioned in the policy. Thanks for nothing. -- Felipe Contreras -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAMP44s1qmo=q7Aj0tzHpOcR0FV8-bw+t32B-5h33xA_-qW=w...@mail.gmail.com

