I think you have to install ncurses. On Mdk 10 its libncurses5-devel I think.
Try that and see what happens.
Regards,
Ben