ncurses-ruby installation in cygwin

Discussion in 'Ruby' started by Philip Rutkowski, Jul 29, 2008.

  1. hi-

    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:
    --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=/usr/bin/ruby

    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 http://www.ruby-forum.com/.
    Philip Rutkowski, Jul 29, 2008
    #1
    1. Advertising

  2. my problem was that i didn't include the gcc and make packages when
    installing cygwin. now it works!
    --
    Posted via http://www.ruby-forum.com/.
    Philip Rutkowski, Jul 30, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    420
  2. Replies:
    0
    Views:
    419
  3. WELCOME to

    , Sep 3, 2003, in forum: Python
    Replies:
    1
    Views:
    504
    Robin Becker
    Sep 5, 2003
  4. Alexey Verkhovsky
    Replies:
    1
    Views:
    219
    WATANABE Hirofumi
    Oct 5, 2004
  5. Kenneth McDonald
    Replies:
    1
    Views:
    138
    Nit Khair
    Sep 27, 2008
Loading...

Share This Page