Summary: | I can no longer upgrade Portage! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Antonio D'souza <gentoo> |
Component: | New packages | Assignee: | Daniel Robbins (RETIRED) <drobbins> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | gentoo |
Priority: | High | ||
Version: | 1.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
It looks like you removed your linux-headers? I did, in fact, remove them. I version I had was for the 2.4.18 kernel but I am uisng the 2.4.19 kernel. However, there does not appear to be a kernel-sources ebuild for 2.4.19. Does that kernel just use the same headers as 2.4.19 then? Installing the linux-headers ebuild solved the problem. |
When I try, I get this error: >>> emerge sys-apps/portage-2.0.13 to / >>> Unpacking source... >>> Source unpacked. In file included from /usr/include/errno.h:36, from tbz2tool.c:5: /usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory <snip> In file included from /usr/include/bits/posix1_lim.h:126, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/limits.h:132, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/syslimits.h:7, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/limits.h:11, from sandbox.c:24: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory sandbox.c: In function `main': sandbox.c:343: `PATH_MAX' undeclared (first use in this function) sandbox.c:343: (Each undeclared identifier is reported only once sandbox.c:343: for each function it appears in.) sandbox.c:452: `ENOENT' undeclared (first use in this function) sandbox.c:460: `EACCES' undeclared (first use in this function) make: *** [sandbox] Error 1