localhost kaiser # emerge ati-drivers Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) x11-drivers/ati-drivers-8.37.6-r90 to / * ati-driver-installer-8.37.6-x86.x86_64.run RMD160 ;-) ... [ ok ] * ati-driver-installer-8.37.6-x86.x86_64.run SHA1 ;-) ... [ ok ] * ati-driver-installer-8.37.6-x86.x86_64.run SHA256 ;-) ... [ ok ] * ati-driver-installer-8.37.6-x86.x86_64.run size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ati-driver-installer-8.37.6-x86.x86_64.run ;-) ... [ ok ] >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... * 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/ati-drivers-8.37.6-r90 failed. Call stack: ebuild.sh, line 1637: Called dyn_setup ebuild.sh, line 704: Called qa_call 'pkg_setup' ebuild.sh, line 44: Called pkg_setup ati-drivers-8.37.6-r90.ebuild, line 61: Called linux-mod_pkg_setup linux-mod.eclass, line 464: 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/ati-drivers-8.37.6-r90/temp/build.log'. !!! This ebuild is from an overlay: '/usr/portage/local/layman/sabayon'