1. 1) Configure: error: xml2-config not found. Please check your libxml2 installation.
  2. Solutions :
  3. Quote:
  4. #yum install libxml2 libxml2-devel (For Redhat & Fedora)
  5. # aptitude install libxml2-dev (For ubuntu)
  6. 2) Checking for pkg-config /usr/bin/pkg-config
  7. configure: error: Cannot find OpenSSLs <evp.h>
  8. Solutions :
  9. Quote:
  10. #yum install openssl openssl-devel
  11. 3) Configure: error: Please reinstall the BZip2 distribution
  12. Solutions :
  13. Quote:
  14. # yum install bzip2 bzip2-devel
  15. 4) Configure: error: Please reinstall the libcurl distribution -
  16. easy.h should be in <curl-dir>/include/curl/
  17. Solutions :
  18. Quote:
  19. # yum install curl curl-devel (For Redhat & Fedora)
  20. # install libcurl4-gnutls-dev (For Ubuntu)
  21. 5) Configure: error: libjpeg.(also) not found.
  22. Solutions :
  23. Quote:
  24. # yum install libjpeg libjpeg-devel
  25. 6) Configure: error: libpng.(also) not found.
  26. Solutions :
  27. Quote:
  28. # yum install libpng libpng-devel
  29. 7) Configure: error: freetype.h not found.
  30. Solutions :
  31. Quote:
  32. #yum install freetype-devel
  33. 8) Configure: error: Unable to locate gmp.h
  34. Solutions :
  35. Quote:
  36. # yum install gmp-devel
  37. 9) Configure: error: Cannot find MySQL header files under /usr.
  38. Note that the MySQL client library is not bundled anymore!
  39. Solutions :
  40. Quote:
  41. # yum install mysql-devel (For Redhat & Fedora)
  42. # apt-get install libmysql++-dev (For Ubuntu)
  43. 10) Configure: error: Please reinstall the ncurses distribution
  44. Solutions :
  45. Quote:
  46. # yum install ncurses ncurses-devel
  47. 11) Checking for unixODBC support configure: error: ODBC header file ‘/usr/include/sqlext.h not found!
  48. Solutions :
  49. Quote:
  50. # yum install unixODBC-devel
  51. 12) Configure: error: Cannot find pspell
  52. Solutions :
  53. Quote:
  54. # yum install pspell-devel
  55. 13) configure: error: mcrypt.h not found. Please reinstall libmcrypt.
  56. Solutions :
  57. Quote:
  58. # yum install libmcrypt libmcrypt-devel (For Redhat & Fedora)
  59. # apt-get install libmcrypt-dev
  60. 14) Configure: error: snmp.h not found. Check your SNMP installation.
  61. Solutions :
  62. Quote:
  63. # yum install net-snmp net-snmp-devel
  64. 15)configure: error: Please reinstall libmhash I cannot find mhash.h
  65. #yum install mhash-devel

分类: web

标签:   php   mongoDB