[OpenAFS] Install help

Derek Atkins warlord@MIT.EDU
28 Jan 2002 11:09:50 -0500


Well, where did your Linux kernel sources get installed?

-derek

yves schutz <schutz@in2p3.fr> writes:

> Same punition. This dir does not exist. It would help if I new what I  mu=
st look for .... Thanks
> .... Yves
>=20
>=20
> Derek Atkins a =E9crit :
>=20
> > 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
> > >
> > > ./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 updat=
e 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=3D/usr/include/linux , it says that t=
hey'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 t=
he 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 f=
rom 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/$(una=
me
> > > > > -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
> > >
> > >
> >
> > --
> >        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
> > _______________________________________________
> > 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