Où trouver compilateur gcc ?

Bonjour,
suite à une précédente question
(je cherche pourquoi ./configure ne marche pas )
-->
configure: error: installation or configuration problem: C compiler cannot create executables
je cherche comment installer le bon gcc sur mon linux Ubuntu
Configuration: Linux
Firefox 2.0.0.14

1 réponse

  1. Modérateur
    Salut,

    Ouvre un terminal et
    sudo apt-get install gcc
    0
    1. sudo apt-get install gcc
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances
      Lecture des informations d'état... Fait
      gcc est déjà la plus récente version disponible.
      Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
      libzvbi-common tk8.3

      je suis donc perplexe
      0
    2. Modérateur
      @yzedAh tu as sûrement un config.log qui s'est créé lors de ton ./configure.
      Si tu peux le citer ici ce serait bien.
      0
    3. @kiliance qu'il y a dans config.log
      -->
      This file contains any messages produced by compilers while
      running configure, to aid debugging if configure makes a mistake.

      configure:557: checking for a BSD compatible install
      configure:610: checking whether build environment is sane
      configure:667: checking whether make sets ${MAKE}
      configure:713: checking for working aclocal-1.4
      configure:726: checking for working autoconf
      configure:739: checking for working automake-1.4
      configure:752: checking for working autoheader
      configure:765: checking for working makeinfo
      configure:782: checking for gcc
      configure:895: checking whether the C compiler (gcc ) works
      configure:911: gcc -o conftest conftest.c 1>&5
      /usr/bin/ld: crt1.o: No such file: No such file or directory
      collect2: ld returned 1 exit status
      configure: failed program was:

      #line 906 "configure"
      #include "confdefs.h"

      main(){return(0);}
      0