From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QF5Ms-0000o3-Jw for garchives@archives.gentoo.org; Wed, 27 Apr 2011 14:05:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 255D71C04D; Wed, 27 Apr 2011 14:03:48 +0000 (UTC) Received: from basement.kutulu.org (187.250.102.97.cfl.res.rr.com [97.102.250.187]) by pigeon.gentoo.org (Postfix) with ESMTP id EB85F1C04D for ; Wed, 27 Apr 2011 14:03:47 +0000 (UTC) Received: from localhost (basement.kutulu.org [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id A699A7D8031 for ; Wed, 27 Apr 2011 06:03:50 -0400 (EDT) X-Virus-Scanned: amavisd-new at kutulu.org Received: from basement.kutulu.org ([127.0.0.1]) by localhost (basement.kutulu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XZYxVfc9cEn0 for ; Wed, 27 Apr 2011 06:03:50 -0400 (EDT) Received: from [192.168.100.84] (173.221.47.98.nw.nuvox.net [173.221.47.98]) by basement.kutulu.org (Postfix) with ESMTPSA id 4426E7D8030 for ; Wed, 27 Apr 2011 06:03:50 -0400 (EDT) Message-ID: <4DB82242.80707@kutulu.org> Date: Wed, 27 Apr 2011 10:03:46 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gcc-config: Active gcc profile is invalid! References: <20110427121625.GA6482@acm.acm> In-Reply-To: <20110427121625.GA6482@acm.acm> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 9f193b36813b8b5b83faf5bd0cbcfff4 On 4/27/2011 8:16 AM, Alan Mackenzie wrote: > Hi, Gentoo. > > I got the error message > > gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc' > > whilst trying to emerge something. Running gcc-config myself > # gcc-config -l, I get back this error message: > > * gcc-config: Active gcc profile is invalid! > [1] x86_64-pc-linux-gnu-4.4.5 > > . 4.4.5 is indeed the version of my gcc package. This got updated very > recently. > > What is a "gcc profile"? Where can I find it, and what do I need to do > to make it valid? Your gcc profile is a set of gcc specs and symlinks to a specific gcc version, since you can have more than one. The error just means gcc-config didn't get run properly before uninstalling your previous version of gcc. Run gcc-config to set your profile to the one you have listed: # gcc-config 1 You will get the error every time you run gcc-config until you set a valid profile; after that it should go away and builds should work again. --Mike