public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bogo Mipps <bogo-mipps@e3.net.nz>
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	[thread overview]
Message-ID: <200510081111.55623.bogo-mipps@e3.net.nz> (raw)
In-Reply-To: <200510070020.32010.elinar@ihug.co.nz>

On Fri, 07 Oct 2005 13:20, Glenn Enright wrote:
> On Thu, 06 Oct 2005 22:27, Bogo Mipps wrote:
> >  *    getfilevar <VARIABLE> <CONFIGFILE>
> >  * 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



  reply	other threads:[~2005-10-07 22:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-06  4:17 [gentoo-user] Unable to calculate Linux Kernel version [New Thread] Bogo Mipps
2005-10-06  4:50 ` Rumen Yotov
2005-10-06  6:11   ` Bogo Mipps
2005-10-06  6:42     ` Glenn Enright
2005-10-06  7:42       ` Glenn Enright
2005-10-06  8:04         ` Bogo Mipps
2005-10-06  9:54           ` Glenn Enright
2005-10-06 22:27             ` Bogo Mipps
2005-10-07  0:20               ` Glenn Enright
2005-10-07 22:11                 ` Bogo Mipps [this message]
2005-10-06 15:29           ` Rumen Yotov
2005-10-07 22:12             ` [gentoo-user] Unable to calculate Linux Kernel version [SOLVED, SORT OF][New Thread] Bogo Mipps

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510081111.55623.bogo-mipps@e3.net.nz \
    --to=bogo-mipps@e3.net.nz \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox