Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
Probleme emerge...
Envoyé par: silthalion

Voila les erreur lors de l'install d'amarok mais j'ai les memes erreurs avec gimp ou kdevelop ... si quelqu'un avait un moyen de m'eclairer :p
Citation
Xterm
libtool: link: `//usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la' is not a valid libtool archive
make[5]: *** [libamarok_void-engine_plugin.la] Error 1
make[5]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok/src/engine/void'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.2.1 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

Poste le Saturday 23 April 2005 18:32:40
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: silthalion

Apparement il cherche la dedans
//usr/lib/gcc-lib/i386-pc-linux-gnu
mais le seul rep dispo dans gcc-lib que j'ai c'est
i686-pc-linux-gnu

mais je vois pas comment je peu faire ...

Poste le Saturday 23 April 2005 18:45:45
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: autre_newb

Hum, vérifie avec gcc-config que tu as sélectionné le bon profil (à savoir i686...). Sinon, remerge libtool, on ne sait jamais des fois qu'il ne serait pas à jour ou corrompu.

Poste le Saturday 23 April 2005 21:34:23
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: silthalion

coté gcc c'est ok. J'ai tenter un emerge -u world , mais bon j'ai le temps ....

Poste le Saturday 23 April 2005 22:22:00
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: tuxfanch

à priori un emerge libtool devrait suffire à te remettre dans les rails.

Cela dit, un petit conseil, évite emerge -u world. Il est souvent plus sain de faire (c'est surtout -D qui est important)

emerge -Du system

puis

emerge -Du world

(tu peux utiliser l'option -f pour ne faire que dl les paquets dans une session ; puis dans une session à côté tu balance la compilation, si t'as beaucoup de paquets, ça peut gagner du temps)

--> le fait de faire une mise à jour par "petit groupes" permet de ne pas se retrouver avec dix milles fichiers de config à mettre à jour à la fin, ça évite de faire des conneries.

------- <br />
La meilleure façon de prédire le futur, c'est de l'inventer ~ Alan Kay

Poste le Sunday 24 April 2005 00:37:13
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: silthalion

toujours au meme point :'(
apres un emerge libtool c pareil..
j'verifier gcc-conf c ok
ensuite libtool --config mais ya que 686 pas de 386 donc je vois vraiment pas d'ou ca vient :'(

Poste le Sunday 24 April 2005 09:48:44
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: tuxfanch

perso, je pencherais pas vers une merde sur gcc, mais plutôt sur l'ensemble local (genre portage pas à jour, une erreur lors du dernier emerge sync, une merde dans le make.conf .... bref, un truc comme ça quoi)

------- <br />
La meilleure façon de prédire le futur, c'est de l'inventer ~ Alan Kay

Poste le Sunday 24 April 2005 11:04:54
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: silthalion

bha je vais voir je vais essayer un peu "tout".
Je verrai bien yawning smiley)
en tout cas je vous tien au courant

Poste le Sunday 24 April 2005 15:06:04
Répondre     Citer    
Re: Probleme emerge...
Envoyé par: silthalion

voila :

root ~ # fix_libtool_files.sh {numero version gcc}

et ca a resolu le probleme lol
j'ai remerge gcc ... et tout la compagnie pour rien :'(
un petit truc si ca arrive a quelq'un que j'ai trouver et qui ma aider sur le forum de gentoo:
Citation
?
ince there are only 20 threads about this, i figured one more wouldn't hurt.

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


do the following, adjusting for your system setup of course.

Code:

root ~ # gcc-config -l

[1] i686-pc-linux-gnu-3.3.5-20050130 <--- OLD COMPILER #1
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
[5] i686-pc-linux-gnu-3.4.3-20050110 <--- OLD COMPILER #2
[6] i686-pc-linux-gnu-3.4.3-20050110-hardened
[7] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
[8] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp
[9] i686-pc-linux-gnu-4.0.0-beta20050402 * <--- NEW COMPILER

root ~ # fix_libtool_files.sh 3.3.5-20050130
^------ OLD COMPILER #1
* Scanning libtool files for hardcoded gcc library paths...
* [1/6] Scanning /lib ...
* [2/6] Scanning /usr/lib ...
* FIXING: /usr/lib/xmms/Input/libmp4.la ...[v]
* FIXING: /usr/lib/libid3.la ...[v]
* FIXING: /usr/lib/libmng.la ...[v]
* FIXING: /usr/lib/libImlib.la ...[v]
* FIXING: /usr/lib/libtiff.la ...[v]
* [3/6] Scanning /opt/sun-jdk-1.5.0.02/jre/lib ...
* [4/6] Scanning /usr/games/lib ...
* [5/6] Scanning /usr/i686-pc-linux-gnu/lib ...
* [6/6] Scanning /usr/local/lib ...

root ~ # fix_libtool_files.sh 3.4.3-20050110
^----- OLD COMPILER #2
* Scanning libtool files for hardcoded gcc library paths...
(...)

root ~ # fix_libtool_files.sh 3.3.5-20050130 --oldarch i386-pc-linux-gnu
^----- OLD COMPILER #1 AGAIN ^----- ARCH NAMED IN ERROR MSG

root ~ # fix_libtool_files.sh 3.4.3-20050110 --oldarch i386-pc-linux-gnu
^----- OLD COMPILER #2 AGAIN ^----- ARCH NAMED IN ERROR MSG

root ~ # gcc-config -l

[1] i686-pc-linux-gnu-3.3.5-20050130
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
[5] i686-pc-linux-gnu-3.4.3-20050110
[6] i686-pc-linux-gnu-3.4.3-20050110-hardened
[7] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
[8] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp
[9] i686-pc-linux-gnu-4.0.0-beta20050402 *

root ~ # gcc-config 1 <---- switch to any other compiler

* Switching to i686-pc-linux-gnu-3.3.5-20050130 compiler ...

root ~ # env-update && source /etc/profile

root ~ # fix_libtool_files.sh 4.0.0-beta20050402
^----- NEW COMPILER

root ~ # fix_libtool_files.sh 4.0.0-beta20050402 --oldarch i386-pc-linux-gnu
^----- NEW COMPILER ^----- ARCH NAMED IN ERROR MSG

root ~ # gcc-config 9 <---- switch back to NEW COMPILER

root ~ # env-update && source /etc/profile


if that doesn't work, try using just the base versions of gcc (3.3.5/3.4.3/etc)

if it STILL doesn't work, try figuring out what package it is that has the broken hardcoded library path and remerge it. you can get hints from the name of the library, what libraries are being linked when it errors on you (look for things starting with "-l" like "-ltiff" or "-lIDL" (that would be libtiff and libIDL respectively). if you have more than one package that you get this error with, see what dependencies they have in common. you can use [gentoo-portage.com] to look up reverse dependencies.

fix_libtool_files.sh works - you just have to find the right command to give it.

if all else fails, recompile your toolchain. (glibc, binutils, gcc)

Poste le Monday 25 April 2005 21:01:43
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Probleme emerge...
Forum dédié aux questions sur les distributions basées sur les sources : Gentoo, Lunar, Sabayon, Sorcerer, Source Mage

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons