1 |
On Fri, Sep 7, 2012 at 11:56 AM, Samuraiii <samurai.no.dojo@×××××.com> wrote: |
2 |
> |
3 |
> |
4 |
> |
5 |
> On 2012-09-07 17:37, Andrey Moshbear wrote: |
6 |
> |
7 |
> On Fri, Sep 7, 2012 at 7:04 AM, William Kenworthy <billk@×××××××××.au> |
8 |
> wrote: |
9 |
> |
10 |
> On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote: |
11 |
> |
12 |
> On 2012-09-07 11:49, Andrey Moshbear wrote: |
13 |
> |
14 |
> On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear <andrey.vul@×××××.com> |
15 |
> wrote: |
16 |
> |
17 |
> On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii <samurai.no.dojo@×××××.com> wrote: |
18 |
> |
19 |
> Hello |
20 |
> yesterday I probably broke my GCC |
21 |
> |
22 |
> Problem is following: |
23 |
> When i try to emerge ANY package it fails with this : |
24 |
> |
25 |
> checking whether the C compiler works... yes |
26 |
> checking for C compiler default output file name... a.out |
27 |
> checking for suffix of executables... |
28 |
> checking whether we are cross compiling... configure: error: in |
29 |
> `/tmp/portage/www-client/links-2.6/work/links-2.6': |
30 |
> configure: error: cannot run C compiled programs. |
31 |
> If you meant to cross compile, use `--host'. |
32 |
> See `config.log' for more details |
33 |
> |
34 |
> Can you post the contents of config.log to a pastebin and link to it in a |
35 |
> reply? |
36 |
> |
37 |
> Specifically, .../portage/www-client/links-2.6/work/links-2.6/config.log |
38 |
> |
39 |
> Here it is http://pastebin.com/s59mU9fm |
40 |
> |
41 |
> -- |
42 |
> Samuraiii |
43 |
> e-mail: samurai.no.dojo@×××××.com |
44 |
> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu) |
45 |
> Full copy of public timestamp block signatures id-15719 (from |
46 |
> 2012-09-07 06:00:07) is included in header of html. |
47 |
> |
48 |
> conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission |
49 |
> denied |
50 |
> |
51 |
> Indeed. The question here is what's more concerning: the use of |
52 |
> /usr/local in the default gcc arguments or not having root:root 644 |
53 |
> for the files in a global include dir. |
54 |
> |
55 |
> I was thinkig if its possible to "half-reinstall" system by preserving (read |
56 |
> making backup) my hand modified config and then download stage3 untar it to |
57 |
> / (from live cd) , restore config, sync, emerge -NuDe @world and reboot? |
58 |
|
59 |
I've done that, and it can work, but you're probably better off |
60 |
reinstalling gcc via binpkgs. Someone probably has a repository that |
61 |
matches your configuration enough for the purpose. |
62 |
|
63 |
-- |
64 |
:wq |