I am writing a program which uses curses.h. I do not have any problem when compilng it in Digital UNIX at my school.
But when I compiling it in Mandrake Linux 6.0 at my home, I got a error message said that curses.h not found.
Does curses.h include in Linux?
How to slove my problem?
PxT
2
Under redhat, /usr/include/curses.h is provided by ncurses-devel. Mandrake should have a similar package.
$ rpm -q --whatprovides /usr/include/curses.h
ncurses-devel-5.2-8
$
ghost
3
locate it with find
i.e
find /usr/include -name curses.h [-print]
/*ghost*/