/* To Install */
# download rlwrap-0.30.tar.gz (search the net or from http://www.ahmedbaraka.com/download/oracle/rlwrap-0.30.tar.gz )
# unzip the file and install as Root User...
#readling package needed
rpm -qa | grep readline
readline-5.1-3.el5
readline-5.1-3.el5readline-devel-5.1-3.el5
readline-devel-5.1-3.el5
gunzip rlwrap-0.30.tar.gz
tar -xvf rlwrap-0.30.tar
cd rlwrap-0.30
./configure
make
make install
# for rpm version:
# can be downloaded from:
# http://ivan.kartik.sk/oracle/download_from.php?site_id=5
# http://ivan.kartik.sk/oracle/download_from.php?site_id=9
rpm -ivh rlwrap*.rpm
#
echo "alias rman2='rlwrap rman'" >> /home/oracle/.bashrc========================
rlwrap installation error
I download the zip file from here: http://utopia.knoware.nl/~hlub/uck/rlwrap/
...and take the following installation steps which result in error.
root ~# gunzip rlwrap-0.30.tar.gz
root ~# tar -xvf rlwrap-0.30.tar
root ~# cd rlwrap-0.30
root rlwrap-0.30# ./configure
.........
........
OPENPTY
configure: checking for pty ranges...
checking for tgetent... no
checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no
checking for tgetent in -ltermcap... no
configure: WARNING: No termcap nor curses library found
checking for readline in -lreadline... no
configure: error:
You need the GNU readline library(ftp://ftp.gnu.org/gnu/readline/ ) to build
this program!
ah, the package is called 'readline', thus
yum install readline
should be sufficient
If it gives trouble, install the devel package belonging to readline too:
yum install readline-devel
If you need to find the package to install for a certain file, use 'provides':
yum provides */libreadline*
I already had readline, but needed readline-devel.orto make it even more easy, rlwrap is included in the EPEL repository: https://fedoraproject.org/wiki/EPEL
include the epel repository:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
then install rlwrap:
yum install rlwrap
No comments:
Post a Comment