checking for pty/tty type... checking for pty.h... yes
OPENPTY
configure: checking for pty ranges
checking for tgetent... no
checking for tgetent in -ltinfo... 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!
?
解决方法:----》》》》》
首选? ?yum install readline-devel.x86_64
其次可以下载readline包进行编译,个人没有尝试。
接下来:----》》》》》
./configure
make?
make install
然后设置环境变量----》》》》》
vi .bash_profile
#readline?
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'
alias lsnrctl='rlwrap lsnrctl'
. .bash_profile
可以上下翻飞了: