View previous topic :: View next topic |
Author |
Message |
ultrabug Developer


Joined: 24 Jan 2005 Posts: 698 Location: Paris
|
Posted: Thu Mar 31, 2005 3:10 pm Post subject: [emerge] error installation or configuration (résolu) |
|
|
Bonjour,
Je ne sais pas très bien pourquoi mais du jour au lendemain, ma gentoo ne veut plus rien compiler, ni emerge enfin rien
Exemple :
Code: | # emerge binutils
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/binutils-2.15.92.0.2-r1 to /
>>> md5 src_uri ;-) binutils-2.15.92.0.2.tar.bz2
>>> md5 src_uri ;-) binutils-2.15-uclibc-patches-1.0.tar.bz2
>>> md5 src_uri ;-) binutils-2.15.92.0.2-patches-1.2.tar.bz2
>>> Unpacking source...
>>> Unpacking binutils-2.15.92.0.2.tar.bz2 to /var/tmp/portage/binutils-2.15.92.0.2-r1/work
>>> Unpacking binutils-2.15-uclibc-patches-1.0.tar.bz2 to /var/tmp/portage/binutils-2.15.92.0.2-r1/work
>>> Unpacking binutils-2.15.92.0.2-patches-1.2.tar.bz2 to /var/tmp/portage/binutils-2.15.92.0.2-r1/work
* Applying various patches (bugfixes/updates) ...
* 02_all_binutils-2.15.92.0.2-ltconfig-multilib.patch.bz2 ... [ ok ]
* 03_all_binutils-2.15.92.0.2-ppc64-pie.patch.bz2 ... [ ok ]
* 04_all_binutils-2.15.92.0.2-place-orphan.patch.bz2 ... [ ok ]
* 05_all_binutils-2.15.92.0.2-relro-fix.patch.bz2 ... [ ok ]
* 05_all_binutils-2.15-elf32-arm-textrel.patch.bz2 ... [ ok ]
* 07_all_binutils-2.15.92.0.2-elfvsb-test.patch.bz2 ... [ ok ]
* 23_all_binutils-2.15.90.0.1.1-rev-variable-page-size-support.patch.bz2 ... [ ok ]
* 61_all_binutils-001_libiberty-nolimits.patch.bz2 ... [ ok ]
* 63_all_binutils-2.15.91.0.2-pt-pax-flags-200410091215.patch.bz2 ... [ ok ]
* 70_all_binutils_x86_64_testsuite.patch.bz2 ... [ ok ]
* 72_all_skip-comments.patch.bz2 ... [ ok ]
* 73_all_x86-64-gotpcrel.patch.bz2 ... [ ok ]
* 76_all_use-new-ld-dtags.patch.bz2 ... [ ok ]
* 91_all_libiberty-pic.patch.bz2 ... [ ok ]
* Done with patching
* Applying various patches (bugfixes/updates) ...
* 52_all_binutils-20041010-uclibc-100-conf.patch.bz2 ... [ ok ]
* Done with patching
* Using GNU config files from /usr/share/gnuconfig
* Updating config.sub [ ok ]
* Updating config.guess [ ok ]
>>> Source unpacked.
* Patching ${S}/ltmain.sh ...
* Applying portage-1.4.0.patch ...
* Applying relink-1.4.0a-GCC3.0-2.patch ...
* Applying sed-1.4.0.patch ...
* Applying tmp-1.3.5.patch ...
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /usr/i686-pc-linux-gnu/gcc-bin/3.3.5/gcc
checking whether the C compiler (/usr/i686-pc-linux-gnu/gcc-bin/3.3.5/gcc -march=pentium3 -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
!!! ERROR: sys-devel/binutils-2.15.92.0.2-r1 failed.
!!! Function src_compile, Line 80, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
Mon make.conf (modification des CFLAGS ne change rien)
Code: | CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}" |
J'aimerais ne pas avoir a tout refaire svp
Merci !
Last edited by ultrabug on Thu Mar 31, 2005 5:31 pm; edited 2 times in total |
|
Back to top |
|
 |
ultrabug Developer


Joined: 24 Jan 2005 Posts: 698 Location: Paris
|
Posted: Thu Mar 31, 2005 3:27 pm Post subject: |
|
|
Pour info :
Code: | # gcc-config -l
[1] i686-pc-linux-gnu-3.3.5 *
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp |
|
|
Back to top |
|
 |
ultrabug Developer


Joined: 24 Jan 2005 Posts: 698 Location: Paris
|
Posted: Thu Mar 31, 2005 5:29 pm Post subject: |
|
|
Un grand merci a kernel_sensei pour son aide !
Voici la solution :
Code: | echo sys-devel/binutils-config ~x86 >> /etc/portage/package.keywords |
Code: | emerge binutils-config |
Ensuite vérifier (lister) la config avec un :
Pour choisir la bonne config : binutils-config <numéro config>
N'oubliez pas le :
Code: | source /etc/profile |
Et voilà \o/ |
|
Back to top |
|
 |
dawaien n00b


Joined: 27 Jan 2005 Posts: 28
|
Posted: Wed Apr 06, 2005 3:38 pm Post subject: |
|
|
salut,
J'avais le même problème et la solution proposée par ultrabug (sympa le pseudo ) ne fonctionnait pas.
J'ai essayé une solution (trouvée dans ce forum) et maintenant ça marche:
|
|
Back to top |
|
 |
|