GD build test failed

问答中心分类: OneinStackGD build test failed
weeper asked 4年 ago

错误代码如下:
```
configure: error: GD build test failed. Please check the config.log for details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
PHP install failed, Please Contact the author!
Killed
```
VPS配置如下:
CentOS 7 已 update
物理内存 256MB
虚拟内存1.5G
oneinstack 为官网下载的最新安装包,php选项只选择了 7 9 10 13
请问我该如何解决这一问题?谢谢!

Question Tags:

12 Answers
oneinstack answered 4年 ago
编译php时候?
可否将完整的install.log 上传到百度云,贴下链接吗?

kamokutop answered 4年 ago
一样,安装了opcache,2,4,9,10,11扩展
install.log
https://paste.ubuntu.com/p/5vhsbyxTwf/
config.log
https://paste.ubuntu.com/p/zkVMctsZjN/

oneinstack answered 4年 ago
看上去向依赖没有安装好,执行以下命令,再重新执行安装试试:

yum -y install deltarpm gcc gcc-c++ make cmake autoconf libjpeg libjpeg-devel libjpeg-turbo libjpeg-turbo-devel libpng libpng-devel f
reetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel krb5-devel libc-client libc-client-devel glib2 gli
b2-devel bzip2 bzip2-devel ncurses ncurses-devel libaio numactl numactl-libs readline-devel curl curl-devel e2fsprogs e2fsprogs-d
evel krb5-devel libidn libidn-devel openssl openssl-devel libxslt-devel libicu-devel libevent-devel libtool libtool-ltdl bison gd
-devel vim-enhanced pcre-devel zip unzip ntpdate sqlite-devel sysstat patch bc expect expat-devel rsync rsyslog git lsof lrzsz ps
misc wget which libatomic

weeper answered 4年 ago
好的,谢谢。稍后我会再来回复你

weeper answered 4年 ago
好忧伤,安装了依赖后还是失败。
附上install.log日志,如下:
https://pan.baidu.com/s/1eN9PdCcwzvDrjRhrUW0_yg
烦请查看一下,谢谢

oneinstack answered 4年 ago
安装操作系统后,不要执行yum update试试

weeper answered 4年 ago
好的,我稍后测试了再来回复

kamokutop answered 4年 ago

不起作用重新安装系统后不进行yum update,只安装了依赖还是错误php-7.2.14zend opcacheioncubeimagickredismemcachedmemcache install.loghttps://paste.ubuntu.com/p/9HKMfdqks3/log很大载入不了 要下载看

oneinstack answered 4年 ago
刚刚测试安装centos7.5 64bit 安装php7.2.14 即扩展zend opcacheioncubeimagickredismemcachedmemcache 没有任何问题。可否提供测试机?页面左下角私信IP root密码,谢谢!

oneinstack answered 4年 ago

@kamokutop 测试没有问题,应该是你的yum源问题,使用阿里yum源正常!

kamokutop answered 4年 ago
当nginx版本为1.15.8时错误复现

oneinstack answered 4年 ago
没问题,将关闭这个问题