参考这个修改不能解决问题
vi <gd_dir>/include/gd_io.h
gdIOCtx结构中增加void *data;
后来发现编译配置参数需要变更一下才能解决
./configure
--with-gd=/usr/local/gd2 ,后来变更为 ./configure --with-gd
编译通过,恢复正常。
php5.4.26 安装出现 error: ‘struct gdIOCtx’ has no member named ‘data’,布布扣,bubuko.com
php5.4.26 安装出现 error: ‘struct gdIOCtx’ has no member named ‘data’