Gentoo Archives: gentoo-user

From: Nick Rout <nick@×××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] EMERGENCY - GCC GONE!
Date: Thu, 01 Jun 2006 01:46:13
Message-Id: 20060601132518.E9D8.NICK@rout.co.nz
In Reply to: Re: [gentoo-user] EMERGENCY - GCC GONE! by Daniel da Veiga
1 On Wed, 31 May 2006 20:46:54 -0300
2 Daniel da Veiga wrote:
3
4 > On 5/31/06, Lord Sauron <lordsauronthegreat@×××××.com> wrote:
5 > > This is - for me - an emergency. No pun intended.
6 > >
7 > > I had to get rid of all gcc versions 3.4.5 and greater to work with
8 > > gcc in Cygwin on my desktop to speed up the emerge of KDE 3.5 such
9 > > that I wouldn't finish when KDE 4.0 was released.
10 > >
11 > > I gave it some pretty explicit instructions AFTER emerging
12 > > gcc-3.4.4-r1. emerge --unmerge gcc-3.4.5 gcc-3.4.5-r1 (the only two
13 > > greater that 3.4.4 that I had installed).
14 > >
15 > > For reasons that I can't fathom, gcc, is now gone. Totally.
16 > > Completely. Not there.
17 > >
18 > > I know some of you are going to be laughing your heads off at what can
19 > > only be a gigantic error in syntaxing my command to emerge, however, I
20 > > don't find it at all funny. I can't start KDE, I can't emerge gcc to
21 > > fix the problem, I can't eix gcc to see what versions of gcc are still
22 > > there, and other things. To me it looks like Python is totally
23 > > broken. It keeps asking for libstdc++.so.6, which apparently no
24 > > longer exists.
25 > >
26 > > I'm totally and completely devoid of all ideas to fix this problem.
27 > > My best idea has been to try and distcc with my desktop a version of
28 > > gcc, however, if even emerge --search won't work, I'm willing to bet
29 > > that adding FEATURES="distcc" to my make.conf won't do much more than
30 > > make a minor footnote in the list of problems I face.
31 > >
32 > > I'm pretty much scared of having to either 1) reinstall Gentoo or 2)
33 > > go back to Kubuntu, so help here would be beyond excellent.
34 > >
35 > > I'm not sure how violate an idea this is, but I think it might (some
36 > > gigantic emphasis on the might part) be possible to take another
37 > > generic i386/i686 copy of libstdc++.so.6 and paste it into where it's
38 > > needed. I think this might fix the problem so that I can the get
39 > > emerge to work enough to distcc my way into patching up my critically
40 > > wounded system.
41 > >
42 > > Before anyone makes me confess, YES! I KILLED MY SYSTEM! However, I
43 > > have to defend my pride in saying it wasn't something dumb like
44 > > blindly following some rm -r command from some website.
45 > >
46 > > Any help here would be just great. Thanks for any help you can give in advance.
47 > >
48 >
49 > Well, the world is not lost, you still have a working machine, so, you
50 > CAN fix this as long as you can BOOT your system in any way, I'm
51 > assuming you get it running (most of it), so, there's still hope. AND
52 > you have a complete working machine (your desktop), so, calm down and
53 > think straight.
54 >
55 > My best bet would be "quickpkg gcc for libstdc++ glibc" at the
56 > Desktop, then you'll need to find and and put some libs to the right
57 > places at your broken machine, till portage start working. After you
58 > get emerge working, you can use the packages generated by quickpkg to
59 > quickly restore gcc and glibc and start fixing your GCC installation.
60 >
61 > If you can't get portage to work, you may need to extract a snapshot
62 > to $PORTDIR. If you can't, in any way, you can still extract the
63 > quickpkg's using tar... Those are guesses, but, well, worth a try?!
64 >
65 > Anyway, some guru will point you in the right direction anytime.
66 >
67
68 Some OK ideas have been floated here, but what if our friend doesn't
69 have another working gentoo machine? he needs that for quickpkg.
70
71 Suggestions for finding the packaged file on one of the dev sites is
72 fine, but someone needs to give the poor guy a url. Also he isn't going
73 to be able to install it with portage because portage isn't working
74 because python isn't working. Hopefull untarring it into the filesystem
75 will work, but any post install scripts are not going to be executed.
76 Therefore something like gcc-config will need to be executed, and OP
77 will also need to check the ebuild for other steps that may be missing
78 from a simple untar.
79
80
81 --
82 Nick Rout <nick@×××××××.nz>
83
84 --
85 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] EMERGENCY - GCC GONE! Iain Buchanan <iaindb@××××××××××××.au>