From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EO0ZN-0002GZ-8B for garchives@archives.gentoo.org; Fri, 07 Oct 2005 22:20:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j97M9rU0027004; Fri, 7 Oct 2005 22:09:53 GMT Received: from geronimo.freeparking.co.nz (geronimo.freeparking.co.nz [66.70.106.220]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j97M44Qt000119 for ; Fri, 7 Oct 2005 22:04:05 GMT Received: from rugosa.mydomain (ip-210-185-6-5.internet.co.nz [210.185.6.5]) (authenticated) by geronimo.freeparking.co.nz (8.10.2/8.10.2) with ESMTP id j97MCmg01966 for ; Sat, 8 Oct 2005 11:12:49 +1300 From: Bogo Mipps To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Unable to calculate Linux Kernel version [SOLVED - SORT OF][New Thread] Date: Sat, 8 Oct 2005 11:11:55 +1300 User-Agent: KMail/1.8.1 References: <200510061717.59427.bogo-mipps@e3.net.nz> <200510071127.10998.bogo-mipps@e3.net.nz> <200510070020.32010.elinar@ihug.co.nz> In-Reply-To: <200510070020.32010.elinar@ihug.co.nz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200510081111.55623.bogo-mipps@e3.net.nz> X-Archives-Salt: b819847d-fcb1-4a1f-aa7e-1b7d57313b8e X-Archives-Hash: a468716501d41c22bb3f97ea290f98d8 On Fri, 07 Oct 2005 13:20, Glenn Enright wrote: > On Thu, 06 Oct 2005 22:27, Bogo Mipps wrote: > > * getfilevar > > * 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. > > > > Why would the .config that's in the directory not be usable? I just did > > the make oldconfig && make as you suggested - which ran without errors > > ... > > Bah! try > cd /usr/src/linux > make menuconfig > exit out of that and save in the process. Try the emerge again. Stupid > software ;) No, still the same error. However I thought I'd try the following: export KBUILD_OUTPUT=/usr/src/linux-2.6.12-gentoo-r10 - and then try the emerge svgalib again. This time it emerged no problem. Not very satisfactory, other than achieving the emerge. Why/how am I using KBUILD_OUTPUT? (see above) Mystery to me. Now I guess I get this every time an ebuild uses /usr/portage/eclass/linux-info.class - and it looks from bugzilla that more and more are moving over to it. And why only me? Only clue I have is from gentoo forum where someone found a miscompiled coreutils [/bin/echo] was producing same error as I got above. He worked through the bash file and found that was the problem. I recompiled coreutils in case (I'd had a bad memory stick earlier this year) but that didn't help. Maybe eventually when everything on my box is upgraded/recompiled I'll get back to "normal". Thanks. Bogo -- Sent via KMail 1.8.1, & o/s Linux-2.6.12-gentoo-r10 -- gentoo-user@gentoo.org mailing list