/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory dvipng needs freetype2, which is in source/libs/freetype2. Is that getting omitted from the build also, due to the --without-xetex? Your compile line doesn't mention freetype2. When I do a normal Build, I get the needed -I..etc/freetype2.