Thanx for ur reply. I downloaded squid-2.6.STABLE15  & gcc-3.4.6-8.src.rpm from 
rpmfind.net 
(ftp://rpmfind.net/linux/redhat/updates/enterprise/4AS/en/os/SRPMS/gcc-3.4.6-8.src.rpm).
 when i tried to install it using rpm -ivh gcc-3.4.6-8.src.rpm; i get a bunch 
of the following error/warning messages:

warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root

now what should i do? plz explain in detail as i am a newbie in RHEL 4.0. By 
the way echo $PATH gives the following output:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

waiting for your reply.

Thx
-- 

Javed

 
----- Original Message ----

From: Amos Jeffries <[EMAIL PROTECTED]>

To: squid-users@squid-cache.org

Sent: Friday, August 31, 2007 5:41:52 PM

Subject: Re: [squid-users] resolve gcc prob in source code based squid



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




      
____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

Reply via email to