[OpenAFS-devel] compiling on debian linux?
Derek Atkins
warlord@MIT.EDU
03 Nov 2000 18:36:54 -0500
Um, <linux/version.h> is in every version of Linux.. It is CERTAINLY
not a RedHat-ism, and it has been around since, oh, 0.99 days! I'm
sure that you have /usr/src/linux/include/linux/version.h, at least
once you "make config; make dep".
The current OpenAFS build process does build against a set of "known"
kernels. Take a look at config/Makefile.LINUX as well as
libafs/MakefileProto.LINUX. You can build against your own kernel
version by adding "LINUX_VERS=2.1.17", as per the documentation in the
source files.
FTR, Sam Hartman is working on a Debian package for OpenAFS, and I
am working on a RedHat package.
In other words, OpenAFS is not, yet, ready for prime-time.. It's
still, IMHO, a 'development source tree' and is not ready for everyday
users. I certainly encourage everyone to look at what is there and
try to understand the process on their own, and I expect (and hope)
that the cleanliness will change in the near future.
-derek
Tim Showalter <tjs@mirapoint.com> writes:
> Hi. I'm wondering if anyone knows what changes Linux vendors have taken
> to making to their kernel source. My Debian install calls its kernel
> source "kernel-source-2.2.17.tar.gz", which untars into
> kernel-source-2.2.17. OpenAFS seems to expect compiling it into
> linux-2.2.14 (or a variant on that version number), and then really
> wants a file called "linux/version.h" somewhere in there. That file
> doesn't seem to exist under Debian, and so I'm assuming it was added by
> RedHat. Working around the directory name is easy.
>
> I have three related questions:
>
> (a) does any debian user have a patch;
> (b) how much am I allowed to mutilate this in the name of fixing it;
> (c) who is smoking what, and how much?
>
> Thanks.
>
> Tim
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel
--
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 N1NWH
warlord@MIT.EDU PGP key available