Linux下报错make: *** No targets specified and no makefile found. Stop.

解决办法:

安装ncurses , 亲测可以

wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
tar zxvf ncurses-5.6.tar.gz
cd ncurses-5.6
 ./configure -prefix=/usr/local -with-shared -without-debug
make
make install