| 预计所需编译时间: 0.6 SBU 预计所需硬盘空间: 27 MB | 
Ncurses 提供字符终端处理库,包括面板和菜单。
安装下列程序: captoinfo (link to tic), clear, infocmp, infotocap (link to tic), reset (link to tset), tack, tic, toe, tput 和 tset
安装下列库文件: libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so], libmenu.[a,so], libncurses++.a, libncurses.[a,so] 和 libpanel.[a,so]
Ncurses 依赖于: Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed.
首先修正两个小bug:
| patch -Np1 -i ../ncurses-5.3-etip-2.patch patch -Np1 -i ../ncurses-5.3-vsscanf.patch | 
第一个补丁修改 etip.h 头文件,第二个补丁防止编译时出现使用过时头文件的警告。
为编译 Ncurses 做准备:
| ./configure --prefix=/usr --with-shared \
    --without-debug | 
编译软件包:
| make | 
安装软件包:
| make install | 
使ncurses库文件具有可执行的权限:
| chmod 755 /usr/lib/*.5.3 | 
修正一个不应该有可执行权限的库文件:
| chmod 644 /usr/lib/libncurses++.a | 
把库文件移到更合理的/lib目录里:
| mv /usr/lib/libncurses.so.5* /lib | 
由于库文件移动了,有的符号链接就指向不存在的文件。重新创建这些符号链接:
| ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so ln -sf libncurses.so /usr/lib/libcurses.so |