Problème de compilateur sous SUN UNIX
Résolu
smooncef
Messages postés
96
Date d'inscription
Statut
Membre
Dernière intervention
-
smooncef Messages postés 96 Date d'inscription Statut Membre Dernière intervention -
smooncef Messages postés 96 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
J'ai un probleme avec mon compileur, lorsque je lance la commande ./configure il me sort cette erreur, et dans le log, ce n'est pas tres tres explicite :
./configure
checking build system type... sparc-sun-solaris2.6
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
La version est dans les traces ci-dessus.
Merci de m'aider à comprendre ce qu'il me dit !!!
Peace ...
J'ai un probleme avec mon compileur, lorsque je lance la commande ./configure il me sort cette erreur, et dans le log, ce n'est pas tres tres explicite :
./configure
checking build system type... sparc-sun-solaris2.6
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
La version est dans les traces ci-dessus.
Merci de m'aider à comprendre ce qu'il me dit !!!
Peace ...
A voir également:
- Problème de compilateur sous SUN UNIX
- Telecharger code blocks avec compilateur - Télécharger - Langages
- Formation ibm aix unix ✓ - Forum Linux / Unix
- Compilateur basic gratuit - Télécharger - Édition & Programmation
- Fichier executable unix - Forum MacOS
- JPEG formatés en Fichier exécutable Unix - Forum MacOS
8 réponses
Salut,
Oui je suis root lorsque je lance le ./configure
Voici ce que me retourne la commande que tu m'a proposé :
[root@droopy /]# ls -ld /tmp
drwxrwxrwt 6 root sys 570 Oct 9 15:37 /tmp/
Et c'est la même chose si je ne suis pas root.
Peace ...
Oui je suis root lorsque je lance le ./configure
Voici ce que me retourne la commande que tu m'a proposé :
[root@droopy /]# ls -ld /tmp
drwxrwxrwt 6 root sys 570 Oct 9 15:37 /tmp/
Et c'est la même chose si je ne suis pas root.
Peace ...
Merci pour ton lien,
j'ai relancé et voici ce que ça donne :
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1597: checking build system type
configure:1615: result: sparc-sun-solaris2.6
configure:1623: checking host system type
configure:1637: result: sparc-sun-solaris2.6
configure:1645: checking target system type
configure:1659: result: sparc-sun-solaris2.6
configure:1700: checking for a BSD-compatible install
configure:1755: result: config/install-sh -c
configure:1766: checking whether build environment is sane
configure:1809: result: yes
configure:1874: checking for gawk
configure:1903: result: no
configure:1874: checking for mawk
configure:1903: result: no
configure:1874: checking for nawk
configure:1890: found /usr/bin/nawk
configure:1900: result: nawk
configure:1910: checking whether make sets $(MAKE)
configure:1934: result: no
configure:2207: checking for gcc
configure:2236: result: no
configure:2287: checking for cc
configure:2303: found /usr/ucb/cc
configure:2313: result: cc
configure:2477: checking for C compiler version
configure:2480: cc --version </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2483: $? = 1
configure:2485: cc -v </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2488: $? = 1
configure:2490: cc -V </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2493: $? = 1
configure:2516: checking for C compiler default output file name
configure:2519: cc -D_GNU_SOURCE conftest.c >&5
/usr/ucb/cc: language optional software package not installed
configure:2522: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define CONFIGURE_COMMAND "'./configure'"
| #define PACKAGE "amanda"
| #define VERSION "2.5.1p1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2560: error: C compiler cannot create executables
See `config.log' for more details.
C'est pas encore ça
:(
j'ai relancé et voici ce que ça donne :
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1597: checking build system type
configure:1615: result: sparc-sun-solaris2.6
configure:1623: checking host system type
configure:1637: result: sparc-sun-solaris2.6
configure:1645: checking target system type
configure:1659: result: sparc-sun-solaris2.6
configure:1700: checking for a BSD-compatible install
configure:1755: result: config/install-sh -c
configure:1766: checking whether build environment is sane
configure:1809: result: yes
configure:1874: checking for gawk
configure:1903: result: no
configure:1874: checking for mawk
configure:1903: result: no
configure:1874: checking for nawk
configure:1890: found /usr/bin/nawk
configure:1900: result: nawk
configure:1910: checking whether make sets $(MAKE)
configure:1934: result: no
configure:2207: checking for gcc
configure:2236: result: no
configure:2287: checking for cc
configure:2303: found /usr/ucb/cc
configure:2313: result: cc
configure:2477: checking for C compiler version
configure:2480: cc --version </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2483: $? = 1
configure:2485: cc -v </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2488: $? = 1
configure:2490: cc -V </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:2493: $? = 1
configure:2516: checking for C compiler default output file name
configure:2519: cc -D_GNU_SOURCE conftest.c >&5
/usr/ucb/cc: language optional software package not installed
configure:2522: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define CONFIGURE_COMMAND "'./configure'"
| #define PACKAGE "amanda"
| #define VERSION "2.5.1p1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2560: error: C compiler cannot create executables
See `config.log' for more details.
C'est pas encore ça
:(
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
est-ce que le package SUNWscpu est installé ? je crois qu'il est nécessaire.
pkginfo | grep SUNWscpu
pkginfo | grep SUNWscpu
Salut,
Voici la réponse que me retourn le system :
$ pkginfo | grep SUNWscpu
system SUNWscpu Source Compatibility, (Usr)
Voici la réponse que me retourn le system :
$ pkginfo | grep SUNWscpu
system SUNWscpu Source Compatibility, (Usr)