Problème de compilateur sous SUN UNIX
Résolu/Fermé
smooncef
Messages postés
96
Date d'inscription
jeudi 4 octobre 2007
Statut
Membre
Dernière intervention
18 avril 2008
-
9 oct. 2007 à 13:50
smooncef Messages postés 96 Date d'inscription jeudi 4 octobre 2007 Statut Membre Dernière intervention 18 avril 2008 - 12 nov. 2007 à 09:14
smooncef Messages postés 96 Date d'inscription jeudi 4 octobre 2007 Statut Membre Dernière intervention 18 avril 2008 - 12 nov. 2007 à 09:14
A voir également:
- Problème de compilateur sous SUN UNIX
- Codeblocks avec compilateur - Télécharger - Langages
- Compilateur pascal - Télécharger - Édition & Programmation
- Golden sun code transfert - Forum Jeux vidéo
- Compilateur basic gratuit - Télécharger - Édition & Programmation
- Free Pascal - Télécharger - Édition & Programmation
8 réponses
dubcek
Messages postés
18744
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
4 septembre 2024
5 617
9 oct. 2007 à 14:45
9 oct. 2007 à 14:45
problèmes de droits, tu es root ?
que répond ls -ld /tmp ?
que répond ls -ld /tmp ?
smooncef
Messages postés
96
Date d'inscription
jeudi 4 octobre 2007
Statut
Membre
Dernière intervention
18 avril 2008
3
9 oct. 2007 à 15:40
9 oct. 2007 à 15:40
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 ...
dubcek
Messages postés
18744
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
4 septembre 2024
5 617
9 oct. 2007 à 16:06
9 oct. 2007 à 16:06
voir là: http://www.brandonhutchinson.com/c_compiler_cannot_create_executables.html
smooncef
Messages postés
96
Date d'inscription
jeudi 4 octobre 2007
Statut
Membre
Dernière intervention
18 avril 2008
3
9 oct. 2007 à 16:48
9 oct. 2007 à 16:48
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
dubcek
Messages postés
18744
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
4 septembre 2024
5 617
9 oct. 2007 à 17:04
9 oct. 2007 à 17:04
est-ce que le package SUNWscpu est installé ? je crois qu'il est nécessaire.
pkginfo | grep SUNWscpu
pkginfo | grep SUNWscpu
smooncef
Messages postés
96
Date d'inscription
jeudi 4 octobre 2007
Statut
Membre
Dernière intervention
18 avril 2008
3
15 oct. 2007 à 09:28
15 oct. 2007 à 09:28
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)
dubcek
Messages postés
18744
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
4 septembre 2024
5 617
15 oct. 2007 à 15:52
15 oct. 2007 à 15:52
il faut définir la variable CC=gcc.
voir ./configure -help
export CC=gcc ; ./configure
parce qu'il n'y a pas de compilateur par défaut avec Solaris, cc répond: /usr/ucb/cc: language optional software package not installed
voir ./configure -help
export CC=gcc ; ./configure
parce qu'il n'y a pas de compilateur par défaut avec Solaris, cc répond: /usr/ucb/cc: language optional software package not installed
smooncef
Messages postés
96
Date d'inscription
jeudi 4 octobre 2007
Statut
Membre
Dernière intervention
18 avril 2008
3
12 nov. 2007 à 09:14
12 nov. 2007 à 09:14
Merci pour ton aide dubcek,
Je m'y mettrais dès que j'aurais un moment, car là j'ai découverts d'autres soucis et on m'en rajoute encore, quoi de plus normale.
Je m'y mettrais dès que j'aurais un moment, car là j'ai découverts d'autres soucis et on m'en rajoute encore, quoi de plus normale.