Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] Problème de compilation avec kdelibs [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
Thesee
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2004
Posts: 138
Location: Belgium

PostPosted: Thu Apr 07, 2005 3:02 pm    Post subject: [emerge] Problème de compilation avec kdelibs [résolu] Reply with quote

Bonjour,

Je suis en train de faire un update world (non sans mal :)) et j'ai le problème suivant lorsqu'il compile les kdelibs:
Code:
/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o kspell_aspell.la -rpath /usr/kde/3.3/lib/kde3 -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/lib  kspell_aspellclient.lo kspell_aspelldict.lo ../../libkspell2.la -laspell
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [kspell_aspell.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r7/work/kdelibs-3.3.2/kspell2/plugins/aspell'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r7/work/kdelibs-3.3.2/kspell2/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r7/work/kdelibs-3.3.2/kspell2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.2-r7/work/kdelibs-3.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.3.2-r7 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.


Dois-je recompiler mon gcc (gcc-3.3.5-r1) ou emerger la version 3.3.4 ? Et si c'est le cas, est-ce qu'il va l'emerger en laissant la version 3.3.5 ?

Merci d'avance.


Last edited by Thesee on Fri Apr 08, 2005 7:26 am; edited 1 time in total
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Thu Apr 07, 2005 3:17 pm    Post subject: Reply with quote

je crois que c'est exactement ce problème, dont kernel_sensei avait fait un petit tip -->https://forums.gentoo.org/viewtopic-t-225450-highlight-libstdc.html
donc un petit
Code:
fix_libtool_files.sh 3.3.4
devrait résoudre le problème.

Ps: avec ma lenteur naturelle je suis de m'être fais grillé :wink: [Edit] ah ben non
Back to top
View user's profile Send private message
Thesee
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2004
Posts: 138
Location: Belgium

PostPosted: Thu Apr 07, 2005 3:28 pm    Post subject: Reply with quote

Je vais essayer çà mais je ne saurai si la solution a marché que dans au moins deux ou trois heures, le temps que kdelibs compile sur ma machine :lol:
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Thu Apr 07, 2005 3:32 pm    Post subject: Reply with quote

mais il me semble que ça doit être ça car la première erreur est :
Code:
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory


et en plus je n'ai pas vu de bug spécifique sur bugs.gentoo.org.
Mais le problème persiste n'hésite pas à faire signe. si jamais tu as un pèroblème de compilation fait un petit tour sur bugs et il y aura surement la solution.
Back to top
View user's profile Send private message
Thesee
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2004
Posts: 138
Location: Belgium

PostPosted: Fri Apr 08, 2005 7:26 am    Post subject: Reply with quote

Ca marche!!
Merci beaucoup :)
J'ai suivi le lien que tu m'as donné et j'ai fait les manips décrites: en réalité, j'ai utilisé le tool pour réparer les librairies ET j'ai fait des liens symboliques pour que ça marche. Je sais, c'est pas le plus propre, mais ça marche :oops:

Je continue donc plus avant ma compilation dans mon emerge --update --deep! :)

Encore merci!
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