P
Priyank Shah
I got following error when i try to install ncurses on windows.
C:\>gem install ncurses
Building native extensions. This could take a while...
ERROR: Error installing ncurses:
ERROR: Failed to build gem native extension.
D:/ruby/bin/ruby.exe extconf.rb
checking for unistd.h... no
checking for ncurses.h... no
checking for ncurses/curses.h... no
checking for curses.h... no
*** 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
--srcdir=.
--curdir
--ruby=D:/ruby/bin/ruby
extconf.rb:35: ncurses header file not found (RuntimeError)
Gem files will remain installed in
D:/ruby/lib/ruby/gems/1.8/gems/ncurses-0.9.1
for inspection.
Results logged to
D:/ruby/lib/ruby/gems/1.8/gems/ncurses-0.9.1/gem_make.out
please give me solution if any one of you know that
Thanks,
PShah
C:\>gem install ncurses
Building native extensions. This could take a while...
ERROR: Error installing ncurses:
ERROR: Failed to build gem native extension.
D:/ruby/bin/ruby.exe extconf.rb
checking for unistd.h... no
checking for ncurses.h... no
checking for ncurses/curses.h... no
checking for curses.h... no
*** 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
--srcdir=.
--curdir
--ruby=D:/ruby/bin/ruby
extconf.rb:35: ncurses header file not found (RuntimeError)
Gem files will remain installed in
D:/ruby/lib/ruby/gems/1.8/gems/ncurses-0.9.1
for inspection.
Results logged to
D:/ruby/lib/ruby/gems/1.8/gems/ncurses-0.9.1/gem_make.out
please give me solution if any one of you know that
Thanks,
PShah