rss
probleme a l'installe avec C++
par zymno
 Fil de Discussions
Statut : Non résolu
mercredi 1 juin 2005 à 00:12:44
bonjour,

je travail sous linux mandrake 10.1.
J'essai d'installer des programmes source et a chaque fois que je fais ./configure, linux me repond :

didier@ip-220 klogoturtle-0.6]$ ./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 for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[didier@ip-220 klogoturtle-0.6]$ cd admin
[didier@ip-220 admin]$ ./install.sh
bash: ./install.sh: No such file or directory
[didier@ip-220 admin]$ su root
Password:
[root@ip-220 admin]# cd..
[root@ip-220 klogoturtle-0.6]# ./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 for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

j'ai fait une installation de c++ mais je n'ai rien dans le repertoire /usr/lib/cpp ??

Est ce que quelqu'un pourrait m'aider. MErci d'avance
Configuration: HDD 80
RAM 512 ddr 333
AMD 2000
Linux mandrake 10.1
Répondre à zymno  Signaler ce message aux modérateurs Aller au dernier message

1


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
Par bxflash, le mercredi 1 juin 2005 à 00:49:45 Fil de Discussions
Salut Zymno

Tu voulais installer un programme ou la une librairie c++?
As-tu essayer avec konqueror?
1.Tu cliques sur la maison(repertoire personnel)
2.Tu cliques sur Fenêtre
3.Tu cliques sur Afficher:Emulateur de terminal
4.Tu te loggues en root
5.Tu surfes jusqu'à ton dossier à installer
6.Tu fais un glisser-déposer dans le terminal
7.C'est comme celà que je travaille
8.Si celà ne marche pas, fais un tour du côté des miroirs ftp voir si il y a un rpm semblable à celui que tu as et travaille avec #urpmi <le chemin internet du rpm > ou télécharge-le tout bonnement.
9.Veilles à prendre le rpm qui convienne à ta bécane.
10.Peux pas faire plus , si des connaisseurs peuvent aider, on vous paie un pot au café : Ananas-Cécémel

Bonne route
Bxflash, le 01.06.05 Une date à ne pas oublier
Répondre à bxflash

2


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
Par kmf31, le mercredi 1 juin 2005 à 01:03:42 Fil de Discussions 
C'est sur que le ./configure ne trouve pas le "g++" donc le compilateur C++. Donc quelque chose ne va pas. Apres le nom "cpp" ne designe pas le C++ mais le preprocesseur (le programe qui remplace les "#define", "#include" avant la vraie compilation). Ca aussi doit etre installe mais ce n'est qu'une petite partie du compilateur. Peut-etre tu as simplement installe cpp et pas g++? Il te faut reverifier ca et tout installer qui a un rapport avec gcc et g++, mais seulement une version, par exemple en MDK 10.1 soit gcc-3.4.?? ou soit gcc-3.3.?? mais pas les deux ensemble car ca peut creer de conflits. Probablement tu as par defaut la version 3.4.??. Par contre pour la version que tu choisis installe tous les paquets avec "gcc-blabla" et aussi avec "g++" dans le nom.
Répondre à kmf31
Discussions pertinentes trouvées dans le forum
21/06 14h13Comment install/config un Script-fu pour GimpLogiciels/Pilotes21/06 14h532
19/06 19h02Installer carte graphique avec carte intégréMatériel/Hardware19/06 19h2911
09/06 22h00Probleme pour installé certain logiciel....Logiciels/Pilotes10/06 10h492
08/06 18h45Problème installation carte graphiqueMatériel/Hardware12/06 14h014
07/06 20h31Probleme installation carte PCI TrendnetRéseaux08/06 13h051
Plus de discussions sur « probleme a l'installe avec C++ » Discussion en cours Discussion fermée Problème résolu
Répondre
Titre du message :
Votre pseudo:
Votre email :
Message: 
  •  
  •  
Options: Recevoir les réponses par mail.
 

Aide