While I need to compile mplayer with many options on, my penguin (Debian lenny) ran into this problem. Output of configure log said
png.h : 1.2.8
Result is: no (mismatch of library and header versions)
and png is not supported.
libpng12-0 and libpng12-dev are installed on my penguin (by aptitude).
Shall I just wait?