[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing Debian (Potato) did not install kernel source...



On Fri, Nov 10, 2000 at 03:52:17AM +0000, iwrigb@tpg.com.au wrote:
> Hi,
>   I have just switched from RH to debian, and in the process of 
> trying to compile nvidia and creative drivers have discovered that 
> the kernel source was not installed. (Due to the fact that the 
> drivers could not find moduleversions.h) Is this the usual behavior 
> for Debian installs, or did I miss something? 
> 
> Regardless, how should I get the kernel source installed and in synch 
> with my current kernel? Will "apt-get source kernel" do the trick? If 
> so will I then just need to do a "make dep" to allow me to build the 
> drivers? (I am yet to do a kernel re-compile, so I am a little bit 
> green in these matters ATM)

If all you need are headers to compile against then:

apt-get install kernel-headers-2.2.17

If you want full source, then:

apt-get install kernel-source-2.2.17

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: