Broken Comiler

Michael C. Shultz reso3w83 at verizon.net
Sun Feb 6 04:41:34 PST 2005


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
  


More information about the freebsd-questions mailing list