My use flags:
USE="xv slang readline gpm berkdb gdbm tcpd pam libwww ssl nls mitshm perl
python gif imlib sdl oggvorbis gtk X qt kde motif opengl mozilla avi"
checking for SDL - version >= 1.1.3... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: *** SDL >= 1.1.3 not installed - please install first and
rebuild avifile ***
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 42, Exitcode 1
!!! (no error message)
!!! emerge aborting on /usr/portage/media-sound/xmms/xmms-1.2.7-r3.ebuild .
remerging avifile and then emerging xmms fixed this.