Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Just Joined!
    Join Date
    Mar 2005
    Location
    Northern Ireland
    Posts
    23
    PATH=$PATH:/usr/lib/gcc
    The PATH should be to the directory gcc is in; try :

    Code:
    PATH=$PATH:/usr/lib
    Login again (to pick up the new PATH) and test your PATH out with:

    Code:
    $ which gcc
    It should tell you /usr/lib/gcc

    Then try ./configure ; make and make install

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    13
    Quote Originally Posted by dtodd
    PATH=$PATH:/usr/lib/gcc
    The PATH should be to the directory gcc is in; try :

    Code:
    PATH=$PATH:/usr/lib
    Login again (to pick up the new PATH) and test your PATH out with:

    Code:
    $ which gcc
    It should tell you /usr/lib/gcc

    Then try ./configure ; make and make install

    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....

  4. #4
    Just Joined!
    Join Date
    Mar 2005
    Location
    Northern Ireland
    Posts
    23
    Code:
    $ rpm -qal gcc
    should tell you if/where gcc is installed too

  5. #5
    Just 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.....

  6. #6
    Just Joined!
    Join Date
    Mar 2005
    Location
    Northern Ireland
    Posts
    23
    no bother!

    you don't have gcc installed-

    Code:
    $ rpm -qal foo
    $
    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...)

    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

  7. #7
    Just 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

  8. #8
    Just 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

  9. #9
    Linux 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

  10. #10
    Just Joined!
    Join Date
    Apr 2005
    Posts
    13
    Quote Originally Posted by swemic
    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
    oh....never knew that....sounds interesting....so what should i do ???
    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....

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •