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

Re: Where to put the source of kernel ??



On Fri, Jan 02, 2009 at 04:20:24PM +0100, Abdelkader Belahcene wrote:
> Hi,
> I want to install gspcav1 (version 20071224)  from http://
> mxhaard.free.fr/spca50x/Download,
> which is a source package for set of webcam drivers.

  aptitude install gspca-modules-`uname -r`

Alternatively, 

  aptitude install module-assistant
  m-a a-i gspca

>  
> the built file, gspca_build,  contains the folowing lines:
> 
> KERNELVER=`uname -r`
> SRCDIR=/lib/modules/$KERNELVER/build
> 
> if [ ! -d $SRCDIR/include/linux ]; then
> echo -e '\E[31;44m'
> echo -e '\E[1m FATAL you need to install the Kernel Source for your
> running kernel\E[0m'
> exit 1
> fi
> 
> 
> It seraches for the kernel source in /lib/modules......
> I install the kernel source it is in /usr/src
> 
> so when I ran  gspca_build, it didn't find my source!!!??

Note that you need it here, but:

  aptitude install-headers-`uname -r`

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: