Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Todd Moyer
RE: Not installing under Windows XP [ reply ]  
2011-06-17 23:38
Please help. Thank you.

By: Todd Moyer
Not installing under Windows XP [ reply ]  
2011-06-17 23:35
C:\Ruby191>gem install narray
Building native extensions. This could take a while...
ERROR: Error installing narray:
ERROR: Failed to build gem native extension.

C:/Ruby191/bin/ruby.exe extconf.rb
checking for stdint.h... *** 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=C:/Ruby191/bin/ruby
C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:364:in `try_do': The complier failed to genera
te an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:433:in `try_cpp'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:811:in `block in have_header'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:670:in `block in checking_for'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:276:in `block (2 levels) in postp
one'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:250:in `open'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:276:in `block in postpone'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:250:in `open'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:272:in `postpone'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:669:in `checking_for'
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:810:in `have_header'
from extconf.rb:87:in `<main>'


Gem files will remain installed in C:/Ruby191/lib/ruby/gems/1.9.1/gems/narray-0.
5.9.9 for inspection.
Results logged to C:/Ruby191/lib/ruby/gems/1.9.1/gems/narray-0.5.9.9/src/gem_mak
e.out