Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GCC] version gcc (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
malves
n00b
n00b


Joined: 24 Feb 2006
Posts: 14

PostPosted: Sun Nov 26, 2006 1:49 am    Post subject: [GCC] version gcc (résolu) Reply with quote

Bonsoir,

lorsque j'essaye de compiler Mysql j'obtiens au cours de la compilation l'erreur suivante:

Code:
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl5.8.8 -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
i686-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i686 -pipe   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wdisabled-optimization -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make: *** [Perl.o] Error 127



Mon gcc-config me donne:
Code:

limace ~ # gcc-config  -l
 [1] i486-pc-linux-gnu-4.1.1 *


et dans mon make.conf j'ai:

Code:

limace ~ # cat /etc/make.conf | grep CHOST
CHOST="i686-pc-linux-gnu"


Quelqu'un a une idée d'ou peut provenir l'erreur ??

PS: c'est une vieille install, quand j'ai repris le serveur la variable CHOST du make.conf vallait i486 ce qui expliquerai la sortie de gcc-config -l. Dois-je recompiler tout le system ?


Last edited by malves on Sun Nov 26, 2006 11:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Sun Nov 26, 2006 2:07 am    Post subject: Reply with quote

Un profile datant de la guerre?
Back to top
View user's profile Send private message
ryo-san
l33t
l33t


Joined: 17 Feb 2005
Posts: 729

PostPosted: Sun Nov 26, 2006 2:18 am    Post subject: Reply with quote

salut,

Donc , il te faudrait jeter un oeil dans /usr pour voir quelle version de gcc est presente mais apparement c'est bien la version i486 ... et non la i686 ... , a priori je dirai que ce n'est pas incompatible ( le i486 pourrais donc fonctioner avec un systeme en i686 , version "standard actuel" mais c'est a verifier et a confirmer , j'en dis parfois des belles :) )
Ce qui se traduit par un "re-emergeage" de la toolchain => glibc,binutils,gcc,portage ...gcc-config et euh binutils ( j'en oublie ?) + un emerge -e system au minimum.
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Sun Nov 26, 2006 5:08 am    Post subject: Reply with quote

Je dirais que tu as changé le CHOST à la sauvage, je te donne un lien qui explique comment faire ICI
Back to top
View user's profile Send private message
malves
n00b
n00b


Joined: 24 Feb 2006
Posts: 14

PostPosted: Sun Nov 26, 2006 2:48 pm    Post subject: Reply with quote

Le lien fournit par titoucha m'a beaucoup aidé.

Merci pour votre aide mon probleme est résolus
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Sun Nov 26, 2006 4:42 pm    Post subject: Reply with quote

Alors si tout est Ok, un petit résolu dans le titre
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Namur - Belgium

PostPosted: Tue Nov 28, 2006 7:26 pm    Post subject: Re: [GCC] version gcc (résolu) Reply with quote

malves wrote:

Code:

limace ~ # cat /etc/make.conf | grep CHOST
CHOST="i686-pc-linux-gnu"


Quelqu'un a une idée d'ou peut provenir l'erreur ??


Une erreur, c'est d'utiliser "cat fichier | grep keyword".
En effet, "grep keyword fichier" fonctionne tout aussi bien (si pas mieux) et pour les gens vraiment paranoïaques (qui a dit les puristes ?) c'est plus sécure. cat ne sert pas à ca !
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum