maillog: 21/09/2005-10:27:21(+0200): Paul de Vrieze types > On Wednesday 21 September 2005 09:42, Georgi Georgiev wrote: > > > > * 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 > > I kindof wonder why it doesn't try the sources of the running kernel. They > are easilly found at "/lib/modules/`uname -v`/build". Of course as a > final result as someone might want to build against different sources, > but it's a better fallback than an error message.
Well, this is not exactly on topic, but packages should not assume they are compiling against the running kernel (be it a fallback or not). After a kernel upgrade I usually remerge all the stuff listed in /var/lib/modules-rebuild/ *before* restarting. There is also a reasonable workaround -- set KERNEL_DIR to the proper location of the sources. However, in my case I do not have the sources anywhere (nor I need them) and I do not have /lib/modules either. -- (* Georgi Georgiev (* If it pours before seven, it has rained by (* *) [EMAIL PROTECTED] *) eleven. *) (* +81(90)2877-8845 (* (*
pgpzI8Z8lA2Le.pgp
Description: PGP signature
