Gavi
31st July 2008, 12:29 PM
I have installed Fedora 9 and am now trying to install the latest sound driver from Alsa because understand it supports my sound card whereas the version currently installed doe not. When I run "sudo ./configure" I get --
checking for directory with kernel source... ./configure: line 4685: cd: /lib/modules/2.6.25-14.fc9.i686/source: No such file or directory
/lib/modules/2.6.25-14.fc9.i686/source
checking for directory with kernel build... /lib/modules/2.6.25-14.fc9.i686/build
checking for kernel linux/version.h... no
The file /include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.25-14.fc9.i686/source).
After some investigation I discover that the Kernel source package no longer is included in the Fedora distribution, so I found the package kernel-2.6.25-14.fc9.src.rpm and downloaded it. I figured I could install it with yum, so going to the directory where the package file I tried --
yum localinstall kernel-2.6.25-14.fc9.src.rpm
This produced --
[Loaded plugins: refresh-packagekit
Setting up Local Package Process
Examining kernel-2.6.25-14.fc9.src.rpm: kernel-2.6.25-14.fc9.src
Cannot add package kernel-2.6.25-14.fc9.src.rpm to transaction. Not a compatible architecture: src
So then I tried
rpm -Uh kernel-2.6.25-14.fc9.src.rpm
and got about 50 repetitions of the message:
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
I also got what seemed to be a progress indication:
########################################### [100%]
But it happened and exited (took about 1 second to install the kernel source????) that I suspected it really didn't do anything and I cannot find the source anywhere. There is still no /lib/modules/2.6.25-14.fc9.i686/source directory and I cannot find it elsewhere.
How do I get the kernel source installed with yum, or rpm, or anything else that will work?? I am pretty new to Linux, trying to wean myself away from Microsoft. Any help doing so is much appreciated.
checking for directory with kernel source... ./configure: line 4685: cd: /lib/modules/2.6.25-14.fc9.i686/source: No such file or directory
/lib/modules/2.6.25-14.fc9.i686/source
checking for directory with kernel build... /lib/modules/2.6.25-14.fc9.i686/build
checking for kernel linux/version.h... no
The file /include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.25-14.fc9.i686/source).
After some investigation I discover that the Kernel source package no longer is included in the Fedora distribution, so I found the package kernel-2.6.25-14.fc9.src.rpm and downloaded it. I figured I could install it with yum, so going to the directory where the package file I tried --
yum localinstall kernel-2.6.25-14.fc9.src.rpm
This produced --
[Loaded plugins: refresh-packagekit
Setting up Local Package Process
Examining kernel-2.6.25-14.fc9.src.rpm: kernel-2.6.25-14.fc9.src
Cannot add package kernel-2.6.25-14.fc9.src.rpm to transaction. Not a compatible architecture: src
So then I tried
rpm -Uh kernel-2.6.25-14.fc9.src.rpm
and got about 50 repetitions of the message:
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
I also got what seemed to be a progress indication:
########################################### [100%]
But it happened and exited (took about 1 second to install the kernel source????) that I suspected it really didn't do anything and I cannot find the source anywhere. There is still no /lib/modules/2.6.25-14.fc9.i686/source directory and I cannot find it elsewhere.
How do I get the kernel source installed with yum, or rpm, or anything else that will work?? I am pretty new to Linux, trying to wean myself away from Microsoft. Any help doing so is much appreciated.