Here is what I had when I tried to compile ncurses-ruby:
Code:
[faizlo@localhost ncurses-ruby-1.1]$ ruby 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
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby
extconf.rb:36: ncurses header file not found (RuntimeError)
I am not sure I understand what it says. May be can't find the right path to some header files, but how may I fix this? I could locate those files which he complains about in the right path, that's /usr/include/ncurses, /usr/include/lib.