1 |
You did do |
2 |
|
3 |
sudo chown -R $(whoami) /usr/local |
4 |
? |
5 |
|
6 |
On Mon, Jul 30, 2018 at 2:13 PM, Martin Vaeth <martin@×××××.de> wrote: |
7 |
|
8 |
> Akater <nuclearspace@×××××.com> wrote: |
9 |
> > |
10 |
> >> configure:3753: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe |
11 |
> >> -Wl,-O1 -Wl,--as-needed conftest.c >&5 |
12 |
> |
13 |
> This should succeed. So the problem is probably this: |
14 |
> |
15 |
> >> cc1: fatal error: /usr/local/include/stdc-predef.h: Permission denied |
16 |
> |
17 |
> It seems that you have this file but that it is not readable |
18 |
> by user/group portage:portage. |
19 |
> |
20 |
> The main question is: Why do you have something in /usr/local/ at all? |
21 |
> If you did not install anything outside of portage, this directory |
22 |
> should be empty (up to some perhaps empty directories). |
23 |
> |
24 |
> So "normally" the correct solution would be to clean up /usr/local/. |
25 |
> Of course, if you intentionally installed something there, this |
26 |
> might be wrong. But your problem is very likely caused by this. |
27 |
> |
28 |
> |
29 |
> |