View previous topic :: View next topic |
Author |
Message |
rabcor Apprentice
Joined: 05 Apr 2012 Posts: 200
|
Posted: Sat Sep 22, 2012 10:02 am Post subject: new (to me) error when compiling kernel |
|
|
i've reinstalled this gentoo pretty many times over the last few days....
i'm fairly certain i didn't do anything wrong, or different than usual up to this point... now heres what i get on
make && make modules_install
Code: | make[1]: Nothing to be done for ´all'.
make[1]: Nothing to be done for ´relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
MKCAP arch/x86/kernel/cpu/capflags.c
/bin/sh: perl: command not found
make[3]: *** [arch/x86/kernel/cpu/capflags.c] Error 127
make[3]: *** [arch/x86/kernel/cpu] Error 2
make: *** [arch/x86/kernel] Error 2 |
Genkernel gives the same error pretty much, then says ERROR: Failed to compile the "bzImage" target...
this is very short into the compiling too, so short i can nscroll up to where genkernel started. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sat Sep 22, 2012 10:47 am Post subject: |
|
|
This has come up before, fairly recently - apparently you need to emerge perl
before building the kernel, hence the "perl not found" error message.
(Perl used to be part of the standard image, but for some reason was dropped
a little while ago).
Will |
|
Back to top |
|
|
rabcor Apprentice
Joined: 05 Apr 2012 Posts: 200
|
Posted: Sat Sep 22, 2012 11:07 am Post subject: |
|
|
Aw... poor perl =(
but thats weird... because i just did this install like... multiple times.. over the last few days (including today) wonder why it'd pop up so randomly now.
It's working now, Thanks! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sat Sep 22, 2012 3:55 pm Post subject: |
|
|
Perhaps in your prior installations, you installed a package that explicitly required Perl, so Portage would have installed Perl for you before you reached the kernel setup stage. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat Sep 22, 2012 4:43 pm Post subject: |
|
|
What sources are you trying to build? gentoo-sources depends on dev-lang/perl (through the inherited kernel-2 eclass) so it should've been pulled in when you emerged that. Is it possible that you're building old kernel sources that were left behind from an aborted install?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|