编译安装ncurses-5.6
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz tar zxf ncurses-5.6.tar.gz ./configure -prefix=$HOME/screen -with-shared -without-debug --enable-widec make && make install
编译安装其他软件时候.
./configure --prefix=$HOME CFLAGS="-I$HOME/include -I$HOME/include/ncursesw" LDFLAGS="-L$HOME/lib -L$HOME/include/ncursesw -L$HOME/include" CPPFLAGS="-I$HOME/include -I$HOME/include/ncursesw" LDFLAGS="-static -L$HOME/include -L$HOME/include/ncursesw -L$HOME/lib"