Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GCC-CONFIG] Erreur bizarre lors de la compilation [SOLVED]
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
bouyafa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2006
Posts: 141

PostPosted: Tue Mar 17, 2009 5:41 pm    Post subject: [GCC-CONFIG] Erreur bizarre lors de la compilation [SOLVED] Reply with quote

Bonjour à tous,

J'ai un petit soucis concernant la compilation de subversion-1.5.5 et d'imagemagick-6.4.8.3

Quote:

subversion/bindings/swig -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.8/i486-linux/CORE" -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.5 core.c
gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc"
make[1]: *** [core.o] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/dev-util/subversion-1.5.5/work/subversion-1.5.5/subversion/bindings/swig/perl/native »
make: *** [swig-pl] Erreur 2
*
* ERROR: dev-util/subversion-1.5.5 failed.



En fait sur la machine tout marche très bien, tout compile très bien, sauf ces deux là ... L'erreur reste étonnante, mon installation a été bien faite, avec un stage 3 en accord avec mon Athlon, pas de doutes ...


Mon emerge --info :

Quote:
$ sudo emerge --info
Portage 2.1.6.8 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p2008060
2-r1, 2.6.25-gentoo-r9 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r9-i686-AMD_Athlon-tm-_XP_2800+-with-glibc2.0
Timestamp of tree: Mon, 16 Mar 2009 20:20:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.63
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms str
ict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mir.z
yrianes.net/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/home/bouyafa/bin/quickpkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa apache2 avi bash-completion berkdb bluetooth blue
touth branding browserplugin bzip2 cairo cdparanoia cdr cli cracklib crypt cups
dbus divx4linux dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac
foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 hal iconv ieee1394 imagemagick
ipv6 isdnlog jabber jack jpeg kde kdexdeltas ldap libnotify logitech-mouse mad m
idi mikmod mime motif mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly n
splugin ogg opengl openmp pam pcre pdf pdflib perl pic png posix ppds pppd print
python qt qt3 qt3support qt4 quicktime readline reflection scanner sdl session
spell spl sse ssl startup-notification svg sysfs tcpd theora tiff truetype truet
ype-fonts unicode usb userlocales vorbis wifi win32codecs x86 xine xinerama xml
xml2 xorg xosd xscreensaver xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiix
p atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es196
8 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-
modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty ex
tplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi
null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basi
c authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_defa
ult authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter header
s include info log_config logio mem_cache mime mime_magic negotiation rewrite se
tenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INP
UT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633
glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU"
VIDEO_CARDS=" radeon fglrx vesa fbdev"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_CO
MPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Je rajoute également :

Quote:
sudo gcc-config -l
[1] i686-pc-linux-gnu-4.1.2 *

Merci à vous de me soumettre une idée voir une explication ! :)


Last edited by bouyafa on Wed May 13, 2009 11:43 am; edited 1 time in total
Back to top
View user's profile Send private message
gglaboussole
l33t
l33t


Joined: 17 May 2005
Posts: 641
Location: Monbalen (47),France

PostPosted: Tue Mar 17, 2009 6:54 pm    Post subject: Reply with quote

Salut,
Tu as changé de variable CHOST ?

parce que :
Code:

gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc"


et

Code:

emerge --info
...
CHOST="i686-pc-linux-gnu"


En ce cas je te conseille de lire ceci : http://www.gentoo.org/doc/fr/change-chost.xml
_________________
On m'a dit que la terre tourne, alors j'attends que ma maison passe par ici...
Back to top
View user's profile Send private message
bouyafa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2006
Posts: 141

PostPosted: Tue Mar 17, 2009 7:21 pm    Post subject: Reply with quote

Bah non justement je n'ai pas changé ceci, et tout compile normalement sinon, ormis ces deux choses là.

Quote:
sudo gcc-config -l
[1] i686-pc-linux-gnu-4.1.2 *



Je viens de passer 45 paquets à mettre à jour, et tout est passé nickel, sauf subversion et imagemagick ... bizarre ...
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Wed Mar 18, 2009 9:25 am    Post subject: Reply with quote

Salut, que dit gcc --version?
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
bouyafa
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2006
Posts: 141

PostPosted: Wed Mar 25, 2009 7:13 pm    Post subject: Reply with quote

Bien, en fait j'avais en effet quelques traces de 386 dans /env.d/*

J'ai donc suivi la doc sur gentoo.org et celà à l'air de refonctionner nickel.

La manip' est celle décrite sur le site, ni plus ni moins.

Merci à vous tous :)
Back to top
View user's profile Send private message
gglaboussole
l33t
l33t


Joined: 17 May 2005
Posts: 641
Location: Monbalen (47),France

PostPosted: Wed Mar 25, 2009 9:43 pm    Post subject: Reply with quote

Salut,
Heureux qu'on ait pu t'aider, mais n'oublies pas le (résolu) :wink:
_________________
On m'a dit que la terre tourne, alors j'attends que ma maison passe par ici...
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