gd_png.c:16:53: error: png.h: No such file or directory
解决方案:
打开gd_png.c 查看,由于当前目录根本没有png.h 所以安装报错#include "gdhelpers.h"#include "png.h"
所以将 png.h的正确目录改为 /usr/local/libpng/include/png.h 即可正确安装