achille@acheron Desktop ~/Desktop
% sudo port install mplayer
Portfile changed since last build; discarding previous state.
---> Fetching jpeg
---> Verifying checksum(s) for jpeg
---> Extracting jpeg
---> Applying patches to jpeg
---> Configuring jpeg
---> Building jpeg with target all
---> Staging jpeg into destroot
---> Installing jpeg 6b_2
---> Activating jpeg 6b_2
---> Cleaning jpeg
---> Fetching lame
---> Verifying checksum(s) for lame
---> Extracting lame
---> Configuring lame
---> Building lame with target all
---> Staging lame into destroot
---> Installing lame 3.97_0
---> Activating lame 3.97_0
---> Cleaning lame
---> Fetching libmad
---> Verifying checksum(s) for libmad
---> Extracting libmad
---> Configuring libmad
---> Building libmad with target all
---> Staging libmad into destroot
---> Installing libmad 0.15.1b_1
---> Activating libmad 0.15.1b_1
---> Cleaning libmad
---> Fetching libogg
---> Verifying checksum(s) for libogg
---> Extracting libogg
---> Configuring libogg
---> Building libogg with target all
---> Staging libogg into destroot
---> Installing libogg 1.1.3_2
---> Activating libogg 1.1.3_2
---> Cleaning libogg
---> Fetching libungif
---> Verifying checksum(s) for libungif
---> Extracting libungif
---> Applying patches to libungif
---> Configuring libungif
---> Building libungif with target all
---> Staging libungif into destroot
---> Installing libungif 4.1.4_2
---> Activating libungif 4.1.4_2
---> Cleaning libungif
---> Fetching libvorbis
---> Attempting to fetch libvorbis-1.2.0.tar.gz from http://downloads.xiph.org/releases/vorbis/
---> Verifying checksum(s) for libvorbis
---> Extracting libvorbis
---> Configuring libvorbis
---> Building libvorbis with target all
---> Staging libvorbis into destroot
---> Installing libvorbis 1.2.0_0
---> Activating libvorbis 1.2.0_0
---> Cleaning libvorbis
---> Fetching lzo2
---> Verifying checksum(s) for lzo2
---> Extracting lzo2
---> Configuring lzo2
---> Building lzo2 with target all
---> Staging lzo2 into destroot
---> Installing lzo2 2.02_2+darwin_8
---> Activating lzo2 2.02_2+darwin_8
---> Cleaning lzo2
---> Fetching MPlayer
---> Verifying checksum(s) for MPlayer
---> Extracting MPlayer
---> Applying patches to MPlayer
---> Configuring MPlayer
---> Building MPlayer with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc1" && make all " returned error 2
Command output: vd_mpng.c:60: error: 'buffer' undeclared (first use in this function)
vd_mpng.c: In function 'decode':
vd_mpng.c:66: error: 'png_structp' undeclared (first use in this function)
vd_mpng.c:66: error: parse error before 'png'
vd_mpng.c:67: error: 'png_infop' undeclared (first use in this function)
vd_mpng.c:70: error: 'png_bytep' undeclared (first use in this function)
vd_mpng.c:70: error: 'row_p' undeclared (first use in this function)
vd_mpng.c:71: error: 'png_uint_32' undeclared (first use in this function)
vd_mpng.c:71: error: parse error before 'png_width'
vd_mpng.c:73: error: parse error before 'i'
vd_mpng.c:77: error: 'png_colorp' undeclared (first use in this function)
vd_mpng.c:77: error: parse error before 'pal'
vd_mpng.c:82: error: 'png' undeclared (first use in this function)
vd_mpng.c:82: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
vd_mpng.c:83: error: incompatible types in assignment
vd_mpng.c:84: error: 'endinfo' undeclared (first use in this function)
vd_mpng.c:92: error: 'png_width' undeclared (first use in this function)
vd_mpng.c:92: error: 'png_height' undeclared (first use in this function)
vd_mpng.c:95: error: invalid type argument of '->'
vd_mpng.c:96: error: 'PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function)
vd_mpng.c:99: error: 'PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
vd_mpng.c:102: error: 'PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
vd_mpng.c:105: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
vd_mpng.c:108: error: 'PNG_COLOR_TYPE_RGB' undeclared (first use in this function)
vd_mpng.c:112: error: invalid type argument of '->'
vd_mpng.c:140: error: 'i' undeclared (first use in this function)
vd_mpng.c:145: error: 'pal' undeclared (first use in this function)
vd_mpng.c:146: warning: pointer targets in assignment differ in signedness
make[1]: *** [vd_mpng.o] Error 1
make: *** [libmpcodecs/libmpcodecs.a] Error 2
Error: Status 1 encountered during processing.