Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema con la disinstallazione di gcc ...
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
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Wed Oct 01, 2003 11:41 am    Post subject: Problema con la disinstallazione di gcc ... Reply with quote

Ciao a tutti!
Ho questo problema:
avevo instalato il gcc 3.3.1 (oltre alla versione 3.2.3 di serie) per la compilazione di OpenOffice 1.1 Ximian, dopodichè, non avendone più bisogno, ho fatto un
Code:
emerge -C gcc-3.3.1
gcc-config 1


Il problema è che adesso il sistema cerca di compilare qualsiasi pacchetto con il gcc-3.3.1, terminando ovviamente in un errore di questo tipo:

Code:
libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.la'
make[3]: *** [libartsbuilder.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/arts/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.1.4-r1 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make


Qualcuno saprebbe aiutarmi ?!
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Wed Oct 01, 2003 11:46 am    Post subject: Reply with quote

"gcc-config -l", "gcc-config -c" e "gcc-config -E" che ti dicono?
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Wed Oct 01, 2003 1:15 pm    Post subject: Reply with quote

Perdona se non ti rispondo oggi, ma il ocmputer interessato è quello che uso a lavoro...
Domattina ti posto l'output !! :oops:
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Thu Oct 02, 2003 9:50 am    Post subject: Reply with quote

Ecco:

Code:
gcc-config -c
i686-pc-linux-gnu-3.2.3


Code:
gcc-config -E
export PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.2:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:
/usr/i686-pc-linux-gnu/gcc-bin/3.2:/opt/Acrobat5:/usr/X11R6/bin:
/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:
/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/qt/2/bin:
/opt/vmware/bin"
export CC="gcc"
export CXX="g++"



L'errore è sempre questo (con kde-multimedia):

Code:
libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.la'
make[3]: *** [libartsbuilder.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/arts/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4'
make: *** [all] Error 2
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Thu Oct 02, 2003 10:20 am    Post subject: Reply with quote

Scusa ma 6 si possono mettere entrambi i compilatori 3.2. e 3.3 contemporaneamente switchandoli a propria scelta ???

Ahh xò questa nn la sapevo..... xò quando feci un emerge world :? mi autoupgradò il gcc-3.2 x il gcc-3.3 !!!

ciao Gentooaglia
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Thu Oct 02, 2003 11:22 am    Post subject: Reply with quote

bubble27 wrote:
Scusa ma 6 si possono mettere entrambi i compilatori 3.2. e 3.3 contemporaneamente switchandoli a propria scelta ???

Ahh xò questa nn la sapevo..... xò quando feci un emerge world :? mi autoupgradò il gcc-3.2 x il gcc-3.3 !!!

ciao Gentooaglia


:o

Aiutoooooo !!!!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Thu Oct 02, 2003 11:28 am    Post subject: Reply with quote

Prova a riemergiare libtool
Code:
# emerge libtool

e poi riemergia il pacchetto che ti da errore.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Thu Oct 02, 2003 11:36 am    Post subject: Reply with quote

Ho porvato ma niente da fare, però ho risolto (almeno momentaneamente) creando
un link simbolico in /usr/lib/gcc-lib/i686-pc-linux-gnu/ da 3.3.1 a 3.2.3
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