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