安装php时出现configure: error: Unable to find gd.h anywhere under,错误解决
在进行PHP开发环境源码安装时,在安装PHP-5.2.6是出现:configure:error:Unabletofindgd.hanywhereunder错误
解决方式:
1.在gd库的安装路径下搜索没有发现gd.h文件,但是在/etc/include下有gd.h文件
2.在网上搜索发现重装gd库可解决
3.重新安装gd库,在安装时出现:
configure.ac:64:error:possiblyundefinedmacro:AM_ICONV
Ifthistokenandothersarelegitimate,pleaseusem4_pattern_allow.
SeetheAutoconfdocumentation.错误,在./configure后加上--enable-m4_pattern_allow重新编译即可通过
4.重新编译php,通过
相关推荐
Noneyes 2020-11-10
zyyjay 2020-11-09
xuebingnan 2020-11-05
samtrue 2020-11-22
stefan0 2020-11-22
yifangs 2020-10-13
songshijiazuaa 2020-09-24
hebiwtc 2020-09-18
天步 2020-09-17
83911535 2020-11-13
whatsyourname 2020-11-13
zhouyuqi 2020-11-10
mathchao 2020-10-28
王志龙 2020-10-28
wwwsurfphpseocom 2020-10-28
diskingchuan 2020-10-23
savorTheFlavor 2020-10-23