原文鏈接:http://www.bkjia.com/PHPjc/1008013.html
```
**configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution**
復制代碼?代碼如下:
yum -y install libxslt-devel
**configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.**
復制代碼?代碼如下:
yum -y install net-snmp-devel
**configure: error: Please reinstall readline - I cannot find readline.h**
復制代碼?代碼如下:
yum -y install readline-devel
**configure: error: Cannot find pspell**
復制代碼?代碼如下:
yum -y install aspell-devel
**checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!**
復制代碼?代碼如下:
yum -y install unixODBC-devel
**configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.**
復制代碼?代碼如下:
yum -y install libicu-devel
**configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not happen. Check config.log for additional information.**
復制代碼?代碼如下:
yum -y install libc-client-devel
**configure: error: freetype.h not found.**
復制代碼?代碼如下:
yum -y install freetype-devel
**configure: error: xpm.h not found.**
復制代碼?代碼如下:
yum -y install libXpm-devel
**configure: error: png.h not found.**
復制代碼?代碼如下:
yum -y install libpng-devel
**configure: error: vpx_codec.h not found.**
復制代碼?代碼如下:
yum -y install libvpx-devel
**configure: error: Cannot find enchant**
復制代碼?代碼如下:
yum -y install enchant-devel
**configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/**
復制代碼?代碼如下:
yum -y install libcurl-devel
LAOGAO added 20140907:
**configure: error: mcrypt.h not found. Please reinstall libmcrypt.**
復制代碼?代碼如下:
wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
tar zxf libmcrypt-2.5.7.tar.gz
cd libmcrypt-2.5.7
./configure
make && make install
added 20141003:
**Cannot find imap**
復制代碼?代碼如下:
ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so
**configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing.**
復制代碼?代碼如下:
yum -y install libc-client-devel
**Cannot find ldap.h**
復制代碼?代碼如下:
yum -y install openldap
yum -y install openldap-devel
**configure: error: Cannot find ldap libraries in /usr/lib**
復制代碼?代碼如下:
**cp -frp /usr/lib64/libldap* /usr/lib/**
**configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path**
復制代碼?代碼如下:
yum -y install postgresql-devel
**configure: error: Please reinstall the lib curl distribution**
復制代碼?代碼如下:
yum -y install curl-devel
**configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.**
復制代碼?代碼如下:
yum -y install net-snmp-devel
**configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution**
復制代碼?代碼如下:
yum -y install libxslt-devel
checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution
Fix:
復制代碼?代碼如下:
yum -y install bzip2-devel
checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/
Fix:
復制代碼?代碼如下:
yum -y install curl-devel
checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no configure: error: DBA: Could not find necessary header file(s).
Fix:
復制代碼?代碼如下:
yum -y install db4-devel
checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found.
Fix:
復制代碼?代碼如下:
yum -y install libjpeg-devel
checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found.
Fix:
復制代碼?代碼如下:
yum -y install libpng-devel
checking for png_write_image in -lpng… yes If configure fails try –with-xpm-dir=
configure: error: freetype.h not found.
Fix:
復制代碼?代碼如下:
Reconfigure your PHP with the following option. --with-xpm-dir=/usr
checking for png_write_image in -lpng… yes configure: error: libXpm.(a|so) not found.
Fix:
復制代碼?代碼如下:
yum -y install libXpm-devel
checking for bind_textdomain_codeset in -lc… yes checking for GNU MP support… yes configure: error: Unable to locate gmp.h
Fix:
復制代碼?代碼如下:
yum -y install gmp-devel
checking for utf8_mime2text signature… new checking for U8T_DECOMPOSE… configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
Fix:
復制代碼?代碼如下:
yum -y install libc-client-devel
checking for LDAP support… yes, shared checking for LDAP Cyrus SASL support… yes configure: error: Cannot find ldap.h
Fix:
復制代碼?代碼如下:
yum -y install openldap-devel
checking for mysql_set_character_set in -lmysqlclient… yes checking for mysql_stmt_next_result in -lmysqlclient… no checking for Oracle Database OCI8 support… no checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!
Fix:
復制代碼?代碼如下:
yum -y install unixODBC-devel
checking for PostgreSQL support for PDO… yes, shared checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Fix:
復制代碼?代碼如下:
yum -y install postgresql-devel
checking for sqlite 3 support for PDO… yes, shared checking for PDO includes… (cached) /usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path… not found configure: error: Please reinstall the sqlite3 distribution
Fix:
復制代碼?代碼如下:
yum -y install sqlite-devel
checking for utsname.domainname… yes checking for PSPELL support… yes configure: error: Cannot find pspell
Fix:
復制代碼?代碼如下:
yum -y install aspell-devel
checking whether to enable UCD SNMP hack… yes checking for default_store.h… no
checking for kstat_read in -lkstat… no checking for snmp_parse_oid in -lsnmp… no checking for init_snmp in -lsnmp… no configure: error: SNMP sanity check failed. Please check config.log for more information.
Fix:
復制代碼?代碼如下:
yum -y install net-snmp-devel
checking whether to enable XMLWriter support… yes, shared checking for xml2-config path… (cached) /usr/bin/xml2-config checking whether libxml build works… (cached) yes checking for XSL support… yes, shared configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
Fix:
復制代碼?代碼如下:
yum -y install libxslt-devel
configure: error: xml2-config not found. Please check your libxml2 installation.
Fix:
復制代碼?代碼如下:
yum -y install libxml2-devel
checking for PCRE headers location… configure: error: Could not find pcre.h in /usr
Fix:
復制代碼?代碼如下:
yum -y install pcre-devel
configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!
Fix:
復制代碼?代碼如下:
yum -y install mysql-devel
checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!
Fix:
復制代碼?代碼如下:
yum -y install unixODBC-devel
checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Fix:
復制代碼?代碼如下:
yum -y install postgresql-devel
configure: error: Cannot find pspell
Fix:
復制代碼?代碼如下:
yum -y install pspell-devel
configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
Fix:
復制代碼?代碼如下:
yum -y install net-snmp-devel
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
Fix:
復制代碼?代碼如下:
yum -y install libxslt-devel
## [linux編譯安裝時常見錯誤解決辦法](https://www.cnblogs.com/sweetXiaoma/p/5855732.html)
This article is post on https://coderwall.com/p/ggmpfa
原文鏈接:http://www.bkjia.com/PHPjc/1008013.html
**configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution**
復制代碼?代碼如下:
yum -y install libxslt-devel
**configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.**
復制代碼?代碼如下:
yum -y install net-snmp-devel
**configure: error: Please reinstall readline - I cannot find readline.h**
復制代碼?代碼如下:
yum -y install readline-devel
**configure: error: Cannot find pspell**
復制代碼?代碼如下:
yum -y install aspell-devel
**checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!**
復制代碼?代碼如下:
yum -y install unixODBC-devel
**configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.**
復制代碼?代碼如下:
yum -y install libicu-devel
**configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not happen. Check config.log for additional information.**
復制代碼?代碼如下:
yum -y install libc-client-devel
**configure: error: freetype.h not found.**
復制代碼?代碼如下:
yum -y install freetype-devel
**configure: error: xpm.h not found.**
復制代碼?代碼如下:
yum -y install libXpm-devel
**configure: error: png.h not found.**
復制代碼?代碼如下:
yum -y install libpng-devel
**configure: error: vpx_codec.h not found.**
復制代碼?代碼如下:
yum -y install libvpx-devel
**configure: error: Cannot find enchant**
復制代碼?代碼如下:
yum -y install enchant-devel
**configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/**
復制代碼?代碼如下:
yum -y install libcurl-devel
LAOGAO added 20140907:
**configure: error: mcrypt.h not found. Please reinstall libmcrypt.**
復制代碼?代碼如下:
wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
tar zxf libmcrypt-2.5.7.tar.gz
cd libmcrypt-2.5.7
./configure
make && make install
added 20141003:
**Cannot find imap**
復制代碼?代碼如下:
ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so
**configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing.**
復制代碼?代碼如下:
yum -y install libc-client-devel
**Cannot find ldap.h**
復制代碼?代碼如下:
yum -y install openldap
yum -y install openldap-devel
**configure: error: Cannot find ldap libraries in /usr/lib**
復制代碼?代碼如下:
**cp -frp /usr/lib64/libldap* /usr/lib/**
**configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path**
復制代碼?代碼如下:
yum -y install postgresql-devel
**configure: error: Please reinstall the lib curl distribution**
復制代碼?代碼如下:
yum -y install curl-devel
**configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.**
復制代碼?代碼如下:
yum -y install net-snmp-devel
**configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution**
復制代碼?代碼如下:
yum -y install libxslt-devel
checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution
Fix:
復制代碼?代碼如下:
yum -y install bzip2-devel
checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/
Fix:
復制代碼?代碼如下:
yum -y install curl-devel
checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no configure: error: DBA: Could not find necessary header file(s).
Fix:
復制代碼?代碼如下:
yum -y install db4-devel
checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found.
Fix:
復制代碼?代碼如下:
yum -y install libjpeg-devel
checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found.
Fix:
復制代碼?代碼如下:
yum -y install libpng-devel
checking for png_write_image in -lpng… yes If configure fails try –with-xpm-dir=
configure: error: freetype.h not found.
Fix:
復制代碼?代碼如下:
Reconfigure your PHP with the following option. --with-xpm-dir=/usr
checking for png_write_image in -lpng… yes configure: error: libXpm.(a|so) not found.
Fix:
復制代碼?代碼如下:
yum -y install libXpm-devel
checking for bind_textdomain_codeset in -lc… yes checking for GNU MP support… yes configure: error: Unable to locate gmp.h
Fix:
復制代碼?代碼如下:
yum -y install gmp-devel
checking for utf8_mime2text signature… new checking for U8T_DECOMPOSE… configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
Fix:
復制代碼?代碼如下:
yum -y install libc-client-devel
checking for LDAP support… yes, shared checking for LDAP Cyrus SASL support… yes configure: error: Cannot find ldap.h
Fix:
復制代碼?代碼如下:
yum -y install openldap-devel
checking for mysql_set_character_set in -lmysqlclient… yes checking for mysql_stmt_next_result in -lmysqlclient… no checking for Oracle Database OCI8 support… no checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!
Fix:
復制代碼?代碼如下:
yum -y install unixODBC-devel
checking for PostgreSQL support for PDO… yes, shared checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Fix:
復制代碼?代碼如下:
yum -y install postgresql-devel
checking for sqlite 3 support for PDO… yes, shared checking for PDO includes… (cached) /usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path… not found configure: error: Please reinstall the sqlite3 distribution
Fix:
復制代碼?代碼如下:
yum -y install sqlite-devel
checking for utsname.domainname… yes checking for PSPELL support… yes configure: error: Cannot find pspell
Fix:
復制代碼?代碼如下:
yum -y install aspell-devel
checking whether to enable UCD SNMP hack… yes checking for default_store.h… no
checking for kstat_read in -lkstat… no checking for snmp_parse_oid in -lsnmp… no checking for init_snmp in -lsnmp… no configure: error: SNMP sanity check failed. Please check config.log for more information.
Fix:
復制代碼?代碼如下:
yum -y install net-snmp-devel
checking whether to enable XMLWriter support… yes, shared checking for xml2-config path… (cached) /usr/bin/xml2-config checking whether libxml build works… (cached) yes checking for XSL support… yes, shared configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
Fix:
復制代碼?代碼如下:
yum -y install libxslt-devel
configure: error: xml2-config not found. Please check your libxml2 installation.
Fix:
復制代碼?代碼如下:
yum -y install libxml2-devel
checking for PCRE headers location… configure: error: Could not find pcre.h in /usr
Fix:
復制代碼?代碼如下:
yum -y install pcre-devel
configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!
Fix:
復制代碼?代碼如下:
yum -y install mysql-devel
checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!
Fix:
復制代碼?代碼如下:
yum -y install unixODBC-devel
checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Fix:
復制代碼?代碼如下:
yum -y install postgresql-devel
configure: error: Cannot find pspell
Fix:
復制代碼?代碼如下:
yum -y install pspell-devel
configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
Fix:
復制代碼?代碼如下:
yum -y install net-snmp-devel
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
Fix:
復制代碼?代碼如下:
yum -y install libxslt-devel
```
- 技能知識點
- 對死鎖問題的理解
- 文件系統原理:如何用1分鐘遍歷一個100TB的文件?
- 數據庫原理:為什么PrepareStatement性能更好更安全?
- Java Web程序的運行時環境到底是怎樣的?
- 你真的知道自己要解決的問題是什么嗎?
- 如何解決問題
- 經驗分享
- GIT的HTTP方式免密pull、push
- 使用xhprof對php7程序進行性能分析
- 微信掃碼登錄和使用公眾號方式進行掃碼登錄
- 關于curl跳轉抓取
- Linux 下配置 Git 操作免登錄 ssh 公鑰
- Linux Memcached 安裝
- php7安裝3.4版本的phalcon擴展
- centos7下php7.0.x安裝phalcon框架
- 將字符串按照指定長度分割
- 搜索html源碼中標簽包的純文本
- 更換composer鏡像源為阿里云
- mac 隱藏文件顯示/隱藏
- 谷歌(google)世界各國網址大全
- 實戰文檔
- PHP7安裝intl擴展和linux安裝icu
- linux編譯安裝時常見錯誤解決辦法
- linux刪除文件后不釋放磁盤空間解決方法
- PHP開啟異步多線程執行腳本
- file_exists(): open_basedir restriction in effect. File完美解決方案
- PHP 7.1 安裝 ssh2 擴展,用于PHP進行ssh連接
- php命令行加載的php.ini
- linux文件實時同步
- linux下php的psr.so擴展源碼安裝
- php將字符串中的\n變成真正的換行符?
- PHP7 下安裝 memcache 和 memcached 擴展
- PHP 高級面試題 - 如果沒有 mb 系列函數,如何切割多字節字符串
- PHP設置腳本最大執行時間的三種方法
- 升級Php 7.4帶來的兩個大坑
- 不同域名的iframe下,fckeditor在chrome下的SecurityError,解決辦法~~
- Linux find+rm -rf 執行組合刪除
- 從零搭建Prometheus監控報警系統
- Bug之group_concat默認長度限制
- PHP生成的XML顯示無效的Char值27消息(PHP generated XML shows invalid Char value 27 message)
- XML 解析中,如何排除控制字符
- PHP各種時間獲取
- nginx配置移動自適應跳轉
- 已安裝nginx動態添加模塊
- auto_prepend_file與auto_append_file使用方法
- 利用nginx實現web頁面插入統計代碼
- Nginx中的rewrite指令(break,last,redirect,permanent)
- nginx 中 index try_files location 這三個配置項的作用
- linux安裝git服務器
- PHP 中運用 elasticsearch
- PHP解析Mysql Binlog
- 好用的PHP學習網(持續更新中)
- 一篇寫給準備升級PHP7的小伙伴的文章
- linux 安裝php7 -系統centos7
- Linux 下多php 版本共存安裝
- PHP編譯安裝時常見錯誤解決辦法,php編譯常見錯誤
- nginx upstream模塊--負載均衡
- 如何解決Tomcat服務器打開不了HOST Manager的問題
- PHP的內存泄露問題與垃圾回收
- Redis數據結構 - string字符串
- PHP開發api接口安全驗證
- 服務接口API限流 Rate Limit
- php內核分析---內存管理(一)
- PHP內存泄漏問題解析
- 【代碼片-1】 MongoDB與PHP -- 高級查詢
- 【代碼片-1】 php7 mongoDB 簡單封裝
- php與mysql系統中出現大量數據庫sleep的空連接問題分析
- 解決crond引發大量sendmail、postdrop進程問題
- PHP操作MongoDB GridFS 存儲文件,如圖片文件
- 淺談php安全
- linux上keepalived+nginx實現高可用web負載均衡
- 整理php防注入和XSS攻擊通用過濾