Chaque fois que j’essaye d’installer un paquet ou un logiciel sur mon mac (Maverick) à partir d’un fichier de configuration, cela échoue automatiquement lors de la vérification du compilateur C. Il est écrit “configure: error: le compilateur C ne peut pas créer de fichiers exécutables”. En outre, Homebrew fonctionne parfaitement. J’ai joint un exemple de config.log. Je n’ai trouvé aucune satisfaction dans les précédents messages, je m’excuse si le problème a été résolu.
## ----------- ## ## Core tests. ## ## ----------- ## configure:2530: checking for gcc configure:2546: found /usr/local/bin/gcc configure:2557: result: gcc configure:2786: checking for C comstackr version configure:2795: gcc --version >&5 gcc (GCC) 4.8.0 20130113 (experimental) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2806: $? = 0 configure:2795: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin12.2.0/4.8.0/lto-wrapper Target: x86_64-apple-darwin12.2.0 Configured with: ../gcc-4.8-20130113/configure --enable-languages=c++,fortran Thread model: posix gcc version 4.8.0 20130113 (experimental) (GCC) configure:2806: $? = 0 configure:2795: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:2806: $? = 1 configure:2795: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:2806: $? = 1 configure:2826: checking whether the C comstackr works configure:2848: gcc conftest.c >&5 ld: library not found for -lgcc_ext.10.5 collect2: error: ld returned 1 exit status configure:2852: $? = 1 configure:2890: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2895: error: in `/Users/amidou/miriad_cvs': configure:2897: error: C comstackr cannot create executables See `config.log' for more details
La version de mon Xcode est 5.1 et la ligne de commande est installée. Merci d’avance.