Javed wrote:
> Hello,
> i get the following error after i tried to ./configure squid-2.5.STABLE14-20060721 (after unzipping it).
>   loading cache ./config.cache
> 
First that is an obsolete version of squid.
Visit: http://www.squid-cache.org/Versions/ and grab the 2.6 release at 
least.
>  
> checking for a BSD compatible install...
> 
>   /usr/bin/install -c
> 
>  
> checking whether build environment is sane... yes
> 
>  
> checking for mawk... no
> 
>  
> checking for gawk... gawk
> 
>  
> checking whether make sets ${MAKE}... no
> 
>  
> checking whether to enable maintainer-specific
> 
>  
> portions of Makefiles... no
> 
>  
> checking for gcc... no
> 
>  
> checking for cc... no
> 
>  
> configure: error: no acceptable cc found in $PATH
>  
> Then i did the following (saw it in some forum):
> # CC=gcc
> # export CC
gcc should be setting that in the OS bash scripts on install.
> 
> now i get the following error after i do ./configure
>   loading cache ./config.cache
>   checking for a BSD compatible install... /usr/bin/install -c
>   checking whether build environment is sane... yes
>   checking for mawk... no
>   checking for gawk... gawk
>   checking whether make sets ${MAKE}... yes
>   checking whether to enable maintainer-specific portions of Makefiles... no
>   checking for gcc... gcc
>   checking whether the C compiler (gcc  -g) works... no
>   configure: error: installation or configuration problem: C compiler cannot create executables.
> 
> Can some one plz. tell me what's the problem???
Your 'C Compiler' (CC) doesn't work/exist? Or maybe it just isn't 
installed properly.
1) Remove your hack.
2) See if the newer squid finds it better.
3) does "echo $PATH" give you any hints about the problem?
4) check you can run gcc from the command-line (without needing anything 
but "gcc")
5) Try re-installing gcc.
Amos
Received on Fri Aug 31 2007 - 06:42:02 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:04 MDT