1 |
Alan, |
2 |
I'll check the links out. As for as unmerging anything else no. Not yet |
3 |
anyway, give me time though. |
4 |
|
5 |
-----Original Message----- |
6 |
From: Alan McKinnon [mailto:alan.mckinnon@×××××.com] |
7 |
Sent: Wednesday, January 09, 2008 2:08 PM |
8 |
To: gentoo-user@l.g.o |
9 |
Subject: Re: [gentoo-user] unable to emerge anything... |
10 |
|
11 |
On Wednesday 09 January 2008, Richard Torres wrote: |
12 |
> It's all a blur. It was trying to re-emerge something related to gcc |
13 |
> and python was blocking it so I unmerged it. |
14 |
> I've got python back using quickpkg like you suggested. Now I'm |
15 |
> working on getting gcc to work. I did a quickpkg on gcc but emerge |
16 |
> still fails with a 'C compiler cannot create executables' error. |
17 |
> I'm pretty sure I'm using a working version. |
18 |
> |
19 |
> gcc-config -l |
20 |
> [1] i686-pc-linux-gnu-3.3.4 |
21 |
> [2] i686-pc-linux-gnu-3.4.4 * |
22 |
> [3] i686-pc-linux-gnu-3.4.4-hardened |
23 |
> [4] i686-pc-linux-gnu-3.4.4-hardenednopie |
24 |
> [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp |
25 |
> [6] i686-pc-linux-gnu-3.4.4-hardenednossp |
26 |
> |
27 |
> Thanks-a-bunch |
28 |
|
29 |
Pleasw don't top post, especially not on a thread discussing technical |
30 |
fixes. Thanks. |
31 |
|
32 |
This seems to be a relatively common problem - I had it once myself |
33 |
recently but forget the fix. Google turned up these interesting links: |
34 |
|
35 |
http://forums.gentoo.org/viewtopic.php?t=27719 |
36 |
http://www.geektimes.com/linux/troubleshooting/c-cant-create-executables.htm |
37 |
l |
38 |
http://www.linuxquestions.org/questions/linux-newbie-8/c-compiler-cannot-cre |
39 |
ate-executables-222588/ |
40 |
http://ubuntuforums.org/showthread.php?t=17033 |
41 |
http://www.brandonhutchinson.com/c_compiler_cannot_create_executables.html |
42 |
http://forums.gentoo.org/viewtopic.php?t=27486 |
43 |
http://www.linuxforums.org/forum/linux-applications/25592-solved-compiler-ca |
44 |
n-not-create-executables.html |
45 |
|
46 |
|
47 |
I would guess that you also unmerged some other important package like |
48 |
linux-headers, g++ or some such in the frenzy. |
49 |
|
50 |
alan |
51 |
|
52 |
|
53 |
> |
54 |
> -----Original Message----- |
55 |
> From: Alan McKinnon [mailto:alan.mckinnon@×××××.com] |
56 |
> Sent: Sunday, January 06, 2008 1:51 AM |
57 |
> To: gentoo-user@l.g.o |
58 |
> Subject: Re: [gentoo-user] unable to emerge anything... |
59 |
> |
60 |
> On Saturday 05 January 2008, Richard Torres wrote: |
61 |
> > Alan, |
62 |
> > Thanks for that. It's funny you should mention python, I just |
63 |
> > inadvertently unmerged it (doh...). I've got another gentoo box |
64 |
> > running a newer version of gcc and a newer kernel. Do you think I |
65 |
> > can get what I need out of it? |
66 |
> |
67 |
> Yes, you should be able to use that. Python is SLOTted, so even if |
68 |
> your other box is using a different SLOT, you can emerge the version |
69 |
> you need, quickpkg it, copy it over to the first machine and unpack |
70 |
> it there. |
71 |
> |
72 |
> quickpkg's are just tarballs so you can even use good old tar and |
73 |
> bunzip2 if you managed to go to the next step of dohness and unmerge |
74 |
> portage as well :-) |
75 |
> |
76 |
> btw, how did you manage to unmerge python? That's in system and |
77 |
> portage usually goes to great lengths to prevent you doing just that |
78 |
> |
79 |
> alan |
80 |
> |
81 |
> > Thanks for your help, |
82 |
> > -Richard |
83 |
> > |
84 |
> > ----- Original Message ---- |
85 |
> > From: Alan McKinnon <alan.mckinnon@×××××.com> |
86 |
> > To: gentoo-user@l.g.o |
87 |
> > Sent: Saturday, January 5, 2008 2:25:52 AM |
88 |
> > Subject: Re: [gentoo-user] unable to emerge anything... |
89 |
> > |
90 |
> > On Saturday 05 January 2008, Richard Torres wrote: |
91 |
> > > I'm getting pretty much the same error (C compiler cannot create |
92 |
> > > executables). I'm pretty sure it's because gcc-3.3.4 is |
93 |
> > > installed. I've tried upgrading gcc by emerging but get the same |
94 |
> > > error (catch-22 situation). Here's the last part of the error log |
95 |
> > > which is the same with anything I try to emerge. |
96 |
> > |
97 |
> > A quickpkg of gcc might help you out of this, it's about 7M or so |
98 |
> > so small enough to mail to you. Perhaps some kind soul here with |
99 |
> > similar settings to you can send their tbz2 of gcc-3.3.6.x |
100 |
> > |
101 |
> > Alternatively, you might be able to unpack a working gcc tarball |
102 |
> > from a |
103 |
> > |
104 |
> > stage 3 onto your system and use that |
105 |
> > |
106 |
> > It doesn't help you right now, but I've managed to screw up enough |
107 |
> > gentoo systems enough times that I now keep quickpkg copies of |
108 |
> > known good working critical packages in $PKGDIR - minimally gcc, |
109 |
> > glibc, python, portage, tar and a shell |
110 |
> > |
111 |
> > alan |
112 |
> > |
113 |
> > -- |
114 |
> > Alan McKinnon |
115 |
> > alan dot mckinnon at gmail dot com |
116 |
> |
117 |
> -- |
118 |
> Alan McKinnon |
119 |
> alan dot mckinnon at gmail dot com |
120 |
> -- |
121 |
> gentoo-user@l.g.o mailing list |
122 |
|
123 |
|
124 |
|
125 |
-- |
126 |
Alan McKinnon |
127 |
alan dot mckinnon at gmail dot com |
128 |
-- |
129 |
gentoo-user@l.g.o mailing list |
130 |
|
131 |
-- |
132 |
gentoo-user@l.g.o mailing list |