Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 04/12/2013, à 12:49

Arnold59

[Ubuntu 13.10] Installation de gcc-4.8.2 : Versions différentes

Bonjour,

J'ai tenté d'installer la nouvelle version de gcc : 4.8.2 :

./configure 
make
make install 

2 versions de GCC selo l'utilisateur "root" et "user"

1) En tant que root :

/usr/local# gcc --version
gcc (GCC) 4.8.2
Copyright © 2013 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de copie.  Il n'y a PAS
GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER.

1) En tant que user :

gcc --version
gcc (GCC) 4.7.4 20130416 for GNAT GPL 2013 (20130314)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
See your AdaCore support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Il m'est impossible de compiler des sources de Wireshark 1.10.3 :

/usr/local/wireshark-1.10.3# ./configure 
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/local/wireshark-1.10.3':
configure: error: C compiler cannot create executables

Comment résoudre le problème avec GCC 4.8.2 ?

D'avance merci.

Hors ligne