1、configure: error: No curses/termcap library found

There is a saying on the Internet that :–with-named-curses-libs=/usr/lib/libncursesw.so.5
It's not true , Although it can solve configure Error of , however make It will prompt mistakes , The right thing to do is
centos: yum -y install ncurses-devel
debian: apt-get install libncurses5-dev

2、configure: error: xml2-config not found. Please check your libxml2 installation.
centos: yum -y install libxml2 libxml2-devel
debian: apt-get install libxml2-dev

3、configure: error: Cannot find OpenSSL’s
centos: yum -y install openssl-devel

4、configure: error: libjpeg.(a|so) not found
centos: yum -y install gd
centos: yum -y install gd-devel
debian: apt-get install libjpeg-dev

5、configure: error: libpng.(a|so) not found.
apt-get install libpng12-dev

6、configure: error: cannot find output from lex; giving up
yum -y install flex

7、configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
centos: yum -y install zlib-devel openssl-devel
debian: apt-get install zlib1g-dev

8、configure: error: libxpm.(a|so) not found.
centos: yum -y install libxpm-dev
debian: apt-get install libxpm-dev

9、configure: error: freetype.h not found.
centos: yum install freetype-devel
debian: apt-get install libfreetype6-dev

10、configure: error: …No recognized SSL/TLS toolkit detected
centos: yum -y install libssl-dev
debian: apt-get install libssl-dev

11、Configure: error: Please reinstall the BZip2 distribution
centos: yum install bzip2 bzip2-devel
debian: apt-get install bzip2-devel

12、Configure: error: Please reinstall the libcurl distribution – easy.h should be in /include/curl/
centos: yum install curl curl-devel (For Redhat & Fedora)
# install libcurl4-gnutls-dev (For Ubuntu)

13、Configure: error: Unable to locate gmp.h
centos: yum install gmp-devel

14、Configure: error: Cannot find MySQL header files under /usr. Note that the MySQL client library is not bundled anymore!
yum install mysql-devel (For Redhat & Fedora)
# apt-get install libmysql++-dev (For Ubuntu)

15、Configure: error: Please reinstall the ncurses distribution
Solutions :
centos: yum install ncurses ncurses-devel

16、Checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
Solutions :
centos: yum install unixODBC-devel

17、Configure: error: Cannot find pspell
Solutions :
centos: yum install pspell-devel

18、configure: error: mcrypt.h not found. Please reinstall libmcrypt.
Solutions :
yum install libmcrypt libmcrypt-devel (For Redhat & Fedora)
# apt-get install libmcrypt-dev

19、Configure: error: snmp.h not found. Check your SNMP installation.
Solutions :
yum install net-snmp net-snmp-devel

20、 Turn on LDAP The service still needs to be improved
yum -y install openldap-devel openldap-servers openldap-clients

21、configure: error: cannot find output from lex; giving up
centos: yum -y install flex

22、configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
centos: yum -y install zlib-devel openssl-devel
debian: apt-get install zlib1g-dev

php More related articles on compiling common errors

  1. PHP Common errors in compilation and installation and solutions ,php Common compilation errors

    PHP Common errors in compilation and installation and solutions ,php Common compilation errors 1.configure: error: xslt-config not found. Please reinstall the libxslt & ...

  2. php Source code compilation common error solutions

    php Source code compilation common error solutions http://www.cnlvzi.com/index.php/Index/article/id/143 stay CentOS compile PHP5 Sometimes I will encounter the following error messages when I am working ...

  3. Qt 4.8.6 PCL 1.8.0 VS 2010 Common errors in CO compilation

    stay Qt and PCL In the process of CO compiling , There will be all kinds of mistakes , It's a painful process to solve these mistakes , So it's convenient to summarize some common mistakes for yourself and others . For example, we need to compile PCL1.8.0 Medium apps Medium point_cloud_ed ...

  4. php Common compilation errors

    php PHP Common errors in compilation and installation and solutions [ turn ] This article is post on https://coderwall.com/p/ggmpfa configure: error: xsl ...

  5. PROTEL DXP Schematic compilation Common errors and handling methods

    One , [Warning] AUDIO.SCH Extra Pin R509-1 in Normal of part R509      [Warning] AUDIO.SCH Extra Pin R5 ...

  6. Android Common errors in source code compilation ( Continuous updating )

    This article is a summary of the compilation problems encountered in my personal work , Later, we encountered new problems , Continuous updating . No such file or directory: 1. Check the path for problems , Does the file exist , If the file exists and the path is OK 2. check ...

  7. php Solutions to common errors in source code compilation

    stay CentOS compile PHP5 Sometimes I will encounter the following error messages when I am working , Basically, you can go through yum Install the corresponding library to solve . Here are some specific solutions : checking for BZip2 support… yes ch ...

  8. C51-keil Compile common errors and warning handling 53

    keil error :C51 There are three types of compiler errors :1. Fatal error : There is an error in the pseudo command control line , Visit the original text that doesn't exist :2. Grammatical and semantic errors : Syntax and semantic errors occur in the original file :3. Warning : The warning does not affect the generation of the target file , But enforcement :C_5 ...

  9. maven Compile common error solutions to sort out

    Package com.sun.xml.internal.ws.spi non-existent When maven It's useful in the project JDK Some classes inside , Interface ( Such as :com.sun.xml.internal.ws.spi.ProviderIm ...

  10. Linux Study ---GCC Common compilation errors

    Preprocessing error : No such file or directory Cause of error :① Contains errors :eg  #include <abc.h> //abc.h Write your own documents for users resolvent :⑴ Should be changed to #in ...

Random recommendation

  1. bootstrapValidator.js, Best used bootstrap Form validation plug-in

    Preface : do Web We developed , Form validation is a common requirement . Friendly error prompts can increase the user experience . Bloggers search bootstrap Form validation , Most of the results are the subject of the article :bootstrapvalidator. Come today ...

  2. sql: table,view,function, procedure created MS_Description in sql server

    -- Add description geovindu --https://msdn.microsoft.com/en-us/library/ms180047.aspx --https://msdn.microsoft.co ...

  3. [ASP.NET MVC] Child actions are not allowed to perform redirect

    I am here Umbraco Under the platform , use MVC(SurfaceController) When developing , We have this problem MemberEdit It's a partial View [HttpGet] [ActionName(" ...

  4. About free() Some questions about function usage

    <C Language reference manual > About China  free()  The function is described as follows . (1)free()  Prototypes of functions void free(void *ptr); (2)free  Function pairs were previously created by  malloc.callo ...

  5. C Language library function encyclopedia and application examples 10

    original text :C Language library function encyclopedia and application examples 10                                             [ Programming information ]C Language library function encyclopedia and application examples 10 Function name : qsort work can : send ...

  6. iOS learning Runtime( Two )

    I've already introduced Runtime The concept of system . effect . Some technical points and application scenarios , This article will continue to learn Runtime Other knowledge . One .Runtime Technical points and so on / Object's associated object The associated object is not a class / Object to add properties or member variables ...

  7. ImageMagick brief introduction 、GraphicsMagick、 Examples of command line usage

    http://elf8848.iteye.com/blog/382528 ImageMagick Information ------------------------------------------------- ...

  8. JVM The concept of memory allocation model and java Storage of various objects in

    JVM Memory allocation model concept -- There are not many opportunities that can be used in work , There's a conceptual understanding -- This is a reprint of a reader , It should be reading < In depth understanding of Java virtual machine JVM Advanced features and best practices > After a Book , In conclusion . It's not written ...

  9. legend2--- Development log 7(vue What are the use scenarios of , Or the advantages and disadvantages of using )

    legend2--- Development log 7(vue What are the use scenarios of , Or the advantages and disadvantages of using ) One . summary One sentence summary : Any page can be used vue, Especially when it's interactive or with ajax Of , however vue It takes time for plug-ins and other plug-ins to load , ...

  10. How to jump directly from the application AppStore Telephone SMS mail

    // How to jump directly from the application AppStore [[UIApplication sharedApplication]openURL:[NSURL URLWithString:@" Download link to the app & ...