From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 12:41:34 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E8BB16A4CE for ; Sun, 6 Feb 2005 12:41:34 +0000 (GMT) Received: from out011.verizon.net (out011pub.verizon.net [206.46.170.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2EFD43D3F for ; Sun, 6 Feb 2005 12:41:33 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out011.verizon.net ESMTP <20050206124133.DNSQ28171.out011.verizon.net@ringworm.mechee.com>; Sun, 6 Feb 2005 06:41:33 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 044BD2CE745; Sun, 6 Feb 2005 04:37:31 -0800 (PST) From: "Michael C. Shultz" To: Grant Peel Date: Sun, 6 Feb 2005 04:37:28 -0800 User-Agent: KMail/1.7.2 References: <027301c50c43$5851b8a0$6401a8c0@GRANT> In-Reply-To: <027301c50c43$5851b8a0$6401a8c0@GRANT> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502060437.29921.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out011.verizon.net from [4.26.84.7] at Sun, 6 Feb 2005 06:41:33 -0600 cc: freebsd-questions@freebsd.org Subject: Re: Broken Comiler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 12:41:34 -0000 On Sunday 06 February 2005 03:59 am, Grant Peel wrote: > Hi all, > > A few weeks back, on of my raid drives cacked. > > Since then, I have not been able to comple anything. I get messages > like: > > (example while trying to .configure php4.3.10). > loading cache ./config.cache > checking host system type... i386-unknown-freebsd4.4 > checking for gcc... gcc > checking whether the C compiler (gcc ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. > > I tried to rebuild the compiler from ports, but it would no make > either...keeps telling me to set cc to a working compiler... > > Is there any way to fix this short of rebuilding the whole os? A > bianary compiler perhaps? > > -Grant Two possible solutions: 1) Do a minimal install with sysinstall. Once gcc is working again then cvsup to update your sources and then rebuild the world kernel. 2) Try a pkg_add -r of a gcc in ports. -Mike