[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

issue with gem

Simon Schuster

7/28/2007 3:01:00 AM

whenever I install something via gem which presents a menu of options
to me (versions, and 'ruby' vs 'mswin32' , I make my selection and it
gives me this:

> 1
Building native extensions. This could take a while...
extconf.rb:4:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:4

ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/var/lib/gems/1.8/gems/fxruby-1.6.11 for inspection.


Results logged to /var/lib/gems/1.8/gems/fxruby-1.6.11/ext/fox16/gem_make.out

(gem_make.out is empty, by the way. er, well, 1 byte.)

not sure what's going on... gem installs fine when there's no option
menu, but maybe that's a misleading correlation, no clue... new to
ruby and programming in general here.


erm, another thing, somewhat ruby-related... is that scite won't let
me use 'irb' like it's supposed to, and I have no idea why. it says
this:

>irb
sh: irb: not found
>Exit code: 127


thanks! and btw- WOW, what an amazing community. keep it up. :)

7 Answers

Lyle Johnson

7/28/2007 5:22:00 AM

0


On Jul 27, 2007, at 10:01 PM, Simon Schuster wrote:

> whenever I install something via gem which presents a menu of options
> to me (versions, and 'ruby' vs 'mswin32' , I make my selection and it
> gives me this:
>
>> 1
> Building native extensions. This could take a while...
> extconf.rb:4:in `require': no such file to load -- mkmf (LoadError)
> from extconf.rb:4

The "mkmf" library is part of the standard Ruby library; this error
message suggests that you have an incomplete Ruby installation. Can
you tell us some more about what operating system you're running, and
how you installed Ruby?

Todd Benson

7/28/2007 11:55:00 AM

0

On 7/27/07, Simon Schuster <significants@gmail.com> wrote:
> whenever I install something via gem which presents a menu of options
> to me (versions, and 'ruby' vs 'mswin32' , I make my selection and it
> gives me this:
>
> > 1
> Building native extensions. This could take a while...
> extconf.rb:4:in `require': no such file to load -- mkmf (LoadError)
> from extconf.rb:4

It sort of looks like you built ruby without some necessary libraries
and/or development tools.

Todd

Simon Schuster

7/28/2007 2:39:00 PM

0

I did it from repositories, so I'd assume that that would all be taken
care of. after reinstalling ruby, ruby1.8, and ruby1.9 again from the
repositories, and using gem to try and install fxruby I again get
stopped after choosing an option on the menu, but this time with a
different error.

> 1
Building native extensions. This could take a while...
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-fox-dir
--without-fox-dir
--with-fox-include
--without-fox-include=${fox-dir}/include
--with-fox-lib
--without-fox-lib=${fox-dir}/lib
--with-fxscintilla-dir
--without-fxscintilla-dir
--with-fxscintilla-include
--without-fxscintilla-include=${fxscintilla-dir}/include
--with-fxscintilla-lib
--without-fxscintilla-lib=${fxscintilla-dir}/lib

ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/var/lib/gems/1.8/gems/fxruby-1.6.11 for inspection.


and of course I can't check mkmf.log, because it doesn't seem to exist anywhere.

On 7/28/07, Todd Benson <caduceass@gmail.com> wrote:
> On 7/27/07, Simon Schuster <significants@gmail.com> wrote:
> > whenever I install something via gem which presents a menu of options
> > to me (versions, and 'ruby' vs 'mswin32' , I make my selection and it
> > gives me this:
> >
> > > 1
> > Building native extensions. This could take a while...
> > extconf.rb:4:in `require': no such file to load -- mkmf (LoadError)
> > from extconf.rb:4
>
> It sort of looks like you built ruby without some necessary libraries
> and/or development tools.
>
> Todd
>
>

Todd Benson

7/28/2007 2:51:00 PM

0

On 7/28/07, Simon Schuster <significants@gmail.com> wrote:
> I did it from repositories, so I'd assume that that would all be taken
> care of. after reinstalling ruby, ruby1.8, and ruby1.9 again from the
> repositories, and using gem to try and install fxruby I again get
> stopped after choosing an option on the menu, but this time with a
> different error.

What OS/distribution are you running?

Simon Schuster

7/28/2007 5:36:00 PM

0

ubuntu 7.04

On 7/28/07, Todd Benson <caduceass@gmail.com> wrote:
> On 7/28/07, Simon Schuster <significants@gmail.com> wrote:
> > I did it from repositories, so I'd assume that that would all be taken
> > care of. after reinstalling ruby, ruby1.8, and ruby1.9 again from the
> > repositories, and using gem to try and install fxruby I again get
> > stopped after choosing an option on the menu, but this time with a
> > different error.
>
> What OS/distribution are you running?
>
>

Stefan Mahlitz

7/28/2007 6:07:00 PM

0

Simon Schuster wrote:
> ubuntu 7.04
>
> On 7/28/07, Todd Benson <caduceass@gmail.com> wrote:
>> On 7/28/07, Simon Schuster <significants@gmail.com> wrote:
>>> I did it from repositories, so I'd assume that that would all be taken
>>> care of. after reinstalling ruby, ruby1.8, and ruby1.9 again from the
>>> repositories, and using gem to try and install fxruby I again get
>>> stopped after choosing an option on the menu, but this time with a
>>> different error.
>> What OS/distribution are you running?

You may find this thread interesting:

http://ubuntuforums.org/showthread.php?t=31532&highli...

Cheers



Yoorghis

12/10/2010 2:49:00 AM

0

On 09 Dec 2010 18:31:17 GMT, Bert Hyman <bert@iphouse.com> wrote:

>I think he's saying it's OK to kill US citizens anywhere, anytime, for
>any or no reason, so long as it doesn't happen within any of the 50
>states.

No----that would be as stupid as claiming the government has a right
to arrest and execute anyone without cause.

An american, on foriegn soil, acting in a treasonous manner, or a
danger to America---gives cause to forfeit his life.