`
chourentang
  • 浏览: 56538 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

安装php时出现configure: error: Unable to find gd.h anywhere under,错误解决

阅读更多
在进行PHP开发环境源码安装时,在安装PHP-5.2.6是出现:configure: error: Unable to find gd.h anywhere under错误

解决方式:
1.在gd库的安装路径下搜索没有发现gd.h文件,但是在/etc/include下有gd.h文件
2.在网上搜索发现重装gd库可解决
3.重新安装gd库,在安装时出现:
configure.ac:64: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation. 错误,在./configure 后加上--enable-m4_pattern_allow 重新编译即可通过
4.重新编译php,通过
分享到:
评论

相关推荐

    为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法

    checking for MagickWand.h header file… configure: error: Cannot locate header file MagickWand.h 可是我明明正确安装了ImageMagick的呀.GOOGLE了半天,也解决不了这个问题.后面对照另一个服务器上的ImageMagick...

    svn安装过程中遇到错误需要的文件包

    错误 configure: error: could not find library containing RSA_new: 错误 configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: ...

    PHP编译configure时常见错误的总结

    PHP编译configure时常见错误的总结 PHP的安装虽然有时候很... 本文总结了一些常见的configure错误信息和解决这些错误的经验。 1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c

    haxmfori7.rar

    解决intel i7 Failed to configure driver: unknown error. Failed to open driver

    gd-devel-2.0.35-11.el6.x86_64.rpm

    redhat 6.4 安装nginx可能会报错./configure: error: the HTTP image filter module requires the GD library. You can either do not enable the module or install the libraries. 此时需要安装gd gd-devel,需要...

    Linux 下 Nginx的安装:(解压,进入目录里面执行,./configure –-> make -> sudo make install)

    NULL 博文链接:https://jackroomage.iteye.com/blog/1687401

    Linux离线安装git及所需依赖

    Linux离线安装git的安装及说明文档+所需依赖 依赖包如下: perl-TermReadKey-2.30-20.el7.x86_64.rpm libselinux-devel-2.5-15.el7.x86_64.rpm libselinux-2.5-15.el7.x86_64.rpm libcom_err-devel-1.42.9-17....

    libmount-2.25.2-实测版本

    经过实测的版本 configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0

    nginx使用ageip 实现地区负载均衡

    configure: error: Zlib header (zlib.h) not found. Tor requires zlib to build. You may need to install a 解决办法: root@ubuntu:/usr/src/GeoIP-1.4.8# apt-get install zlib1g-dev 再次编译,顺利通过 make ...

    gmp 5.0.4 安装GCC必需文件

    安装GCC必需的三个文件(gmp、mpfr、mpc)之一,gmp,安装此库之前需要先安装M4,否则无法完成安装。另:上述文件我已上传至我的资源,如有需要下载即可。 GMP is a free library for arbitrary precision ...

    amrnb-7.0.0.2.tar.bz2

    amrnb-7.0.0.2.tar.bz2 配置mingw+msys环境需要。 文章:FFmpeg在windows下的编译,搭建mingw+msys环境,含mingw+msys下载 地址: http://blog.csdn.net/bihaichentian/archive/2010/08/20/5826859.aspx

    安装lamp报错信息及解决方法

    /use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure ...configure: error: mysql configure failed. Please check config.log for more information

    gcc_4.9.4_gcc+gmp+mpfr+mpc.tar.gz

    编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 原来是gcc版本太低了,我的版本是gcc version 4.6.3 想要支持C++11,必须升级到gcc4.8...

    银河麒麟V10系统+飞腾CPU交叉编译OpenCV

    执行上述过程中make时可能会报错,错误结果如下 ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes] 194 | void pure_func seg_init(void); 这是由于gcc...

    PHP 仿陌陌直播

    PHP 仿陌陌直播,此项目利用 TP+Redis+Nginx+nginx-rtmp-module+ffmpeg+HLS +Swoole 的架构方案。开源RTMP server red5 java java用的较多,性能还是不错的! crtmpserver c++ 支持多种rtmp协议,移动设备以及IPTV...

    wireshark源码

    下面是我这篇文章的关键,也是用ubuntu安装的过程中极有可能遇到的问题,且都是在进行./configure编译过程中出现,两个问题如下: 问题1: configure: error: I couldn't find yacc (or bison or ...); make sure ...

    lidmodbus3.14(解决configure.js错误)

    libmodbus最新版,解决了原资源中configure.js运行错误

    wireshark-1.12.0最新源码

    下面是我这篇文章的关键,也是用ubuntu安装的过程中极有可能遇到的问题,且都是在进行./configure编译过程中出现,两个问题如下: 问题1: configure: error: I couldn't find yacc (or bison or ...); make sure ...

    tensorflow安装遇到的问题

    使用国内源安装tensorflow: pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade tensorflow-gpu==1.5.0 pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade keras==2.1.6 国内镜像...

    nginx-1.0.5最新稳定版

    如果安装时遇到错误的解决方法。 1. 缺少pcre 状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: ...

Global site tag (gtag.js) - Google Analytics