[OpenAFS] Install help

Derek Atkins warlord@MIT.EDU
28 Jan 2002 10:43:11 -0500


Try:

 --with-linux-kernel-headers=3D/usr/src/linux-2.4.9-21

-derek

yves schutz <schutz@in2p3.fr> writes:

> May I jump in here: Doing what you suggest
>=20
> ./configure --with-linux-kernel-headers=3D/lib/modules/2.4.9-21/build
>=20
> gives me
>=20
> checking your OS... configure: error: No usable linux headers found at
> /lib/modules/2.4.9-21/build
>=20
>=20
> I guess there is not yet a 2.4.9-21 update RPM
>=20
> Thanks .... Yves
>=20
>=20
> Derrick J Brashear a =E9crit :
>=20
> > 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/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
>=20
> --
> 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
>=20
>=20

--=20
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available