Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sin gcc...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
ShaDeD
n00b
n00b


Joined: 26 Oct 2005
Posts: 14

PostPosted: Mon Oct 31, 2005 10:52 am    Post subject: emerge sin gcc... Reply with quote

a ver, mi problema es el siguiente:

me han dejado un pc para que lo intente arreglar, y el problema es que no tiene gcc (se lo han "unemergido" :evil: ) y claro, pues no puedo usar ni emerge, ni NADA, asi que queria saber como podria volver a instalar gcc si es que es pobible...

Quote:
gentoo gcc # emerge gcc
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


como siempre, gracias por la ayuda! :twisted:
Back to top
View user's profile Send private message
Sertinell
Guru
Guru


Joined: 19 May 2004
Posts: 582

PostPosted: Mon Oct 31, 2005 11:24 am    Post subject: Reply with quote

instala un binario, como los qe vienen en el stage3 y despues recompila gcc.
Back to top
View user's profile Send private message
patan__
n00b
n00b


Joined: 24 Oct 2003
Posts: 69
Location: Argentina

PostPosted: Mon Oct 31, 2005 5:21 pm    Post subject: Reply with quote

Mira esto:
$qpkg -f /usr/lib/libstdc++-libc6.1-1.so.2
sys-libs/lib-compat *
te fata la lib-compat... pero te explico para gcc, que es tambien aplicambe a esta.

Prodrías intentar hacer un binario lo mas compatible en tu pc, es decir cambia en tu make.conf para que sea el target el otro pc luego en tu pc haces "emerge --buildpkgonly gcc" al terminar la compilacion del gcc haces "cd /usr/portage/packages/All", ahí estara el binario creado, lo copias al otro pc a reparar en el mismo directorio nombrado anteriormente y para terminar hace en ese gentoo roto "emerge --usepkgonly gcc".
si te funciona hasta ahi seria bueno recompilar el gcc de nuevo en ese gentoo roto.

espero que te funcione. bye bye
Back to top
View user's profile Send private message
ShaDeD
n00b
n00b


Joined: 26 Oct 2005
Posts: 14

PostPosted: Tue Nov 01, 2005 11:08 am    Post subject: Reply with quote

bueno, gracias a los dos... al finla lo he hecho funcionar como habeis dicho, con un binario (nunca he sido muy amigo de estos pero vaya, han sacado del apuro) pensaba que al crear el binario en mi pc aun cambiando las flags me daria problemas, pero no...

ahora tengo otras preguntillas (es que el gcc y yo nunca nos hemos entendido bien, jeje):

1. porque al instalar el sistema gentoo, se instalan 2 versiones de gcc (en mi caso tengo la 3.3.4 y 3.3.6)?

2. puede darme algun error el sistema si instalo el gcc 4.0.2 y seguidamente elimino los otros dos...?

bueno, es es todo... ^^ gracias
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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