Common configure error lists

Source: Internet
Author: User
Tags gmp install openssl snmp openldap

Configure: Error: No curses/termcap library found
Some online saying is:
-- With-named-Curses-libs =/usr/lib/libncursesw. so.5
In fact, it is wrong. Although it can solve the configure error, it will prompt an error during make. The correct method should be
Yum-y install ncurses-devel
Debian: APT-Get install libncurses5-dev

Configure: Error: xml2-config not found
Yum-y install libxml2-devel
Debian: APT-Get install libxml2-dev

Configure: Error: cannot find OpenSSL's
Yum-y install OpenSSL-devel

Configure: Error: libjpeg. (A | so) not found
Yum-y install GD
Yum-y install Gd-devel
Debian: APT-Get install libjpeg-Dev

Configure: Error: LibPNG. (A | so) not found.
Apt-Get install libpng12-dev

Configure: Error: cannot find output from lex; giving up
Yum-y install flex

Configure: Error: mod_deflate has been requested but can not be built due to prerequisite failures
Yum-y install zlib-devel OpenSSL-devel
Debian: APT-Get install zlib1g-dev

Configure: Error: libxpm. (A | so) not found.
Apt-Get install libxpm-Dev

Onfigure: Error: FreeType. h not found.
Apt-Get install libfreetype6-dev

Configure: Error:... no recognized SSL/TLS toolkit Detected
Apt-Get install libssl-Dev

1) Configure: Error: xml2-config not found. Please check your libxml2 installation.

Solutions:
Yum install libxml2 libxml2-devel (for Redhat & fedora)

# Apache install libxml2-dev (for Ubuntu)

2) checking for PKG-config... /Usr/bin/PKG-config
Configure: Error: cannot find OpenSSL's

Solutions:

Yum install OpenSSL-devel

3) Configure: Error: Please reinstall the Bzip2 Distribution

Solutions:
Yum install Bzip2 bzip2-devel

4) Configure: Error: Please reinstall the libcurl distribution-
Easy. h shoshould be in/include/curl/

Solutions:
Yum install curl-devel (for Redhat & fedora)

# Install libcurl4-gnutls-dev (for Ubuntu)

5) Configure: Error: libjpeg. (also) not found.

Solutions:
Yum-y install GD
Yum-y install Gd-devel
Yum install libjpeg-devel

6) Configure: Error: LibPNG. (also) not found.

Solutions:
Yum install libpng-devel
Apt-Get install libpng12-dev

7) Configure: Error: FreeType. h not found.
Solutions:
Yum install FreeType-devel

Configure: Error: unable to locate GMP. h

Solutions:
Yum install GMP-devel

9) Configure: Error: cannot find MySQL header files under/usr.
Note that the mysql client library is not bundled anymore!

Solutions:
Yum install mysql-devel (for Redhat & fedora)

# Apt-Get install libmysql ++-Dev (for Ubuntu)

10) Configure: Error: Please reinstall the ncurses Distribution

Solutions:
Yum install ncurses-devel

11) checking for unixodbc support... Configure: Error: ODBC header file '/usr/include/sqlext. H' not found!

Solutions:
Yum install unixodbc-devel

12) Configure: Error: cannot find pspell

Solutions:
Yum install pspell-devel

13) Configure: Error: mcrypt. h not found. Please reinstall libmcrypt.

Solutions:
Yum install libmcrypt-devel (for Redhat & fedora)

# Apt-Get install libmcrypt-Dev

14) Configure: Error: SNMP. h not found. Check your SNMP installation.

Solutions:

Yum install net-snmp-devel

15) You need to enable the LDAP service.
Yum-y install openldap-devel openldap-servers openldap-clients

16) Configure: Error: No curses/termcap library found
Some online saying is:
-With-named-Curses-libs =/usr/lib/libncursesw. so.5
In fact, it is wrong. Although it can solve the configure error, it will prompt an error during make. The correct method should be
Yum-y install ncurses-devel (for Redhat)
Apt-Get install libncurses5-dev (for Debian)

17) Configure: Error: cannot find output from lex; giving up
Yum-y install flex

18) Configure: Error: mod_deflate has been requested but can not be built due to prerequisite failures
Yum-y install zlib-devel OpenSSL-devel
Debian: APT-Get install zlib1g-dev

19) Configure: Error: libxpm. (A | so) not found.
Apt-Get install libxpm-Dev

Common configure error lists

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.