Unable to find kernel sources at /usr/src/linux

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Unable to find kernel sources at /usr/src/linux

Postby offensive_jerk » Thu Dec 07, 2006 19:49

Well I figured out how to dual boot osx and sabayon on my macbook, but now when I try and emerge kismet i get the following error:

degenx andy # emerge kismet
Calculating dependencies... done!

>>> Emerging (1 of 1) net-wireless/kismet-2006.04.1 to /
* kismet-2006-04-R1.tar.gz MD5 ;-) ... [ ok ] * kismet-2006-04-R1.tar.gz RMD160 ;-) ... [ ok ] * kismet-2006-04-R1.tar.gz SHA1 ;-) ... [ ok ] * kismet-2006-04-R1.tar.gz SHA256 ;-) ... [ ok ] * kismet-2006-04-R1.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking kismet-2006-04-R1.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code
* Unable to find kernel sources at /usr/src/linux
* This package requires Linux sources.
* Please make sure that /usr/src/linux points at your running kernel,
* (or the kernel you wish to build against).
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location

!!! ERROR: net-wireless/kismet-2006.04.1 failed.
Call stack:
ebuild.sh, line 1585: Called dyn_setup
ebuild.sh, line 666: Called pkg_setup
ebuild.sh, line 1262: Called linux-info_pkg_setup
linux-info.eclass, line 554: Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if relevant.

degenx andy # cd /usr/src/linux
bash: cd: /usr/src/linux: No such file or directory


Any suggestions?
offensive_jerk
Baby Hen
 
Posts: 5
Joined: Thu Dec 07, 2006 4:31

Postby Appleman1234 » Thu Dec 07, 2006 20:51

Use ls - l /usr/src or emerge gentoo-sources -pv to check if you have gentoo-sources installed, if not, then install them.
Image
Appleman1234
Old Dear Hen
 
Posts: 964
Joined: Mon Nov 27, 2006 9:48
Location: Land Down Under / Australia

Postby wolfden » Thu Dec 07, 2006 20:52

Use the search, this question has been answered a million times

Please see
http://www.sabayonlinux.org/forum/viewtopic.php?t=1730
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby cvill64 » Thu Dec 07, 2006 22:09

are you running through boot camp? or did you figure out a native way to dual boot? I'd like to know how you are :D
cvill64
Sagely Hen
 
Posts: 2185
Joined: Fri Dec 30, 2005 10:03
Location: Virginia, USA

Postby offensive_jerk » Fri Dec 08, 2006 19:41

cvill64 wrote:are you running through boot camp? or did you figure out a native way to dual boot? I'd like to know how you are :D


No, I used bootcamp and rEFIt.
Here is the Thread where I explain how I did it.
http://www.sabayonlinux.org/forum/viewtopic.php?t=2527
offensive_jerk
Baby Hen
 
Posts: 5
Joined: Thu Dec 07, 2006 4:31


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests