[OpenAFS] Compiling afs

Tomas Andersson trombontomas@hotmail.com
Wed, 10 Jul 2002 00:38:46 +0200


I had the same problem a while ago. I hope I remember what I did.
- First: Red Hat have a strange way of handling kernels at. I think
./configure search for headers by default at /usr/src/linux/include/linux.
One easy way of correcting the problem is to create a link to
/usr/src/linux-2.4.9-32 from /usr/src/linux. You could also try giving the
kernel header path as an option to ./configure. A third way is to install
the kernel source the right way.
- Second: Check what system configure detect. It is possible that you have
to manually give the system name as an option to configure.

Good luck
Tomas
----- Original Message -----
From: "Andreas Buechler" <abuechle@fhzh.ch>
To: <openafs-info@openafs.org>
Sent: Tuesday, July 09, 2002 4:39 PM
Subject: [OpenAFS] Compiling afs


> Hello
>
> I am trying to compile openafs 1.2.5 for our alpha machine. We have
> Digital Personal Workstation 500au that is running RedHat Linux 7.2.
> As I start ./confiure I get following error message:
> checking your OS... configure: error: No usable linux headers found at
> /usr/src/linux-2.4.9-32/include/linux
>
> One hint from a newsgroup was to
>
> make menuconfig
> make dep
>
> what didnt have any impact.
>
> Did anyone have the same problem? Is there a known solution for this?
> I'm also not sure if it has something to do with openafs. Althought it
> seems a bit strange to me that ./configure is complaining about unusable
> header files because all the header files are_really in
> /usr/src/linux-2.4.9-32/include/linux
>
> Andi
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>