1.解压下载好的rlwrap文件 [root@wangliping tool]# tar -zxvf rlwrap-0.37.tar.gz 2.进入解压好的文件[root@wangliping tool]# cd rlwrap-0.37 3.检查配置[root@wangliping rlwrap-0.37]# ./configure 4.安装准备[root@wangliping rlwrap-0.37]# make 5.安装[root@wangliping rlwrap-0.37]# make
遇到的Error code In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets‘ undeclared here (not in a function) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ^ make[2]: *** [progname.o] Error 1 make[2]: Leaving