lock device /dev/cdrom is write-protected, mounting read-only [root@rtest ~]# cd /media/Server/ [root@rtest Server]# rpm -Uvh readline- readline-5.1-3.el5.i386.rpm readline-devel-5.1-3.el5.i386.rpm [root@rtest Server]# rpm -Uvh readline-5.1-3.el5.i386.rpm warning: readline-5.1-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159 Preparing... ########################################### [100%] package readline-5.1-3.el5.i386 is already installed [root@rtest Server]# rpm -Uvh readline-devel-5.1-3.el5.i386.rpm warning: readline-devel-5.1-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159 error: Failed dependencies: libtermcap-devel is needed by readline-devel-5.1-3.el5.i386 [root@rtest Server]# rpm -Uvh libtermcap-devel-2.0.8-46.1.i386.rpm warning: libtermcap-devel-2.0.8-46.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159 Preparing... ########################################### [100%] 1:libtermcap-devel ########################################### [100%] [root@rtest Server]# rpm -Uvh readline-devel-5.1-3.el5.i386.rpm warning: readline-devel-5.1-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159 Preparing... ########################################### [100%] 1:readline-devel ########################################### [100%]
2.安装rlwrap
[root@rtest Server]# cd /opt/rlwrap-0.37 [root@rtest rlwrap-0.37]# ll total 480 -rw-rw-r-- 1 oracle dba 35029 Apr 30 2010 aclocal.m4 -rw-r--r-- 1 oracle dba 638 Aug 15 2006 AUTHORS -rw-r--r-- 1 oracle dba 4267 May 5 2010 BUGS -rw-r--r-- 1 oracle dba 105 Aug 10 2003 ChangeLog drwxrwxr-x 2 oracle dba 4096 May 5 2010 completions -rw-rw-r-- 1 oracle dba 7042 Apr 30 2010 config.h.in -rw-r--r-- 1 root root 67255 May 6 10:16 config.log -rwxr-xr-x 1 oracle dba 222847 Apr 30 2010 configure -rw-r--r-- 1 oracle dba 11521 Apr 30 2010 configure.ac -rw-r--r-- 1 oracle dba 17992 Aug 8 2006 COPYING drwxrwxr-x 2 oracle dba 4096 May 5 2010 doc drwxrwxr-x 2 oracle dba 4096 May 5 2010 filters -rw-r--r-- 1 oracle dba 2019 Nov 23 2009 INSTALL -rw-r--r-- 1 oracle dba 1272 Jan 23 2010 Makefile.am -rw-rw-r-- 1 oracle dba 28316 Apr 30 2010 Makefile.in -rw-r--r-- 1 oracle dba 16788 Apr 30 2010 NEWS -rw-r--r-- 1 oracle dba 1394 Oct 24 2007 PLEA -rw-r--r-- 1 oracle dba 3070 Jan 8 2010 README drwxrwxr-x 2 oracle dba 4096 May 5 2010 src drwxrwxr-x 2 oracle dba 4096 May 5 2010 test -rw-r--r-- 1 oracle dba 310 Apr 16 2010 TODO drwxrwxr-x 2 oracle dba 4096 May 5 2010 tools
[root@rtest rlwrap-0.37]#
./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make sets $(MAKE)... (cached) yes checking whether build environment is sane... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocesso |