Summary says it all. Try to build mplayer with gtk in the USE flags (so it builds with the gui) and libpng not installed and it will complain in the configure stage.
Should be fixed in -r3.