[sane-devel] Scan as PNG get "PNG support not compiled in".
paddy-hack at member.fsf.org
Sun Sep 20 11:39:21 UTC 2015
> From the maillist, the PNG/JPG was supported now. I want to try scan as PNG file. but I met a trouble. I can scan it well as till/PGM.
> The top commit is:
> commit 87bfd53512029eab9a09578376953f3907001d01
> Author: m. allan noah <kitno455 at gmail.com>
> Date: Sat Sep 19 13:29:05 2015 -0400
> Run autofoo for recent changes
> Scan command is:
> sudo scanimage --format=png > image.png
> PNG support not compiled in
> I tried install libpng-dev and rebuild it, but the problem has not been fixed yet. I can not find any keyword "PNG JPG" from ./configura -h.
Did you rerun `./configure` after you installed the PNG library
development package? The following will rerun with the same options you
used the last time around:
After that it's the usual, `make`, `sudo make install` and you should be
able to scan directly to PNG.
Hope this helps,
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
Support Free Software Support the Free Software Foundation
More information about the sane-devel