首先,严重鄙视下有些人发布错误的解决办法
make[2]: *** [gd_png.lo] Error 1
make[2]: Leaving directory `/tmp/gd-2.0.35'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gd-2.0.35'
make: *** [all] Error 2
错误的解决办法
vi gd_png.c
找到“png.h”改成“/usr/local/libpng/include.png.h”)
正确的解决办法
vi gd_png.c
找到“png.h”改成“/usr/local/libpng/include/png.h”)
没有include.png.h这个文件
只有include/png.h