Install ncurses (ncurses-devel) and try again

apt install libncurses5-dev libncursesw5-dev

原文地址:https://www.cnblogs.com/hutiann/p/9559240.html