config.log中报/usr/local/libxml2/lib/libxml2.so: undefined reference to `gzopen64@ZLIB_1.2.3.3′
执行ln -sf /usr/local/zlib/lib/* /lib64/,前面库的路径根据自己系统中的zlib安装路径来确定
make的时候报如下错误:
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c: In function ?.php_image_stream_putc?.
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c:51: error: ?.truct gdIOCtx?.has no member named ?.ata?
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c: In function ?.php_image_stream_putbuf?.
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c:58: error: ?.truct gdIOCtx?.has no member named ?.ata?
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c: In function ?.php_image_stream_ctxfree?.
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c:67: error: ?.truct gdIOCtx?.has no member named ?.ata?
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c:68: error: ?.truct gdIOCtx?.has no member named ?.ata?
/root/php_env_install_package/php-5.4.37/ext/gd/gd_ctx.c:69: error: ?.truct gdIOCtx?.has no member named ?.ata?
参照http://blog.csdn.net/hzcyclone/article/details/7493051
在gd_io.h中增加void (*data);