media-sound/alsa-driver-1.0.5a fails to find kernel source tree during its ./configure phase. Reproducible: Always Steps to Reproduce: 1. emerge alsa-driver 2. 3. Actual Results: checking for current directory... /var/tmp/portage/alsa-driver-1.0.5a/work/alsa-driver-1.0.5a checking cross compile... checking for directory with kernel source... /var/tmp/portage/alsa-driver-1.0.5a/temp/linux checking for kernel version... The file /var/tmp/portage/alsa-driver-1.0.5a/temp/linux/include/linux/version.h does not exist. Please, install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /usr/src/linux). !!! ERROR: media-sound/alsa-driver-1.0.5a failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed Expected Results: success Gentoo Base System version 1.4.16 Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r4) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3400+ Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-pipe -O3 -mcpu=athlon" CHOST="i386-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O3 -mcpu=athlon" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sam sdl slang spell ssl svga tcpd theora truetype x86 xml2 xmms xprint xv zlib"
your kernel in /usr/src/linux is not configured.