The solution of Error:no Curses/termcap Library found

Source: Internet
Author: User
Tags mysql version

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. ~~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.