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.

So what is a package supposed to do? There's no information at all for
packages using mkmf. Shouldn't the ruby package be fixed?

Cheers.

[1] http://www.ruby-doc.org/docs/ProgrammingRuby/html/ext_ruby.html

-- 
Felipe Contreras


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/camp44s2nhaajdnrppxmkfcfw1c_ralwbs-wmunknr-rm8cz...@mail.gmail.com

Reply via email to