problem with Ncurses installation
Hello all,
I have installed ncurses-5.2 with command:
cd /usr/src/ncurses-5.2
./configure --prefix=/usr/local/ncurses-5.2
--disable-overwrite --enable-symlinks --with-shared
--without-debug --with-develop --with-libtool --without-cxx-binding
make
make install
After installation, my system displays the following configuration summary:
bin directory: /usr/local/ncurses-5.2/bin
include directory: /usr/local/ncurses-5.2/include/ncurses
... ....
include - directory is not in a standard location.
Then I write a small code to test it:
#include <stdio.h>
#include <curses.h>
void main()
{
printf('this ia a test');
}
When I use gcc to compile it, system displays:
bash: curses.h: file or directory not found or exist.
What's wrong about this?
Thank you for your any answer.
Bush
|