Red Hat 5.9: the ncurses development package is missing

Hello,

I have the

Red Hat Enterprise Linux Server release 5.9

server and tried to install following packages:

dahdi-linux-complete-2.7.0.1+2.7.0.1 libpri-1.4.14.tar.gz asterisk-12.0.0-alpha1

I followed the guide

wiki.asterisk.org/wiki/display/ … rom+Source

and

had the problem in the phase:

wiki.asterisk.org/wiki/display/ … quirements

When I run the command

I got the error

... checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for initscr in -lcurses... no checking for initscr in -lncurses... no configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)

I checked this:

root@x asterisk-12.0.0-alpha1]# yum list installed | grep ncurses ncurses.i386 5.5-24.20060715 installed ncurses.x86_64 5.5-24.20060715 installed

I checked also this:

[root@x asterisk]# yum search ncurses Loaded plugins: security =============================== Matched: ncurses =============================== mtr.x86_64 : A network diagnostic tool. ncurses.i386 : A terminal handling library ncurses.x86_64 : A terminal handling library pinfo.x86_64 : An info file viewer.

So it seems that there are not ncurser developement packages for the yum.

So I checked the site rpm.pbone.net and found ncurses-devel-4.2-10.i386.rpm package for the Red Hat 5.X, but the installation fails, because there are missing other packages:

[root@x otherPackages]# rpm -ivh ncurses-devel-4.2-10.i386.rpm error: Failed dependencies: ncurses = 4.2 is needed by ncurses-devel-4.2-10.i386 libform.so.4 is needed by ncurses-devel-4.2-10.i386 libmenu.so.4 is needed by ncurses-devel-4.2-10.i386 libncurses.so.4 is needed by ncurses-devel-4.2-10.i386 libpanel.so.4 is needed by ncurses-devel-4.2-10.i386 libstdc++.so.2.8 is needed by ncurses-devel-4.2-10.i386

Do you know how to solve “the ncurses development package is missing” problem easily. I want to use the yum tool to install the packages. I had also searched the Red Hat pages, but not found help.

BR,

Mika