linux编译安装的报错,linux编译安装时常见错误解决办法
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
PHP編譯安裝時常見錯誤解決辦法,php編譯常見錯誤
PHP編譯安裝時常見錯誤解決辦法,php編譯常見錯誤 1.configure: error: xslt-config not found. Please reinstall the libxslt & ...
PHP編譯安裝時常見錯誤解決辦法
轉載自:http://www.bkjia.com/PHPjc/1008013.html This article is post on https://coderwall.com/p/ggmpfa c ...
【轉】ubuntu源碼編譯安裝php常見錯誤解決辦法
./configure -prefix=/usr/local/php -with-config-file-path=/etc -with-mysql=mysqlnd -with-mysqli=mysq ...
[轉]編譯Android源代碼常見錯誤解決辦法
1. 編譯時出現/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../libz.so when ...
PHP編譯安裝時常見錯誤及解決辦法,大全
1. ? configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution ...
hadoop 集群常見錯誤解決辦法
hadoop 集群常見錯誤解決辦法 hadoop 集群常見錯誤解決辦法: (一)啟動Hadoop集群時易出現的錯誤: 1.???錯誤現象:Java.NET.NoRouteToHostException ...
mysql ERROR 1045 和2058時(28000): 錯誤解決辦法
mysql ERROR 1045 (28000): 錯誤解決辦法 聽語音 | 瀏覽:54286 | 更新:2018-02-23 14:34 | 標簽:mysql 1 2 3 4 5 6 7 分步閱讀 ...
UltraISO安裝windows10時0x8007000D錯誤解決辦法
進入安裝界面之后提示錯誤:windows無法打開所需的文件 F:\Sources\install.wim.請確保安裝所需的所有文件可用,并重新啟動安裝.錯誤代碼:0x8007000D 原因: 肯定是i ...
ELK(Elasticsearch/Logstash/Kibana)安裝時常見錯誤總結
問題一: [2016-11-06T16:27:21,712][WARN ][o.e.b.JNANatives ] unable to install syscall filter: Java.lang ...
隨機推薦
自己實現簡單的AOP(一)簡介
AOP 和 OOP,在我看來是兩種相輔相成的技術,作為OOP的補充,AOP 有著自己特殊的應用場景. 假設,我們需要在Service層實現以下幾項基本功能: /// 1.自動管 ...
猿團YTFCloud生態系統,全面服務創業者
9月15日,YTFCloud已正式開啟了內測. 創業者翹首以待的YTFCloud,雖然讓部分創業者感受到了它的神奇,但對于更多暫時無法嘗試的創業者來說,它依然有一層神秘的面紗. 今天小編就來帶你近距離 ...
C#調試入門篇
DotNet程序的調試,是DotNet程序員必備的技能之一,開發出穩定的程序.解決程序的疑難雜癥都需要很強大的調試能力.DotNet調試有很多方法和技巧.現在本文就介紹一下借助DebugView工具進 ...
Hadoop 之Mong DB 之CentOS 6 使用 yum 安裝MongoDB及服務器端配置
安裝MongoDB的方法有很多種,可以源代碼安裝,在Centos也可以用yum源安裝的方法.由于MongoDB更新得比較快,我比較喜歡用yum源安裝的方法.64位Centos下的安裝步驟如下: 1.準 ...
java基礎學習05(面向對象基礎02)
面向對象基礎02 實現的目標 1.String類的使用2.掌握this關鍵字的使用3.掌握static關鍵字的使用4.了解內部類 String類 實例化String對象一個字符串就是一個String類 ...
一直想測試的NGINX變量輸出,最于有辦法了。
參考URL: http://blog.ailms.me/2013/08/04/nginx-server_name-and-host-difference.html 要是可能在正則測試及REWRITE就 ...
在GNU/Linux下設置與定時更換桌面壁紙
1 簡介 在電腦桌面設置一組可以定時更換的壁紙已經不是什么新奇的功能了.比如,Windows 7.KDE桌面環境都可以實現這樣的效果.可是,自己目前使用的Debian系統并未安裝KDE.GNOME這樣 ...
Python 基礎之函數、深淺copy,set及練習
三元運算符通常在Python里被稱為條件表達式,這些表達式基于真(true)/假(not)的條件判斷,在Python 2.4以上才有了三元操作. 語法格式: X if C else Y 有了三元表達式 ...
JavaSE-反射-獲取類或者對象的四種方法
1.使用Class類的靜態方法Class.forName("xxxx"); 新建一個要想要獲取的類 package org.burning.sport.javase.classlo ...
深入淺出理解python 裝飾器
之前就了解到了裝飾器, 但是就會點皮毛, 而且對其調用方式感到迷茫,正好現在的項目我想優化,就想到了用裝飾器, 因此深入研究了下裝飾器.先看下代碼: import time # 將函數作為參數傳入到此 ...
總結
以上是生活随笔為你收集整理的linux编译安装的报错,linux编译安装时常见错误解决办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 云之家怎么群发消息
- 下一篇: linux connect 阻塞超时时间