[Rubygems-developers] Fwd: rubygems user install of extensions

Marcus Rueckert darix at web.de
Thu Sep 28 10:38:47 EDT 2006


On 2006-09-28 15:04:19 +0200, Dimitri Aivaliotis wrote:
> On 9/28/06, Marcus Rueckert <darix at web.de> 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.

i would appreciate if you could report that to freebsd folks. this is a
bug on their side.

darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org


More information about the Rubygems-developers mailing list