Find the answer to your Linux question:
Results 1 to 3 of 3
I tried to configure gcc-3.4.5 and i got: creating cache ./config.cache checking host system type... i686pclinuxgnu checking target system type... i686pclinuxgnu checking build system type... i686pclinuxgnu checking for a BSD ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! nikolaos's Avatar
    Join Date
    Jan 2006
    Location
    Greece
    Posts
    39

    gcc installation problems


    I tried to configure gcc-3.4.5 and i got:

    creating cache ./config.cache
    checking host system type... i686pclinuxgnu
    checking target system type... i686pclinuxgnu
    checking build system type... i686pclinuxgnu
    checking for a BSD compatible install... /usr/bin/install c
    /home/nick/packages/gcc3.4.5/
    configure: line 2339: cc: command not found
    *** The command 'cc o
    conftest g
    conftest.c' failed.
    *** You must set the environment variable CC to a working compiler.

    what is wrong?
    is suse 9.2 to old? should i consider installing suse 10 or something?

  2. #2
    Just Joined!
    Join Date
    Dec 2005
    Posts
    54
    Your probably dont have a compiler installed to compile gcc with..
    Gota love those circular dependencies!

    Easiest fix is to download the gcc compiler prepackaged for suse9.2, which would mean you dont need to do what you doing now. I assume you need gcc to compile some other package??

    Link to gcc package for suse9.2 you would want to install:
    ftp://suse.mirrors.tds.net/pub/suse/....4-11.i586.rpm

    It will probably require other packages be installed first and you can find those at same address. ftp://suse.mirrors.tds.net/pub/suse/i386/9.2/suse/i586/
    Or you can use any other suse mirror site you choose.

  3. #3
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    gcc is on the SUSE 9.2 installation media, launch yast -> "Install and remove Programs" then search for gcc.
    Life is complex, it has a real part and an imaginary part.

Posting Permissions

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