1 |
Hello Richard, |
2 |
|
3 |
Am Donnerstag, 10. Januar 2008 schrieb Richard Torres: |
4 |
> Thanks for the input. |
5 |
> |
6 |
> I tried it on both of my Gentoo boxes. One worked and the problematic one |
7 |
> gave me the following output; |
8 |
> |
9 |
> # gcc test.c -o test |
10 |
> |
11 |
> gcc: installation problem, cannot exec `as': No such file or directory |
12 |
|
13 |
this is because your binutils don't work. If your second machine has the same |
14 |
architecture try to quickpkg your binutils on this machine and install it on |
15 |
your problem box. |
16 |
|
17 |
Gerald |
18 |
|
19 |
> |
20 |
> |
21 |
> I'm going to try quickpkg again but this time from the working box. The |
22 |
> first pkg came from an older livecd. |
23 |
> |
24 |
> |
25 |
> |
26 |
> If you think of anything please let me know. Thanks again. |
27 |
> |
28 |
> |
29 |
> |
30 |
> -Richard |
31 |
> |
32 |
> |
33 |
> |
34 |
> _____ |
35 |
> |
36 |
> From: James Ausmus [mailto:james.ausmus@×××××.com] |
37 |
> Sent: Wednesday, January 09, 2008 12:22 PM |
38 |
> To: gentoo-user@l.g.o |
39 |
> Subject: Re: [gentoo-user] unable to emerge anything... |
40 |
> |
41 |
> |
42 |
> |
43 |
> |
44 |
> |
45 |
> On Jan 9, 2008 9:13 AM, Richard Torres <rtorres827@×××××.com> wrote: |
46 |
> |
47 |
> It's all a blur. It was trying to re-emerge something related to gcc and |
48 |
> python was blocking it so I unmerged it. |
49 |
> I've got python back using quickpkg like you suggested. Now I'm working on |
50 |
> getting gcc to work. I did a quickpkg on gcc but emerge still fails with a |
51 |
> 'C compiler cannot create executables' error. |
52 |
> I'm pretty sure I'm using a working version. |
53 |
> |
54 |
> |
55 |
> It may not be the C compiler at all. To check this copy the following code |
56 |
> into a file called test.c: |
57 |
> |
58 |
> |
59 |
> |
60 |
> #include <stdio.h> |
61 |
> |
62 |
> int main(void) |
63 |
> { |
64 |
> printf("Hello World!\n"); |
65 |
> return 0; |
66 |
> } |
67 |
> |
68 |
> |
69 |
> And then run the following commands: |
70 |
> |
71 |
> gcc test.c -o test |
72 |
> ./test |
73 |
> |
74 |
> If you see a Hello World! output, then your C compiler is working fine. If |
75 |
> this is the case, then you need to do as the original error message |
76 |
> specifies - check the config.log file. It should be located at |
77 |
> /var/tmp/portage/dev-lang/php- 5.2.5-r1/work/php-5.2.5/config.log |
78 |
> |
79 |
> config.log files can be a little confusing to read through if you're not |
80 |
> used to them, but you'll just want to start at the bottom and work your way |
81 |
> up, until you find any error messages - or, you can post your config.log |
82 |
> file, and someone can help you out with it. |
83 |
> |
84 |
> HTH- |
85 |
> |
86 |
> James |
87 |
> |
88 |
> |
89 |
> |
90 |
> |
91 |
> |
92 |
> |
93 |
> |
94 |
> |
95 |
> |
96 |
> gcc-config -l |
97 |
> [1] i686-pc-linux-gnu-3.3.4 |
98 |
> |
99 |
> [2] i686-pc-linux-gnu-3.4.4 * |
100 |
> [3] i686-pc-linux-gnu-3.4.4-hardened |
101 |
> [4] i686-pc-linux-gnu-3.4.4-hardenednopie |
102 |
> [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp |
103 |
> [6] i686-pc-linux-gnu-3.4.4-hardenednossp |
104 |
> |
105 |
> Thanks-a-bunch |
106 |
> |
107 |
> |
108 |
> -----Original Message----- |
109 |
> From: Alan McKinnon [mailto:alan.mckinnon@×××××.com ] |
110 |
> Sent: Sunday, January 06, 2008 1:51 AM |
111 |
> To: gentoo-user@l.g.o |
112 |
> |
113 |
> Subject: Re: [gentoo-user] unable to emerge anything... |
114 |
> |
115 |
> On Saturday 05 January 2008, Richard Torres wrote: |
116 |
> > Alan, |
117 |
> > Thanks for that. It's funny you should mention python, I just |
118 |
> > inadvertently unmerged it (doh...). I've got another gentoo box |
119 |
> > running a newer version of gcc and a newer kernel. Do you think I can |
120 |
> > get what I need out of it? |
121 |
> |
122 |
> Yes, you should be able to use that. Python is SLOTted, so even if your |
123 |
> other box is using a different SLOT, you can emerge the version you |
124 |
> need, quickpkg it, copy it over to the first machine and unpack it |
125 |
> there. |
126 |
> |
127 |
> quickpkg's are just tarballs so you can even use good old tar and |
128 |
> bunzip2 if you managed to go to the next step of dohness and unmerge |
129 |
> portage as well :-) |
130 |
> |
131 |
> btw, how did you manage to unmerge python? That's in system and portage |
132 |
> usually goes to great lengths to prevent you doing just that |
133 |
> |
134 |
> alan |
135 |
> |
136 |
> > Thanks for your help, |
137 |
> > -Richard |
138 |
> > |
139 |
> > ----- Original Message ---- |
140 |
> > From: Alan McKinnon <alan.mckinnon@×××××.com> |
141 |
> > To: gentoo-user@l.g.o |
142 |
> > Sent: Saturday, January 5, 2008 2:25:52 AM |
143 |
> > Subject: Re: [gentoo-user] unable to emerge anything... |
144 |
> > |
145 |
> > On Saturday 05 January 2008, Richard Torres wrote: |
146 |
> > > I'm getting pretty much the same error (C compiler cannot create |
147 |
> > > executables). I'm pretty sure it's because gcc-3.3.4 is installed. |
148 |
> > > I've tried upgrading gcc by emerging but get the same error |
149 |
> > > (catch-22 situation). Here's the last part of the error log which |
150 |
> > > is the same with anything I try to emerge. |
151 |
> > |
152 |
> > A quickpkg of gcc might help you out of this, it's about 7M or so so |
153 |
> > small enough to mail to you. Perhaps some kind soul here with similar |
154 |
> > settings to you can send their tbz2 of gcc-3.3.6.x |
155 |
> > |
156 |
> > Alternatively, you might be able to unpack a working gcc tarball from |
157 |
> > a |
158 |
> > |
159 |
> > stage 3 onto your system and use that |
160 |
> > |
161 |
> > It doesn't help you right now, but I've managed to screw up enough |
162 |
> > gentoo systems enough times that I now keep quickpkg copies of known |
163 |
> > good working critical packages in $PKGDIR - minimally gcc, glibc, |
164 |
> > python, portage, tar and a shell |
165 |
> > |
166 |
> > alan |
167 |
> > |
168 |
> > -- |
169 |
> > Alan McKinnon |
170 |
> > alan dot mckinnon at gmail dot com |
171 |
> |
172 |
> -- |
173 |
> Alan McKinnon |
174 |
> alan dot mckinnon at gmail dot com |
175 |
> -- |
176 |
> gentoo-user@l.g.o mailing list |
177 |
> |
178 |
> -- |
179 |
> gentoo-user@l.g.o mailing list |
180 |
-- |
181 |
gentoo-user@l.g.o mailing list |