When installing MySQL, an error occurs in./configure: error: No curses/termcap library found. cursestermcap
Yes./configure has a problem, so I looked back and found the problem:
An error occurred in the last few rows. The complete error message is as follows:
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
Cause:
The ncurses installation package is missing
Solution:
Download and install the software package
1. If your system is a RedHat series:
Yum list | grep ncurses
Yum-y install ncurses-devel
Yum install ncurses-devel
2. If your system is Ubuntu or Debian:
Apt-cache search ncurses
Apt-get install libncurses5-dev
Completed to be installed! Then, run./configure. Then, make & make install. The installation is successful. Everything is OK !~~~