Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ncurses-ruby installation in cygwin

Thread Tools

ncurses-ruby installation in cygwin

Philip Rutkowski
Posts: n/a

i'm trying to install ncurses-ruby on cygwin on windows. if i open up a
cygwin terminal and go to the decompressed ncurses-ruby directory and
type in "ruby extconf.rb" i get this error:

checking for unistd.h... no
checking for /usr/include/ncurses.h... no
checking for ncurses/curses.h... no
checking for /usr/include/curses.h... no
/extconf.rb:35: ncurses header file not found (RuntimeError)

*** 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:

if i do ruby extconf.rb --srcdir=/usr/include i get the same error. i
did install the ncurses-devel package through cygwin and the files do
exist in C:\cygwin\usr\include\ncurses\. curses.h is a file there. it
seems like the ruby configure script doesn't know to look in that
directory. but supplying srcdir in the command line doesn't help. also,
unistd.h is in that same directory: /usr/include. i'm at a loss. any
ideas? thanks!
Posted via

Reply With Quote
Philip Rutkowski
Posts: n/a
my problem was that i didn't include the gcc and make packages when
installing cygwin. now it works!
Posted via

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN access with pysvn under Cygwin (Installation problems) Andy Dingley Python 3 07-31-2008 12:29 PM
confirm unsubscribe from Python 0 09-05-2003 04:42 PM
WELCOME to Python 1 09-05-2003 07:46 AM
confirm unsubscribe from Python 0 09-05-2003 01:29 AM
confirm unsubscribe from Python 0 09-04-2003 06:34 PM