[OpenAFS] Install help

yves schutz schutz@in2p3.fr
Mon, 28 Jan 2002 13:42:57 +0100


--------------E93D39517313A8A4DF1FD9DA
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

May I jump in here: Doing what you suggest

=2E/configure --with-linux-kernel-headers=3D/lib/modules/2.4.9-21/build

gives me

checking your OS... configure: error: No usable linux headers found at
/lib/modules/2.4.9-21/build


I guess there is not yet a 2.4.9-21 update RPM

Thanks .... Yves


Derrick J Brashear a =E9crit :

> A private answer suggesting a local place to get the 2.4.9-13 update RP=
M
> 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/lin=
ux/.
> > But when I run ./configure with
> > --with-linux-kernel-headers=3D/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 k=
ernel
> > 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=3D/lib=
/modules/2.4.7-10/build
>
> -D
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

--
Yves SCHUTZ  (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE
SUBATECH
Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71
4, rue Alfred Kastler     Fax      : (+33/0) 2 51 85 84 79
F-44070 Nantes cedex 03   e-mail   : yves.schutz@subatech.in2p3.fr



--------------E93D39517313A8A4DF1FD9DA
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
May I jump in here: Doing what you suggest
<p>./configure --with-linux-kernel-headers=/lib/modules/2.4.9-21/build
<p>gives me
<p>checking your OS... configure: error: No usable linux headers found
at /lib/modules/2.4.9-21/build
<br>&nbsp;
<p>I&nbsp;guess there is not yet a 2.4.9-21 update RPM
<p>Thanks .... Yves
<br>&nbsp;
<p>Derrick J Brashear a &eacute;crit :
<blockquote TYPE=CITE>A private answer suggesting a local place to get
the 2.4.9-13 update RPM
<br>was sent, but just for the record:
<p>On Fri, 25 Jan 2002, John Davin wrote:
<p>> [jdavin@jdavin ~]$ klog
<br>> Password:
<br>> Unable to authenticate to AFS because a pioctl failed.
<p>Symptomatic of AFS not running.
<p>> Also, I have my kernel headers install I think... in /usr/include/linux/.
<br>> But when I run ./configure with
<br>> --with-linux-kernel-headers=/usr/include/linux , it says that they're
not
<br>> valid kernel headers.
<p>ls /usr/include/linux/asm
<p>I bet you get "not found", because that's not really what you want.
<p>> Also, I got ./configure to work with the sources (without using the
kernel
<br>> headers) but make doesn't work.&nbsp; Make gives these errors:
<p>The error looks pretty clear:
<p>> /usr/include/linux/modversions.h:1:2: #error Modules should never
use
<br>> kernel-headers system headers,
<br>> /usr/include/linux/modversions.h:2:2: #error but rather headers from
an
<br>> appropriate kernel-source package.
<br>> /usr/include/linux/modversions.h:3:2: #error Change
<br>> -I/usr/src/linux/include (or similar) to
<br>> /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname
<br>> -r)/build/include
<br>> /usr/include/linux/modversions.h:5:2: #error to build against the
<br>> currently-running kernel.
<p>Read and heed:-)
<p>You probably want to say ./configure --with-linux-kernel-headers=/lib/modules/2.4.7-10/build
<p>-D
<p>_______________________________________________
<br>OpenAFS-info mailing list
<br>OpenAFS-info@openafs.org
<br><a href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lists.openafs.org/mailman/listinfo/openafs-info</a></blockquote>

<pre>--&nbsp;
Yves SCHUTZ&nbsp; (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE&nbsp;&nbsp;&nbsp;
SUBATECH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
4, rue Alfred Kastler&nbsp;&nbsp;&nbsp;&nbsp; Fax&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : (+33/0) 2 51 85 84 79&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
F-44070 Nantes cedex 03&nbsp;&nbsp; e-mail&nbsp;&nbsp; : yves.schutz@subatech.in2p3.fr</pre>
&nbsp;</html>

--------------E93D39517313A8A4DF1FD9DA--