Error when try to install ncurses gem on windows

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
 
R

Roger Pack

please give me solution if any one of you know that

install the ncurses library into your devkit or ping the authors and ask
them to release binary gem releases.
-r
 
N

Nikita Kuznetsov

I'm stuck on this also... could you please elaborate
"install the ncurses library into your devkit"
If by this you mean copy the ncurses files from the berlios website to
the devkit folder, then thats done and that fails.

Please help! Any insight would be helpfull, im a little lost right now
and i would love to write a tetris close using ruby
 
P

Priyank Shah

Nikita Kuznetsov wrote in post #966470:
I'm stuck on this also... could you please elaborate
"install the ncurses library into your devkit"
If by this you mean copy the ncurses files from the berlios website to
the devkit folder, then thats done and that fails.

Please help! Any insight would be helpfull, im a little lost right now
and i would love to write a tetris close using ruby


Hi Nikita,

sorry but I could not find exact solution for this but i tried
"pdcurses" instead of "ncurses", but both are not same but doing most of
same things. just go to following link for find some difference between
them.

http://cymonsgames.com/forum/index.php?topic=48.0

Thanks,
Priyank Shah
 

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

No members online now.

Forum statistics

Threads
473,965
Messages
2,570,148
Members
46,710
Latest member
FredricRen

Latest Threads

Top