configure: error: png.h not found.

PHP的时候提示这个错误 configure: error: png.h not found.,这个是选择安装GD模块才会出现的错误,详细错误信息如下

If configure fails try --with-vpx-dir=<DIR>

If configure fails try --with-jpeg-dir=<DIR>

解决方法:

yum install libpng-devel

时间: 2024-10-06 19:46:54

configure: error: png.h not found.的相关文章

安装php过程中的错误和解决方式 configure: error: jpeglib.h not found

centos6.5 32位系统: checking for the location of libpng... yeschecking for the location of libXpm... nochecking for FreeType 2... yeschecking for T1lib support... nochecking whether to enable truetype string function in GD... yeschecking whether to enab

configure: error: jpeglib.h not found.

编译出现错误: configure: error: jpeglib.h not found. 解决方法:yum install libjpeg libjpeg-devel -y libjpeg-devel在base.repo源里面没有,需借助epel.repo,具体配置方法参照:http://www.cnblogs.com/llius/p/5105051.html

configure: error: mcrypt.h not found. Please reins

今天service层代码报错,mcrypt 系列函数没有定义(项目中接了ID5做身份认证) 于是开始编一个mcrypt扩展 出现如下错误:configure: error: mcrypt.h not found. Please reinstall libmcrypt. 处理之: wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz tar -zxvf libmcrypt-2.5.7

php 编译安装报错 configure: error: mcrypt.h not found. Please reinstall libmcrypt.

编译安装php时报错的解决方法: 错误一:configure: error: mcrypt.h not found. Please reinstall libmcrypt. 解决办法:需要安装Libmcrypt wget http://softlayer.dl.sourceforge.net/sourceforge/mcrypt/libmcrypt-2.5.8.tar.gz        tar -zxvf libmcrypt-2.5.8.tar.gz        cd /usr/local/

PHP编译安装报错:configure: error: mcrypt.h not found. Please reinstall libmcrypt

我是在CentOS6.5安装php5.5.28这个版本,PHP编译代码如下: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-gd --with-ico

安装php出错configure: error: mcrypt.h not found. Please reinstall libmcrypt

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz 安装: 66 tar -zxvf libmcrypt-2.5.7.tar.gz 67 cd libmcrypt-2.5.7 68 mkdir -p /usr/local/libmcrypt 69 ./configure prefix=/usr/local/libmcrypt/ 70 make 71 make install 记得

configure: error: mcrypt.h not found. Please reinstall libmcrypt.

rpm -ivh "http://www.aminglinux.com/bbs/data/attachment/forum/month_1211/epel-release-6-7.noarch.rpm" yum install -y  libmcrypt-devel

解决php编译报错configure: error: mcrypt.h not found. Please reinstall libmcrypt.

yum install -y epel-releaseyum install -y libmcrypt-devel 原文地址:https://www.cnblogs.com/finnlee/p/8992374.html

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 ===另外参考====================================