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

Re: alsa-sources broken



christophe barbé wrote:

> I've apt-get alsa-sources-0.5
> I use a 2.2.19 compiled on my host.
> I go under /usr/src/modules/alsa-driver-0.5-0.5.10b-8..
> And if I do ./debian/rules binary-modules
> I got errors, first because I need to set
>         export KSRC=/usr/src/linux
>         export KVERS=2.2.19
> in debian/rules, and after that I have the following error :
> sh debian/modules-tools.d/setvers.sh
> Error: Need to set all the $KVERS, $KDREV.
> make: *** [binary-modules] Error 1
>
> Where comes the problem from ? Should I use an another method ?
> Or the package is broken ?
>

Try using "kernel-package" to compile the alsa source, you need also the source
of the kernel (can use the source from kernel.org or the source from a debian
package, you compiled yourself, so you don't need to download again =), and
last, i suggest you to untar the sources in another directory instead of
/usr/src/linux (for example in your home dir, or under  /usr/local).

You will find all the instructions in
/usr/share/doc/alsa-source/README.Debian.gz or looking in this mail-list
archive...


Andrea



Reply to: