installation error

Discussion in 'Installation/Configuration' started by fahad, Aug 11, 2008.

  1. fahad

    fahad New Member

    pls help me how to solve this error when i give this command during installation
    "./configure"
    error: no acceptable C compiler found in $PATH
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Which distribution are you using?
     
  3. fahad

    fahad New Member

    about configuration error

    dear it show me this error pls help me
    [root@localhost gcc-3.4.4]# ./configure
    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for a BSD compatible install... /usr/bin/install -c
    ./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.
     
  4. fahad

    fahad New Member

    about configuration error

    pls help me how to solve this error

    [root@localhost gcc-3.4.4]# ./configure
    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for a BSD compatible install... /usr/bin/install -c
    ./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.
     
  5. Ben

    Ben Active Member Moderator

    it looks like developmenttools are missing, in this case the c compiler cc.
    Depending on your distribution take a look for available packages with you packagemanager (e.g. yum, apt(itude), yast, etc.)
     
  6. falko

    falko Super Moderator Howtoforge Staff

    If you are on Debian or Ubuntu, run
    Code:
    apt-get install build-essential
     

Share This Page