* [gentoo-user] uninstalled linux-headers
@ 2013-05-16 12:38 Tamer Higazi
2013-05-16 12:46 ` Neil Bothwick
0 siblings, 1 reply; 9+ messages in thread
From: Tamer Higazi @ 2013-05-16 12:38 UTC (permalink / raw
To: gentoo-user
Hi people!
I uninstalled the linux-headers and the kernel-sources by accident, how
can I install then again?! Any ideas?!
I tried, but got at the linux-headers problems.....
I have a linux-rescuecd on a usb stick, might it work over that way ?!
Tamer
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] uninstalled linux-headers
2013-05-16 12:38 [gentoo-user] uninstalled linux-headers Tamer Higazi
@ 2013-05-16 12:46 ` Neil Bothwick
2013-05-16 12:53 ` Michael Hampicke
0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2013-05-16 12:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
On Thu, 16 May 2013 14:38:55 +0200, Tamer Higazi wrote:
> I uninstalled the linux-headers and the kernel-sources by accident, how
> can I install then again?! Any ideas?!
emerge -1 linux-headers gentoo-sources
zcat /proc/config.gz >/usr/src/linux/.config
> I tried, but got at the linux-headers problems.....
How is anybody supposed to answer that? You tried something but you don't
say what and it gave a problem, which you also keep to yourself. If you
want helpful answers, you have to ask helpful questions.
--
Neil Bothwick
Fill what's empty, empty what's full, scratch where it itches.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] uninstalled linux-headers
2013-05-16 12:46 ` Neil Bothwick
@ 2013-05-16 12:53 ` Michael Hampicke
2013-05-16 13:16 ` Tamer Higazi
2013-05-16 13:22 ` Neil Bothwick
0 siblings, 2 replies; 9+ messages in thread
From: Michael Hampicke @ 2013-05-16 12:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3029 bytes --]
Am 16.05.2013 14:46, schrieb Neil Bothwick:
> On Thu, 16 May 2013 14:38:55 +0200, Tamer Higazi wrote:
>
>> I uninstalled the linux-headers and the kernel-sources by accident, how
>> can I install then again?! Any ideas?!
>
> emerge -1 linux-headers gentoo-sources
>
It just tried that, out of curiosity:
I uninstalled linux-headers, and while trying to reinstall them, I get
this error:
>>> Install linux-headers-3.9 into
/var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
make -j5 headers_install
INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
WRAP arch/x86/include/generated/asm/clkdev.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
HOSTCC arch/x86/tools/relocs
In file included from /usr/include/errno.h:35:0,
from arch/x86/tools/relocs.c:6:
/usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
file or directory
compilation terminated.
make[1]: *** [arch/x86/tools/relocs] Error 1
make: *** [archscripts] Error 2
make: *** Waiting for unfinished jobs....
emake failed
* ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_install
* environment, line 2830: Called kernel-2_src_install
* environment, line 2006: Called install_headers
* environment, line 1895: Called die
* The specific snippet of code:
* emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/..
${xmakeopts} || die;
*
* If you need support, post the output of `emerge --info
'=sys-kernel/linux-headers-3.9'`,
* the complete build log and the output of `emerge -pqv
'=sys-kernel/linux-headers-3.9'`.
* The complete build log is located at
'/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
* Working directory:
'/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
* S:
'/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
Luckily, I qpkg'ed linux-headers before.
Maybe you can try installing a binary package of linux-headers from
tinderbox? http://tinderbox.dev.gentoo.org/
> zcat /proc/config.gz >/usr/src/linux/.config
>
>> I tried, but got at the linux-headers problems.....
>
> How is anybody supposed to answer that? You tried something but you don't
> say what and it gave a problem, which you also keep to yourself. If you
> want helpful answers, you have to ask helpful questions.
>
true
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] uninstalled linux-headers
2013-05-16 12:53 ` Michael Hampicke
@ 2013-05-16 13:16 ` Tamer Higazi
2013-05-16 13:20 ` Tamer Higazi
2013-05-16 13:24 ` [gentoo-user] " Neil Bothwick
2013-05-16 13:22 ` Neil Bothwick
1 sibling, 2 replies; 9+ messages in thread
From: Tamer Higazi @ 2013-05-16 13:16 UTC (permalink / raw
To: gentoo-user
Hi Michael,
Nope, I don't get them there.....
1st question) where are the headers installed at all?!
2nd) where are the headers already compiled to get?!
Tamer
>
>>>> Install linux-headers-3.9 into
> /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
> make -j5 headers_install
> INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
> ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
> CHK include/generated/uapi/linux/version.h
> UPD include/generated/uapi/linux/version.h
> WRAP arch/x86/include/generated/asm/clkdev.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
> SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
> HOSTCC arch/x86/tools/relocs
> In file included from /usr/include/errno.h:35:0,
> from arch/x86/tools/relocs.c:6:
> /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
> file or directory
> compilation terminated.
> make[1]: *** [arch/x86/tools/relocs] Error 1
> make: *** [archscripts] Error 2
> make: *** Waiting for unfinished jobs....
> emake failed
> * ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
> * (no error message)
> *
> * Call stack:
> * ebuild.sh, line 93: Called src_install
> * environment, line 2830: Called kernel-2_src_install
> * environment, line 2006: Called install_headers
> * environment, line 1895: Called die
> * The specific snippet of code:
> * emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/..
> ${xmakeopts} || die;
> *
> * If you need support, post the output of `emerge --info
> '=sys-kernel/linux-headers-3.9'`,
> * the complete build log and the output of `emerge -pqv
> '=sys-kernel/linux-headers-3.9'`.
> * The complete build log is located at
> '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
> * The ebuild environment file is located at
> '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
> * Working directory:
> '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
> * S:
> '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
>
>
> Luckily, I qpkg'ed linux-headers before.
>
> Maybe you can try installing a binary package of linux-headers from
> tinderbox? http://tinderbox.dev.gentoo.org/
>
>> zcat /proc/config.gz >/usr/src/linux/.config
>>
>>> I tried, but got at the linux-headers problems.....
>>
>> How is anybody supposed to answer that? You tried something but you don't
>> say what and it gave a problem, which you also keep to yourself. If you
>> want helpful answers, you have to ask helpful questions.
>>
>
> true
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] uninstalled linux-headers
2013-05-16 13:16 ` Tamer Higazi
@ 2013-05-16 13:20 ` Tamer Higazi
2013-05-16 13:42 ` [gentoo-user] " Nikos Chantziaras
2013-05-16 13:24 ` [gentoo-user] " Neil Bothwick
1 sibling, 1 reply; 9+ messages in thread
From: Tamer Higazi @ 2013-05-16 13:20 UTC (permalink / raw
To: gentoo-user
Michael!
You didn't get my question.... Where does Gentoo install the
linux-headers, after compilining on the system?!
Tamer
Am 16.05.2013 15:16, schrieb Tamer Higazi:
> Hi Michael,
> Nope, I don't get them there.....
>
>
> 1st question) where are the headers installed at all?!
> 2nd) where are the headers already compiled to get?!
>
>
> Tamer
>
>
>>
>>>>> Install linux-headers-3.9 into
>> /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
>> make -j5 headers_install
>> INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
>> ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
>> CHK include/generated/uapi/linux/version.h
>> UPD include/generated/uapi/linux/version.h
>> WRAP arch/x86/include/generated/asm/clkdev.h
>> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
>> SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
>> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
>> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
>> HOSTCC arch/x86/tools/relocs
>> In file included from /usr/include/errno.h:35:0,
>> from arch/x86/tools/relocs.c:6:
>> /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
>> file or directory
>> compilation terminated.
>> make[1]: *** [arch/x86/tools/relocs] Error 1
>> make: *** [archscripts] Error 2
>> make: *** Waiting for unfinished jobs....
>> emake failed
>> * ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
>> * (no error message)
>> *
>> * Call stack:
>> * ebuild.sh, line 93: Called src_install
>> * environment, line 2830: Called kernel-2_src_install
>> * environment, line 2006: Called install_headers
>> * environment, line 1895: Called die
>> * The specific snippet of code:
>> * emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/..
>> ${xmakeopts} || die;
>> *
>> * If you need support, post the output of `emerge --info
>> '=sys-kernel/linux-headers-3.9'`,
>> * the complete build log and the output of `emerge -pqv
>> '=sys-kernel/linux-headers-3.9'`.
>> * The complete build log is located at
>> '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
>> * The ebuild environment file is located at
>> '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
>> * Working directory:
>> '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
>> * S:
>> '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
>>
>>
>> Luckily, I qpkg'ed linux-headers before.
>>
>> Maybe you can try installing a binary package of linux-headers from
>> tinderbox? http://tinderbox.dev.gentoo.org/
>>
>>> zcat /proc/config.gz >/usr/src/linux/.config
>>>
>>>> I tried, but got at the linux-headers problems.....
>>>
>>> How is anybody supposed to answer that? You tried something but you don't
>>> say what and it gave a problem, which you also keep to yourself. If you
>>> want helpful answers, you have to ask helpful questions.
>>>
>>
>> true
>>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] uninstalled linux-headers
2013-05-16 12:53 ` Michael Hampicke
2013-05-16 13:16 ` Tamer Higazi
@ 2013-05-16 13:22 ` Neil Bothwick
1 sibling, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2013-05-16 13:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]
On Thu, 16 May 2013 14:53:50 +0200, Michael Hampicke wrote:
> > emerge -1 linux-headers gentoo-sources
> >
>
> It just tried that, out of curiosity:
>
> I uninstalled linux-headers, and while trying to reinstall them, I get
> this error:
>
> >>> Install linux-headers-3.9 into
> /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
> make -j5 headers_install
> INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
> ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
> CHK include/generated/uapi/linux/version.h
> UPD include/generated/uapi/linux/version.h
> WRAP arch/x86/include/generated/asm/clkdev.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
> SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
> HOSTCC arch/x86/tools/relocs
> In file included from /usr/include/errno.h:35:0,
> from arch/x86/tools/relocs.c:6:
> /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
> file or directory
> compilation terminated.
There's a linux/errno.h in the kernel sources, maybe they need to be
emerged first.
--
Neil Bothwick
"He's dead, Jim. You get his phaser, I'll grab his wallet."
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] uninstalled linux-headers
2013-05-16 13:16 ` Tamer Higazi
2013-05-16 13:20 ` Tamer Higazi
@ 2013-05-16 13:24 ` Neil Bothwick
1 sibling, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2013-05-16 13:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
On Thu, 16 May 2013 15:16:51 +0200, Tamer Higazi wrote:
> Hi Michael,
> Nope, I don't get them there.....
So WTF do you get? This is a help list not a game of twenty questions.
And please don't top-post on this list.
--
Neil Bothwick
Exercise daily. Eat wisely. Die anyway.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: uninstalled linux-headers
2013-05-16 13:20 ` Tamer Higazi
@ 2013-05-16 13:42 ` Nikos Chantziaras
2013-05-16 13:59 ` Tamer Higazi
0 siblings, 1 reply; 9+ messages in thread
From: Nikos Chantziaras @ 2013-05-16 13:42 UTC (permalink / raw
To: gentoo-user
On 16/05/13 16:20, Tamer Higazi wrote:
> Where does Gentoo install the
> linux-headers, after compilining on the system?!
They are installed in:
/usr/include/asm-generic
/usr/include/mtd
/usr/include/linux
/usr/include/asm
there is no compilation going on; these are just headers.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: uninstalled linux-headers
2013-05-16 13:42 ` [gentoo-user] " Nikos Chantziaras
@ 2013-05-16 13:59 ` Tamer Higazi
0 siblings, 0 replies; 9+ messages in thread
From: Tamer Higazi @ 2013-05-16 13:59 UTC (permalink / raw
To: gentoo-user
Hi Nikos!
That was it.... thank you very much for your support.
I took the latest amd stage3 from a mirror and copied the folders
content on my linux system.
After then I remerged linux-headers. of course gentoo found a lots of
file collisions, but then merged at last the package.
Tamer
Am 16.05.2013 15:42, schrieb Nikos Chantziaras:
> On 16/05/13 16:20, Tamer Higazi wrote:
>> Where does Gentoo install the
>> linux-headers, after compilining on the system?!
>
> They are installed in:
>
> /usr/include/asm-generic
> /usr/include/mtd
> /usr/include/linux
> /usr/include/asm
>
> there is no compilation going on; these are just headers.
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-05-16 13:59 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16 12:38 [gentoo-user] uninstalled linux-headers Tamer Higazi
2013-05-16 12:46 ` Neil Bothwick
2013-05-16 12:53 ` Michael Hampicke
2013-05-16 13:16 ` Tamer Higazi
2013-05-16 13:20 ` Tamer Higazi
2013-05-16 13:42 ` [gentoo-user] " Nikos Chantziaras
2013-05-16 13:59 ` Tamer Higazi
2013-05-16 13:24 ` [gentoo-user] " Neil Bothwick
2013-05-16 13:22 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox