installing MySQL , in./configure error occurred: Error:no Curses/termcap Library found the solution
Author: zccst
MySQL version: 5.1.30
Has not remembered this is the first time installs the MySQL, encountered this question to be the fist.
Before the Tar,./configure,make,make install classic Four steps, never thought of the process, just feel like routine, do it.
Unfortunately, after the./configure, the following error occurred on make:
Make: * * * No targets specified and no makefile found. Stop.
Originally this is still want to ask someone else, later on a thought, some time ago also told himself: encounter problems, first think of their own solution.
So, to find the relevant information on the Internet, to confirm that./configure out of the problem, so look back and found the problem:
The last few lines went wrong. 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
Reason:
Missing ncurses installation package
Solution:
Download and install the appropriate package
One, if your system is the Redhat series:
Yum List|grep ncurses
Yum-y Install Ncurses-devel
Yum Install Ncurses-devel
Second, if your system is Ubuntu or Debian:
Apt-cache Search ncurses
Apt-get Install Libncurses5-dev
Pending installation of completed. After that, then./configure, go through, then make && make install, successfully installed, all OK. ~~~