php编译错误:configure: error: Please reinstall the iconv library.

configure: error: Please reinstall the iconv library.

今天在编译安装php5.6.10的时候出现这个报错

然后怎么都解决不了,度娘也没有找到方法,于是仔细看了下配置

./configure \

--prefix=/usr/local/php5.6.10 \

--with-apxs2=/usr/local/apache/bin/apxs \

--with-mysql=/usr/local/mysql \

--with-xmlrpc \

--with-openssl \

--with-zlib \

--with-freetype-dir \

--with-gd \

--with-jpeg-dir \

--with-png-dir \

--with-iconv=/usr/local/libiconv \

--enable-short-tags \

--enable-sockets \

--enable-zend-multibyte \

--enable-soap \

--enable-mbsreing \

--enable-static \

--enable-gd-native-ttf \

--with-curl \

--with-xsl \

--enable-ftp \

--with-libxml-dir

注意--with-iconv=/usr/local/libiconv \ 发现这个包没有安装造成的

时间: 2024-10-18 00:42:02

php编译错误:configure: error: Please reinstall the iconv library.的相关文章

configure: error: Please reinstall the libcurl distribution - easy.h in <curl-dir>/include/curl/

Ubuntu编译安装Php执行配置时,出现: configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/ 解决: sudo apt-get install libcurl4-gnutls-dev configure: error: Please reinstall the libcurl distribution - easy.h in &l

php安装编译时 configure: error: Cannot find OpenSSL&#39;s &lt;evp.h&gt;

=============================================== yum install error: protected multilib versions error===============================================sudo yum downgrade openssl 降级sudo yum install openssl-devel ===另外参考====================================

解决configure: error: Please reinstall the libcurl distribution

解决configure: error: Please reinstall the libcurl distribution 今天配置一台server的php支持curl的时候, 出现如下报错 checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ 其实就是curl的d

ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.

有时候,我们需要单独安装nginx,来处理大量的下载请求.单独在Centos5安装nginx遇到的rewrite和HTTP  cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gztar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure:  error: the HTTP 

(转:)Visual Studio 2012 编译错误【error C4996: &#39;scanf&#39;: This function or variable may be unsafe. 】的解决方案

在VS 2012 中编译 C 语言项目,如果使用了 scanf 函数,编译时便会提示如下错误: error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 原因是Visual C++ 2012 使用了更加安

configure: error: Please reinstall the libcurl distribution

configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ 基本上确定是丢失了什么包所致,上网搜索得到需要事先安装的依赖包. # RetHat CentOS or Fedora 使用下面安装命令 yum install curl curl-devel # Debian or Ubuntu使用下面的安装命令 apt-get install curl apt-get

[转]Visual Studio 2012 编译错误【error C4996: &#39;scanf&#39;: This function or variable may be unsafe. 】的解决方案

原文地址:http://www.cnblogs.com/gb2013/archive/2013/03/05/SecurityEnhancementsInTheCRT.html 在VS 2012 中编译 C 语言项目,如果使用了 scanf 函数,编译时便会提示如下错误: error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecat

Visual Studio 2012 编译错误【error C4996: &#39;scanf&#39;: This function or variable may be unsafe. 】的解决方案(转载)

转载:http://www.th7.cn/Program/c/201303/127343.shtml 原因是Visual C++ 2012 使用了更加安全的 run-time library routines .新的Security CRT functions(就是那些带有“_s”后缀的函数),请参见: <CRT函数的安全增强的版本> 下面给出这个问题的解决方案: 方法一:将原来的旧函数替换成新的 Security CRT functions. 方法二:用以下方法屏蔽这个警告: 1. 在预编译

VS2012与VS2015同时安装用VS2012创建MFC程序时弹出编译错误”fatal error C1083: 无法打开包括文件:“mprapidef.h”: No such file or directory”的解决办法

在WIndows 7操作系统上同时安装VS2012与VS2015并用VS2012创建MFC程序时弹出编译错误"fatal error C1083: 无法打开包括文件:"mprapidef.h": No such file or directory"的解决办法: I installed vs2015 and vs2012, then the same problem occurs,however, I find a solution. open visual stud