Skip to content
Advertisements

No termcap nor curses library found while configuring rlwrap on OEL

While configuring rlwrap on my Oracle Enterprise Linux,I faced some below errors

[root@mazar rlwrap-0.30]# ./configure

———————————–
———————————–
———————————–
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:

Solution : We need to install below rpm packages

[root@mazar tmp]# 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@mazar tmp]# 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%]
[root@mazar tmp]#

 

After Installed, Now I Can able to configure rlwrap.

[root@mazar rlwrap-0.30]# ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-
config.status: creating doc/rlwrap.man
config.status: creating distribution/rlwrap.spec
config.status: creating config.h
config.status: executing depfiles commands

Now do:
make (or gmake) to build rlwrap
make check for instructions how to test it
make install to install it
pc-linux-gnu

Advertisements
3 Comments Post a comment
  1. Some Idea… style Oracle Linux: using yum

    # ./configure
    .
    .
    .
    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 libtermcap-devel readline-devel
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package ncurses-devel.x86_64 0:5.7-3.20090208.el6 will be installed
    —> Package readline-devel.x86_64 0:6.0-3.el6 will be installed
    –> Finished Dependency Resolution

    Dependencies Resolved

    =========================================================================================================================
    Package Arch Version Repository Size
    =========================================================================================================================
    Installing:
    ncurses-devel x86_64 5.7-3.20090208.el6 ol6_u1_base 643 k
    readline-devel x86_64 6.0-3.el6 ol6_u1_base 134 k

    Transaction Summary
    =========================================================================================================================
    Install 2 Package(s)

    Total download size: 777 k
    Installed size: 2.0 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): ncurses-devel-5.7-3.20090208.el6.x86_64.rpm | 643 kB 00:03
    (2/2): readline-devel-6.0-3.el6.x86_64.rpm | 134 kB 00:01
    ————————————————————————————————————————-
    Total 108 kB/s | 777 kB 00:07
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : ncurses-devel-5.7-3.20090208.el6.x86_64 1/2
    Installing : readline-devel-6.0-3.el6.x86_64 2/2

    Installed:
    ncurses-devel.x86_64 0:5.7-3.20090208.el6 readline-devel.x86_64 0:6.0-3.el6

    Complete!

    # ./configure
    .
    .
    .

    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating filters/Makefile
    config.status: creating doc/Makefile
    config.status: creating src/Makefile
    config.status: creating doc/rlwrap.man
    config.status: creating config.h
    config.status: executing depfiles commands

    Now do:
    make (or gmake) to build rlwrap
    make check for instructions how to test it
    make install to install it

    # make && make install

    June 8, 2011

Trackbacks & Pingbacks

  1. No termcap nor curses library found while configuring rlwrap on OEL | Oracle in Thai | Oracle in Thai | Oracle User Group in Thailand |

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: