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