Gentoo Archives: gentoo-user

From: Samuraiii <samurai.no.dojo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Broken GCC
Date: Fri, 07 Sep 2012 15:58:37
Message-Id: 504A1929.4080505@gmail.com
In Reply to: Re: [gentoo-user] Broken GCC by Andrey Moshbear
1 On 2012-09-07 17:37, Andrey Moshbear wrote:
2 > On Fri, Sep 7, 2012 at 7:04 AM, William Kenworthy <billk@×××××××××.au> wrote:
3 >> On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote:
4 >>>
5 >>> On 2012-09-07 11:49, Andrey Moshbear wrote:
6 >>>
7 >>>> On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear <andrey.vul@×××××.com> wrote:
8 >>>>> On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii <samurai.no.dojo@×××××.com> wrote:
9 >>>>>> Hello
10 >>>>>> yesterday I probably broke my GCC
11 >>>>>>
12 >>>>>> Problem is following:
13 >>>>>> When i try to emerge ANY package it fails with this :
14 >>>>>>
15 >>>>>> checking whether the C compiler works... yes
16 >>>>>> checking for C compiler default output file name... a.out
17 >>>>>> checking for suffix of executables...
18 >>>>>> checking whether we are cross compiling... configure: error: in
19 >>>>>> `/tmp/portage/www-client/links-2.6/work/links-2.6':
20 >>>>>> configure: error: cannot run C compiled programs.
21 >>>>>> If you meant to cross compile, use `--host'.
22 >>>>>> See `config.log' for more details
23 >>>>> Can you post the contents of config.log to a pastebin and link to it in a reply?
24 >>>> Specifically, .../portage/www-client/links-2.6/work/links-2.6/config.log
25 >>>>
26 >>> Here it is http://pastebin.com/s59mU9fm
27 >>>
28 >>> --
29 >>> Samuraiii
30 >>> e-mail: samurai.no.dojo@×××××.com
31 >>> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
32 >>> Full copy of public timestamp block signatures id-15719 (from
33 >>> 2012-09-07 06:00:07) is included in header of html.
34 >>
35 >> conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission
36 >> denied
37 >>
38 > Indeed. The question here is what's more concerning: the use of
39 > /usr/local in the default gcc arguments or not having root:root 644
40 > for the files in a global include dir.
41 >
42 I was thinkig if its possible to "half-reinstall" system by preserving
43 (read making backup) my hand modified config and then download stage3
44 untar it to / (from live cd) , restore config, sync, emerge -NuDe @world
45 and reboot?
46 --
47 Samuraiii
48 e-mail: samurai.no.dojo@×××××.com <mailto:samurai.no.dojo@×××××.com>
49 GnuPG key ID: 0x80C752EA
50 <http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EA&op=vindex&fingerprint=on&exact=on>
51 (obtainable on http://pgp.mit.edu)
52 Full copy of public timestamp block <http://publictimestamp.org>
53 signatures id- (from ) is included in header of html.

Attachments

File name MIME type
bg-linky.gif image/gif
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Broken GCC Michael Mol <mikemol@×××××.com>