最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

php編譯安裝常見錯誤大全和解決方法

 更新時間:2014年04月11日 22:31:33   作者:  
這篇文章主要介紹了php編譯安裝常見錯誤大全和解決方法,需要的朋友可以參考下

在CentOS編譯PHP5的時候有時會遇到以下的一些錯誤信息,基本上都可以通過yum安裝相應(yīng)的庫來解決。以下是具體的一些解決辦法:

復(fù)制代碼 代碼如下:
checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution

解決方法:yum install bzip2-devel

復(fù)制代碼 代碼如下:
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/

解決方法:yum install curl-devel

復(fù)制代碼 代碼如下:
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).

解決方法:yum install db4-devel

復(fù)制代碼 代碼如下:
checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found.

解決方法:yum install libjpeg-devel

復(fù)制代碼 代碼如下:
checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found.

解決方法:yum install libpng-devel

復(fù)制代碼 代碼如下:
checking for png_write_image in -lpng… yes If configure fails try –with-xpm-dir=

configure: error: freetype.h not found.


解決方法:Reconfigure your PHP with the following option. --with-xpm-dir=/usr

復(fù)制代碼 代碼如下:
checking for png_write_image in -lpng… yes configure: error: libXpm.(a|so) not found.

解決方法:yum install libXpm-devel

復(fù)制代碼 代碼如下:
checking for bind_textdomain_codeset in -lc… yes checking for GNU MP support… yes configure: error: Unable to locate gmp.h

解決方法:yum install gmp-devel

復(fù)制代碼 代碼如下:
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.

解決方法:yum install libc-client-devel

復(fù)制代碼 代碼如下:
checking for LDAP support… yes, shared checking for LDAP Cyrus SASL support… yes configure: error: Cannot find ldap.h

解決方法:yum install openldap-devel

復(fù)制代碼 代碼如下:
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 install unixODBC-devel

復(fù)制代碼 代碼如下:
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

解決方法:yum install postgresql-devel

復(fù)制代碼 代碼如下:
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

解決方法:yum install sqlite-devel

復(fù)制代碼 代碼如下:
checking for utsname.domainname… yes checking for PSPELL support… yes configure: error: Cannot find pspell

解決方法:yum install aspell-devel

復(fù)制代碼 代碼如下:
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.

解決方法:yum install net-snmp-devel

復(fù)制代碼 代碼如下:
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

解決方法:yum install libxslt-devel

復(fù)制代碼 代碼如下:
configure: error: xml2-config not found. Please check your libxml2 installation.

解決方法:yum install libxml2-devel

復(fù)制代碼 代碼如下:
checking for PCRE headers location… configure: error: Could not find pcre.h in /usr

解決方法:yum install pcre-devel

復(fù)制代碼 代碼如下:
configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!

解決方法:yum install mysql-devel

復(fù)制代碼 代碼如下:
checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!

解決方法:yum install unixODBC-devel

復(fù)制代碼 代碼如下:
checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

Fix:yum install postgresql-devel

復(fù)制代碼 代碼如下:
configure: error: Cannot find pspell

解決方法:yum install pspell-devel

復(fù)制代碼 代碼如下:
configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.

解決方法:yum install net-snmp-devel

復(fù)制代碼 代碼如下:
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

解決方法:yum install libxslt-devel

相關(guān)文章

  • shell腳本正則匹配文件中的Email并寫入到文件中代碼分享

    shell腳本正則匹配文件中的Email并寫入到文件中代碼分享

    有時我們會處理日志文件,或其他文本文件,并將里面含有的Email讀取出來,可以利用shell處理文件的方法來讀取
    2014-04-04
  • Shell腳本切割tomcat的日志文件

    Shell腳本切割tomcat的日志文件

    這篇文章主要介紹了Shell腳本切割tomcat的日志文件的相關(guān)資料,非常不錯具有參考借鑒價值,需要的朋友可以參考下
    2016-11-11
  • shell中的for循環(huán)用法詳解

    shell中的for循環(huán)用法詳解

    這篇文章主要介紹了shell中的for循環(huán)用法詳解,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧
    2020-05-05
  • linux?命令中的lynx解析

    linux?命令中的lynx解析

    lynx命令是純文本模式的網(wǎng)頁瀏覽器,不支持圖形、音頻、視頻等多媒體信息,這篇文章主要介紹了linux?命令中的lynx解析,需要的朋友可以參考下
    2024-07-07
  • Linux Shell腳本中獲取本機ip地址方法

    Linux Shell腳本中獲取本機ip地址方法

    這篇文章主要介紹了Linux Shell腳本中獲取本機ip地址方法,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧
    2020-10-10
  • linux shell 字符串操作(長度,查找,替換)詳解

    linux shell 字符串操作(長度,查找,替換)詳解

    這篇文章主要介紹了linux shell 字符串操作(長度,查找,替換)詳解,需要的朋友可以參考下
    2015-10-10
  • Linux Shell腳本syntax error: unexpected end of file原因及解決

    Linux Shell腳本syntax error: unexpected en

    這篇文章主要介紹了Linux Shell腳本syntax error: unexpected end of file原因及解決方案,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2024-03-03
  • linux shell之通過標(biāo)識測試文件系統(tǒng)屬性的方法示例

    linux shell之通過標(biāo)識測試文件系統(tǒng)屬性的方法示例

    今天小編就為大家分享一篇關(guān)于linux shell之通過標(biāo)識測試文件系統(tǒng)屬性的方法示例,小編覺得內(nèi)容挺不錯的,現(xiàn)在分享給大家,具有很好的參考價值,需要的朋友一起跟隨小編來看看吧
    2019-04-04
  • mysql源碼安裝腳本分享

    mysql源碼安裝腳本分享

    這篇文章主要介紹了mysql源碼安裝的腳本,配置文件的內(nèi)容是針對mysql5.6的,需要的朋友可以參考下
    2014-03-03
  • Linux常用ls, alias基礎(chǔ)命令詳解

    Linux常用ls, alias基礎(chǔ)命令詳解

    這篇文章主要介紹了Linux常用ls, alias基礎(chǔ)命令詳解,ls命令 的作用是列舉目錄文件信息,alias查看定義的別名,具體內(nèi)容詳情大家參考下本文
    2018-05-05

最新評論

沐川县| 沁源县| 武城县| 虹口区| 临武县| 延川县| 元谋县| 巫山县| 都江堰市| 丰顺县| 资中县| 视频| 吴川市| 德化县| 图木舒克市| 饶阳县| 温宿县| 灵宝市| 改则县| 龙游县| 剑河县| 额济纳旗| 遵义市| 大丰市| 庆安县| 青河县| 深泽县| 嘉义县| 奎屯市| 雅江县| 太仆寺旗| 张掖市| 客服| 深州市| 河西区| 信丰县| SHOW| 沁阳市| 碌曲县| 苍山县| 蒲江县|