Où trouver compilateur gcc ?

yzed Messages postés 199 Statut Membre -  
yzed Messages postés 199 Statut Membre -
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. kilian Messages postés 8675 Date d'inscription   Statut Modérateur Dernière intervention   1 526
     
    Salut,

    Ouvre un terminal et
    sudo apt-get install gcc
    0
    1. yzed Messages postés 199 Statut Membre 2
       
      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
      1. kilian Messages postés 8675 Date d'inscription   Statut Modérateur Dernière intervention   1 526 > yzed Messages postés 199 Statut Membre
         
        Ah 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
      2. yzed Messages postés 199 Statut Membre 2 > kilian Messages postés 8675 Date d'inscription   Statut Modérateur Dernière intervention  
         
        ce 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