Posted on 2012-12-29 10:56
鑫龙 阅读(361)
评论(0) 编辑 收藏 引用 所属分类:
linux编程
检查是否已经安装以下的辅助软件包 [root@localhost ~]# rpm -q ncurses
ncurses-5.5-24. [root@localhost ~]# rpm -q ncurses-devel
package ncurses-devel is not installed 提示ncurses-devel没有安装,用yum安装: [root@localhost ~]# yum install ncurses-devel
Setting up Install Process Total download size: 1.6 M Is this ok [y/N]: y
Downloading Packages: Installed: ncurses-devel.i386 0:5.5-24. Complete! 链接要加上ncurses库, cc -l ncurses xxxx.c
转自:
http://blog.csdn.net/xumaojun/article/details/6229789