issue with gem

S

Simon Schuster

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:
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. :)
 
L

Lyle Johnson

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:

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?
 
T

Todd Benson

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:

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
 
S

Simon Schuster

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.
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.
 
T

Todd Benson

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top