On 9/28/06, Marcus Rueckert <[EMAIL PROTECTED]> wrote:

what error do you get?
on my linux box i have:
[[[
CONFIG["INSTALL"] = "/usr/bin/install -c"
]]]
which should work as non-root user too.

I've installed Ruby via Ports, and my relevant files have the following in them:

/usr/local/lib/ruby/1.8/i386-freebsd6/rbconfig.rb:
module Config
  CONFIG["INSTALL"] = '/usr/bin/install -c -o root -g wheel'
  CONFIG.each{|k,v| MAKEFILE_CONFIG[k] = v.dup}
end

/usr/local/lib/ruby/1.8/mkmf.rb:
CONFIG = Config::MAKEFILE_CONFIG

This is where extconf.rb is getting the INSTALL line for the Makefile.  So, is this a Ports problem then, and not directly related to rubygems?  Even so, is there a way to override this variable in .gemrc, until the Port is corrected?

The error I'm getting is as follows:

gem i hpricot

...skip...

make install
/usr/bin/install -c -o root -g wheel -m 0755 hpricot_scan.so /home/dna/.gems/gems/hpricot-0.4/lib
*** Error code 71

Stop in /usr/home/dna/.gems/gems/hpricot-0.4/ext/hpricot_scan.

make clean
Successfully installed hpricot-0.4

gem list | grep hpricot
hpricot (0.4)

That the hpricot gem was still installed, even though the lib couldn't be is a separate problem and should be handled by rubygems, IMHO.

Thank you for your consideration.

- Dimitri

_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to