When installing MySQL, an error occurs in./configure: error: No curses/termcap library found. cursestermcap

Source: Internet
Author: User

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

 

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.