Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new (to me) error when compiling kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rabcor
Apprentice
Apprentice


Joined: 05 Apr 2012
Posts: 200

PostPosted: Sat Sep 22, 2012 10:02 am    Post subject: new (to me) error when compiling kernel Reply with quote

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
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1690

PostPosted: Sat Sep 22, 2012 10:47 am    Post subject: Reply with quote

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
View user's profile Send private message
rabcor
Apprentice
Apprentice


Joined: 05 Apr 2012
Posts: 200

PostPosted: Sat Sep 22, 2012 11:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9009

PostPosted: Sat Sep 22, 2012 3:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7810
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Sep 22, 2012 4:43 pm    Post subject: Reply with quote

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
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum