ImageMagick: Install from Source
ImageMagick: PerlMagick, Perl API for ImageMagick
I have both the libpng12-0 and libpng12-dev packages installed. When I do ./configure for ImageMagick, it says "PNG --with-png=yes yes". "make check" says "All 12 tests passed", though nothing specifically mentions PNG. BTW, make check takes a very long time. I ran it using time, and I got real 49m5.795s, user 0m59.364s, sys 1m49.751s.
Now onto PerlMagick. Makefile.PL already has -I/usr/include/libpng12 in the $INC_magick variable, and that is a real directory on my system containing a couple *.h files. But after installing, make test here says
Code: Select all
Failed Test Stat Wstat Total Fail List of Failed
t/png/read-16.t 5 5 1-5
t/png/read.t 6 6 1-6
t/png/write-16.t 5 5 1-5
t/png/write.t 6 6 1-6
So, does anyone know why PNG isn't working, or can anyone point me in a direction on finding out?