Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CONF] libstdc++, gcc a casino, ho brutti presentimenti
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Momentime
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2003
Posts: 111
Location: Italy

PostPosted: Fri Nov 12, 2004 11:16 am    Post subject: [CONF] libstdc++, gcc a casino, ho brutti presentimenti Reply with quote

Allora, il topic stavolta non parla proprio del problema in se.
Tutto è iniziato PARECCHIO tempo fa, quando avevo installato per l'ultima volta Gentoo. L'avevo installata perché libstdc++ dava seri problemi.

C'è un'infinità di topic a riguardo, che dicono di emergere libstdc++ o di usare gcc-config o altri.. ma nessuno mi ha aiutato.
Cambiando versione di gcc può succedere che:
A) qualche programma non funzioni, ma compila (non sempre bene)
B) tutti i programmi funzionino, ma non compila
C) nessun programma funzioni, ma compila

Pochi giorni fa ero nella fase C, e ho deciso di usare gcc-config per mettere il profilo gcc-3.4.2 Così facendo sono passato alla B, che è un problema importante =(

Allora (io ho la buona abitudine di compilare SEMPRE con -b nelle opzioni) ho installato gcc-3.4.2 e sono passato alla fase A. GCC compila, ma l'ultima sua creazione, thunderbird 0.9, non parte

Code:

iknos@Majestic ~ $ thunderbird
No running windows found
/usr/lib/MozillaThunderbird/thunderbird-bin: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /usr/lib/MozillaThunderbird/thunderbird-bin)
/usr/lib/MozillaThunderbird/thunderbird-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /usr/lib/MozillaThunderbird/thunderbird-bin)
/usr/lib/MozillaThunderbird/thunderbird-bin: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /usr/lib/MozillaThunderbird/libxpcom.so)
/usr/lib/MozillaThunderbird/thunderbird-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /usr/lib/MozillaThunderbird/libxpcom.so)


Non riesco a capire come ciò sia possibile! Voglio dire, l'ho compilata con gcc 3.4.2 e ora ho installata quella versione -- come mai fa così? Sono io che non ho capito un *azzo (mazzo!), sono sempre io che devo fare qualcosa che non so, o sono io che devo compilarle gcc all'ultima versione e fare emerge world -ebvD?

Speriamo che riusciate a capirci qualcosa
_________________
Registered Linux User #367816
Registered Linux machine #262819

No hope, life is none, none!
Back to top
View user's profile Send private message
ultimodruido
Apprentice
Apprentice


Joined: 11 Dec 2003
Posts: 253
Location: Muenchen

PostPosted: Fri Nov 12, 2004 11:18 am    Post subject: Reply with quote

Mota ha scritto questo
_________________
Account Jabber: ultimodruido@jabber.linux.it
Back to top
View user's profile Send private message
Momentime
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2003
Posts: 111
Location: Italy

PostPosted: Fri Nov 12, 2004 9:00 pm    Post subject: Reply with quote

Triste!
La lista di pacchetti è ENORME, visto che sono partito dal gcc 3.3 installandolo
Posso rimuovere dal world gcc in modo da non aggiornarlo più a meno che non lo richieda io esplicitamente?

mi pare che cancello e ricompilo tutto da capo mettendo reiser4. =(
_________________
Registered Linux User #367816
Registered Linux machine #262819

No hope, life is none, none!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Nov 12, 2004 10:16 pm    Post subject: Reply with quote

Momentime wrote:
Posso rimuovere dal world gcc in modo da non aggiornarlo più a meno che non lo richieda io esplicitamente?


No, anche perché il gcc non é nel world file.


Peró quello che vuoi fare é possibile con l'aiuto del file:
Code:
/etc/portage/package.mask

_________________
Ciao da me!
Back to top
View user's profile Send private message
Momentime
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2003
Posts: 111
Location: Italy

PostPosted: Sun Nov 14, 2004 8:21 pm    Post subject: Reply with quote

Beh sì, non male come idea. Ho deciso di non cancellare tutto, c'è il linux day tra 14 giorni e non voglio rimanere senza computer... devo preparare due talk.. che stress però.

Comunque ho lanciato revdep-rebuild col pretend, e ho visto che mozilla-thunderbird-0.9 NON era nella lista.. poi ho tolto anche il pretend, e non è che mi abbia aiutato più di tanto. Pazienza.. dovrò trovare un altro metodo.

E non funziona ancora, mi da lo stesso errore. Peccato, devo preparare un talk proprio su thunderbird! Adesso cercherò di installarlo precompilato, ma questa storia non mi piace proprio per niente. Alla fine quel topic non mi ha aiutato più di tanto, purtroppo. Disperato. :cry:

Comunque grazie =)
_________________
Registered Linux User #367816
Registered Linux machine #262819

No hope, life is none, none!
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Sun Nov 14, 2004 8:35 pm    Post subject: Reply with quote

Nooo,

Anch'io ho provato fix_libtool_files.sh e revdep-rebuild... ma c'è una sola, semplice cosa da fare (io ho risolto il medesimo problema così, per lo meno):
Code:

gcc-config -l     <--- elenca i profili di gcc
gcc-config <numprofilodausare> <--- scrivi il numero del profilo (se hai aggiornato da poco il profilo è gcc-3.4.3)


Io ho risolto facendo semplicemente così ;)

Spero possa esserti utile :roll:
Ciao

PS: Grazie a Mota e Sparker per il consiglio
_________________
Thrain

"...only astonishment knows..."
Back to top
View user's profile Send private message
Momentime
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2003
Posts: 111
Location: Italy

PostPosted: Sun Nov 14, 2004 8:53 pm    Post subject: Reply with quote

già fatto =|
niente di niente, che tristezza. Adesso ripiazzo gcc 3.4.3 che avevo compilato e buildato da poco.. speriamo che funzioni!
_________________
Registered Linux User #367816
Registered Linux machine #262819

No hope, life is none, none!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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