On installing MySQL from source, i get error
checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for termcap functions library... configure: error: No curses/termcap library found
SOLUTION
Lets search for ncurses
[root@server52 mysql-5.1.23-ndb-6.2.15]# yum list|grep ncurses Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Repository extras is listed more than once in the configuration ncurses.x86_64 5.5-24.20060715 installed ncurses.i386 5.5-24.20060715 installed ncurses-devel.i386 5.5-24.20060715 base ncurses-devel.x86_64 5.5-24.20060715 base php-ncurses.x86_64 5.1.6-15.el5 base [root@server52 mysql-5.1.23-ndb-6.2.15]#
To fix the problem, install ncurses-devel
yum -y install ncurses-devel
On Debian/Ubuntu do
apt-cache search ncurses apt-get install libncurses5-dev
[root@server52 mysql-5.1.23-ndb-6.2.15]# yum install ncurses-devel Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Repository extras is listed more than once in the configuration Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for ncurses-devel to pack into transaction set. ncurses-devel-5.5-24.2006 100% |=========================| 98 kB 00:00 ---> Package ncurses-devel.x86_64 0:5.5-24.20060715 set to be updated ---> Downloading header for ncurses-devel to pack into transaction set. ncurses-devel-5.5-24.2006 100% |=========================| 98 kB 00:00 ---> Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: ncurses-devel x86_64 5.5-24.20060715 base 1.7 M ncurses-devel i386 5.5-24.20060715 base 1.6 M Transaction Summary ============================================================================= Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 3.3 M Is this ok [y/N]: y Downloading Packages: (1/2): ncurses-devel-5.5- 100% |=========================| 1.7 MB 00:00 (2/2): ncurses-devel-5.5- 100% |=========================| 1.6 MB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: ncurses-devel ######################### [1/2] Installing: ncurses-devel ######################### [2/2] Installed: ncurses-devel.x86_64 0:5.5-24.20060715 ncurses-devel.i386 0:5.5-24.20060715 Complete! [root@server52 mysql-5.1.23-ndb-6.2.15]#
See Errors