From: Nikita Kuznetsov Date: 2010-12-08T00:30:02+09:00 Subject: Re: installing ncurses and IDE Alright i will give it a go. Also, any1 got an idea on how to get this to work on windows vista ruby:1.9.2? I am constantly getting the same error when i run gem install ncurses C:\Users\Moog>gem install ncurses Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing ncurses: ERROR: Failed to build gem native extension. C:/Ruby192/bin/ruby.exe extconf.rb checking for unistd.h... yes 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 --without-make-prog --srcdir=. --curdir --ruby=C:/Ruby192/bin/ruby extconf.rb:35:in `
': ncurses header file not found (RuntimeError) Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/ncurses-0.9.1 for inspection. Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/ncurses-0.9.1/gem_make.out obviously there is a ncurses.h file missing somewhere. Online i found that i could run the program without installing the ncurses library, by just downloading the ncurses library from the berlios website and just stick in the ncurses.rb and the ncurses.so files into my program folder. Sure i did that, but then i got an error saying i need ncurses_bin.so (i ofc tried to rename ncurses.so to ncurses_bin.so but ofcourse that was not the solution :))) ). any ideas on what is going wrong? And if some1 of you has the time, please try to install the latest ncurses and latest ruby on windows vista and then tell me the whole step by step operation because i am now out of ideas. I will try to get it working on linux abit later, but right now i got no internet access there, so i am sticking to windows vista.(university internet certificates are complicated) thanks again -- Posted via http://www.ruby-forum.com/.