sabasthenes demosthenes # emerge nvidia-legacy-drivers Calculating dependencies... done! >>> Emerging (1 of 1) x11-drivers/nvidia-legacy-drivers-1.0.7184-r91 to / >>> Downloading 'http://distfiles.gentoo.org/distfiles/NVIDIA-Linux-x86-1.0-7184-pkg0.run' --03:31:15-- http://distfiles.gentoo.org/distfiles/NVIDIA-Linux-x86-1.0-7184-pkg0.run => `/usr/portage/distfiles/NVIDIA-Linux-x86-1.0-7184-pkg0.run' Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 64.50.236.52, ... Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5,580,032 (5.3M) [text/plain] 100%[====================================>] 5,580,032 156.08K/s ETA 00:00 03:31:53 (149.42 KB/s) - `/usr/portage/distfiles/NVIDIA-Linux-x86-1.0-7184-pkg0.run' saved [5580032/5580032] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking NVIDIA-Linux-x86-1.0-7184-pkg0.run ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources. * If you are using KBUILD_OUTPUT, please set the environment var so that * it points to the necessary object directory so that it might find .config. !!! ERROR: x11-drivers/nvidia-legacy-drivers-1.0.7184-r91 failed. Call stack: ebuild.sh, line 1630: Called dyn_setup ebuild.sh, line 702: Called qa_call 'pkg_setup' ebuild.sh, line 38: Called pkg_setup nvidia-legacy-drivers-1.0.7184-r91.ebuild, line 102: Called linux-mod_pkg_setup linux-mod.eclass, line 459: Called linux-info_pkg_setup linux-info.eclass, line 554: Called die !!! Unable to calculate Linux Kernel version !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-legacy-drivers-1.0.7184-r91/temp/build.log'. !!! This ebuild is from an overlay: '/usr/portage/local/layman/sabayon'