Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 04:37:28 -0800
From:      "Michael C. Shultz" <reso3w83@verizon.net>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Broken Comiler
Message-ID:  <200502060437.29921.reso3w83@verizon.net>
In-Reply-To: <027301c50c43$5851b8a0$6401a8c0@GRANT>
References:  <027301c50c43$5851b8a0$6401a8c0@GRANT>

next in thread | previous in thread | raw e-mail | index | archive | help
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
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502060437.29921.reso3w83>