[linux-lvm] Installing LVM on RH v7.3

Luca Berra bluca at comedia.it
Thu Sep 12 00:43:22 UTC 2002

kevin at joubert.com wrote:
> I am having trouble installing LVM on RH v7.3 (2.4.18-10).

1st question is:
why are you trying to compile by hand an older version of LVM while 
rh-7.3 ships with lvm-1.0.3 (with a fixed pvmove and small binaries that 
fit on an initrd btw)?

> As I am pretty sure this has been discussed already, please excuse the question, but I can't
> figure out how to search the "linux-lvm" archives. 
> Anyway, I can run "configure" okay:
> ---------------------------------------
> [root at localhost lvm]# pwd
> /usr/local/bin/lvm
> [root at localhost lvm]# /usr/src/redhat/SOURCES/LVM/1.0.1/configure
> In file included from /usr/src/redhat/SOURCES/LVM/1.0.1/tools/lib/liblvm.h:53,
>                  from /usr/src/redhat/SOURCES/LVM/1.0.1/tools/lib/basename.c:34:
> /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace

edit the file
go at line 53
remove the line
#include <linux/autoconf.h>


More information about the linux-lvm mailing list