View previous topic :: View next topic |
Author |
Message |
kimbo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_dr_zoidberg.gif)
Joined: 04 May 2003 Posts: 56 Location: aix en provence
|
Posted: Thu Jul 17, 2003 3:42 pm Post subject: probleme avec emerge evolution |
|
|
Lors de l'emerge d'evolution la compilation plante sur l'ebuild gnome-spell avec un erreur étrange :
Code: | sed -e "s|\@GNOME_SPELL_COMPONENT_LOCATION\@|"/usr/lib/gnome-spell"|g" \
-e "s|\@API_VERSION\@|0.3|g" \
-e "s|\@GNOME_SPELL_RELEASE\@|1.0.4|g" GNOME_Spell.server.in.in > GNOME_Spell.server.in
/bin/sh ../libtool --mode=link gcc -O2 -mcpu=i686 -pipe -g -g -g -g -g -L/usr/lib -o libgnome-spell-idl.la Spell-common.lo Spell-skels.lo Spell-stubs.lo -laspell
grep: /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' is not a valid libtool archive
make[2]: *** [libgnome-spell-idl.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gnome-spell-1.0.4/work/gnome-spell-1.0.4/gnome-spell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-spell-1.0.4/work/gnome-spell-1.0.4'
make: *** [all-recursive-am] Error 2
!!! ERROR: app-text/gnome-spell-1.0.4 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure
|
Chez moi il n'existe pas de repertoire : /usr/lib/gcc-lib/i586-pc-linux-gnu par contre il existe bien /usr/lib/gcc-lib/i686-pc-linux-gnu (normale / make.conf)
Si je copie et renome /usr/lib/gcc-lib/i686-pc-linux-gnu en /usr/lib/gcc-lib/i586-pc-linux-gnu la compilation marche.
Mais j'aimerais comprendre le pourquoi de ce bug.
a +
daizolez poure l'ortaugraf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ghoti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/15463172846237c094abba7.jpg)
Joined: 30 Dec 2002 Posts: 3636 Location: Belgium
|
Posted: Thu Jul 17, 2003 7:20 pm Post subject: Re: probleme avec emerge evolution |
|
|
kimbo wrote: | Mais j'aimerais comprendre le pourquoi de ce bug. |
Les différents profils gcc ainsi que la version courante sont définis dans /etc/env.d/gcc/
Le programme gcc-config permet de déterminer le profil à utiliser.
Tu as peut-être eu un problème à ce niveau (lequel, ça c'est une autre histoire )
Je te conseille de reprendre l'ancien nom de répertoire (/usr/lib/gcc-lib/i686-pc-linux-gnu) et d'y faire référence au moyen de gcc-config. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimbo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_dr_zoidberg.gif)
Joined: 04 May 2003 Posts: 56 Location: aix en provence
|
Posted: Fri Jul 18, 2003 4:24 am Post subject: |
|
|
Merci de ta reponse mais je pense que ma configuration de gcc est bonne :
Code: |
bash-2.05b# gcc-config --get-current-profile
i686-pc-linux-gnu-3.2.3
bash-2.05b# gcc-config --get-bin-path
/usr/i686-pc-linux-gnu/gcc-bin/3.2
bash-2.05b# gcc-config --get-lib-path
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
bash-2.05b# gcc-config --print-environ
export PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.2:/bin:/s
/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/opt/Acrobat5:/usr/X11R6/bin:/opt/sun-j2sdk-1.4.1/bin:/opt/sun-j2sdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin"
export CC="gcc"
export CXX="g++"
|
le probleme ne se pose qu'avec cette ebuild.
a + |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|