[OpenAFS] Install help
Derrick J Brashear
shadow@dementia.org
Fri, 25 Jan 2002 22:19:31 -0500 (EST)
A private answer suggesting a local place to get the 2.4.9-13 update RPM
was sent, but just for the record:
On Fri, 25 Jan 2002, John Davin wrote:
> [jdavin@jdavin ~]$ klog
> Password:
> Unable to authenticate to AFS because a pioctl failed.
Symptomatic of AFS not running.
> Also, I have my kernel headers install I think... in /usr/include/linux/.
> But when I run ./configure with
> --with-linux-kernel-headers=/usr/include/linux , it says that they're not
> valid kernel headers.
ls /usr/include/linux/asm
I bet you get "not found", because that's not really what you want.
> Also, I got ./configure to work with the sources (without using the kernel
> headers) but make doesn't work. Make gives these errors:
The error looks pretty clear:
> /usr/include/linux/modversions.h:1:2: #error Modules should never use
> kernel-headers system headers,
> /usr/include/linux/modversions.h:2:2: #error but rather headers from an
> appropriate kernel-source package.
> /usr/include/linux/modversions.h:3:2: #error Change
> -I/usr/src/linux/include (or similar) to
> /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
> -r)/build/include
> /usr/include/linux/modversions.h:5:2: #error to build against the
> currently-running kernel.
Read and heed:-)
You probably want to say ./configure --with-linux-kernel-headers=/lib/modules/2.4.7-10/build
-D