Results 1 to 10 of 12
Hey everyone......I really need help would be glad if someone could read the following and help me out thanks in advance....
basically i have squid in /home/jeet/squid-2.5.STABLE9 when I try ...
- 04-11-2005 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 13
Squid make INSTALL ./configure gcc error
Hey everyone......I really need help would be glad if someone could read the following and help me out thanks in advance....

basically i have squid in /home/jeet/squid-2.5.STABLE9 when I try following :
[root@netsvr3 squid-2.5.STABLE9]# make INSTALL
make: Nothing to be done for `INSTALL'.
[root@netsvr3 squid-2.5.STABLE9]# ./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... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
where as i know i have gcc installed in /usr/lib/gcc thats what i got after i tried the find command for gcc and also have cc installed, ive tried changing the path in .bashrc ive put the PATH link over there as
PATH=$PATH:/usr/lib/gcc
saved the file and tried all of the above ./configure and make INSTALL commands but same result
please help me
thanks in advance.....
best regards
jeetz
- 04-11-2005 #2Just Joined!
- Join Date
- Mar 2005
- Location
- Northern Ireland
- Posts
- 23
The PATH should be to the directory gcc is in; try :PATH=$PATH:/usr/lib/gcc
Login again (to pick up the new PATH) and test your PATH out with:Code:PATH=$PATH:/usr/lib
It should tell you /usr/lib/gccCode:$ which gcc

Then try ./configure ; make and make install
- 04-11-2005 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 13
Originally Posted by dtodd
right on mate....thanks for the help... did exactly what you said.....and here is what i got.....
[jeet@netsvr3 jeet]$ which gcc
which: no gcc in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib:/home/jeet/bin:/usr/lib)
[jeet@netsvr3 jeet]
could somone update me please.... thanks alot for your help guys....appreciate it....
- 04-11-2005 #4Just Joined!
- Join Date
- Mar 2005
- Location
- Northern Ireland
- Posts
- 23
should tell you if/where gcc is installed tooCode:$ rpm -qal gcc
- 04-11-2005 #5Just Joined!
- Join Date
- Apr 2005
- Posts
- 13
ok mate.....thanks again....but after hitting that command i get a same screen with nothing.....that means as i type the command and hit enter i am on konsole but no msg nothing just $ (waiting for me to type in another command)
thanks for the help....plz keep helpin me.......thanks alot.....
- 04-11-2005 #6Just Joined!
- Join Date
- Mar 2005
- Location
- Northern Ireland
- Posts
- 23
no bother!
you don't have gcc installed-
means foo ain't on the system. (rpm with -q means query; -a means look at all the packages and -l means list the details for the package. So we queried linux to return the details on gcc if it was installed, but no output means you don't have gcc on...)Code:$ rpm -qal foo $
Use the Mandrake Control Center -> Software Management -> Install and search for gcc; select the gcc and click install to get the compiler on; then retry the ./configure
- 04-13-2005 #7Just Joined!
- Join Date
- Apr 2005
- Posts
- 13
ohk......thats good help i believe.....the explanation uve given.... (Y)....... but now i have switched to Red Hat Enterprise Advance Server and planning to install squid on that....just downloading squid and some other files....as I start the installation if i get gcc error will do as u said....and if any new error will let u know.......thanks for the help dude.....
best regards
jeetz
- 04-14-2005 #8Just Joined!
- Join Date
- Apr 2005
- Posts
- 13
C compiler cannot create executables.
using Red Hat Enterprise Linux Advance Server now.....just installed mozilla firefox....all went with charm with out any probs just switched over to install squid and got this.......
[root@jeetz squid-2.5.STABLE9]# ./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.
i have checked the gcc version and i have 3.2.3 20030502 installed.....
help would be highly appreciated
thanks
best regards
jeetz
- 04-14-2005 #9Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Both MDK and RH comes with ready made RPM installations for Squid. Why don't you just install them from there?
In MDK just type: urpmi squid
- 04-14-2005 #10Just Joined!
- Join Date
- Apr 2005
- Posts
- 13
oh....never knew that....sounds interesting....so what should i do ???
Originally Posted by swemic
find / -name squid and then go to that folder and try to install from there ? if i get any results after searching... and should i do ./configure in that folder or make install or some different command to install ?? really sorry for all this fuss totally newbie to linux....but learning it just as fast as i can...and have picked up many new things too which i never knew....
thanks for the help....
best regards....
jeetz....


Reply With Quote
