From: Daniel Berger Date: 2007-10-09T02:46:55+09:00 Subject: Re: "gem install ncurses" on Windows On Oct 8, 10:35 am, Eric Hodel wrote: > On Oct 8, 2007, at 01:48 , Christopher W, wrote: > > > (This may not be the right place for RubyGem support. If it is not, a > > pointer to the correct location would be nice.) > > > I am trying to install the ncurses gem on Windows. I installed Ruby > > 1.8.6 using the 1-click-installer and have gem 0.9.2. > > > Simply typing "gem install ncurses" resulted in this error: > >> ERROR: Failed to build gem native extension. > >> ruby extconf.rb install ncurses > >> > >> extconf.rb:35: ncurses header file not found (RuntimeError) > > > So, I downloaded, extracted, and compiled PDCurses 3.3 from > >http://pdcurses.sourceforge.net/using MSVC 2005 (version 1400 or > > something). > > You'll need MSVC6 to link correctly. Somebody more familiar with the > inner workings of Windows compiling will probably pop in and tell you > why RSN. My guess would be that he needs to pass a "--with-ncurses-dir=C:/path/ to/ncurses" directive so that the bindings can find the header files they need. I can't remember how you do that with gems. Just tack it on at the end? Regards, Dan