On Wed, Dec 26, 2012 at 6:30 AM, Boris Veytsman wrote:
RK> From: Richard Koch
RK> Date: Tue, 25 Dec 2012 17:29:15 -0800 RK> Folks,
RK> It looks like luatex built correctly on i386, x86-64, powerpc, and RK> universal-darwin.
RK> However, metapost did not build on any of these platforms. Sample RK> error messages from RK> the log file are shown below. It looks like
RK> png.h
RK> isn't found.
You need to install development files for libpng. On Debian they are provided by the package libpng12-dev:
boris@pippin:~$ dpkg -S /usr/include/png.h libpng12-dev: /usr/include/png.h
This can be a temporary workaround, but not the final solution. MetaPost should build without having libpngxy-dev installed. (Btw: I have /opt/local/include/png.h, but it didn't find it since the proper flags CFLAGS=-I/opt/local/include were missing anyway.) Mojca