Building lvm2 against 2.6.10...
The configure script fails for lvm2 with the following...
checking linux/fs.h usability... no checking linux/fs.h presence... no checking for linux/fs.h... no
configure: error: bailing out
There isn't much of use in the config.log.
I can verify that /usr/include/linux/fs.h (that is, /usr/src/linux-2.6.10/include/linux/fs.h) does indeed exist.
Detail: kernel 2.6.10, stock from kernel.org.
lvm2.2.00.33 (lvm2.2.01.02 does the same thing)
I have my kernel source in /usr/src/linux-2.6.10 but I have the correct symlink set up for it in /usr/src/; ditto for /usr/include/linux.
Words of wisdom?
Quoted 8 lines · Gerald Schepens
The configure script fails for lvm2 with the following...
checking
linux/fs.husability... no checkinglinux/fs.hpresence... no checking forlinux/fs.h... no
configure: error: bailing outThere isn't much of use in the config.log.
well, there should be something, maybe something referring to pgoff_t?
check you have defined pgoff_t in /usr/include/linux/types.h
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 9 lines · Luca Berra
Quoted 7 lines · Gerald Schepens
The configure script fails for lvm2 with the following...
checking
linux/fs.husability... no checkinglinux/fs.hpresence... no checking forlinux/fs.h... no
configure: error: bailing out
Quoted 6 lines
Quoted 1 line
There isn't much of use in the config.log.
well, there should be something, maybe something referring to
pgoff_t?check you have defined
pgoff_tin/usr/include/linux/types.h
Actually, I just wasn't looking far enough up in the config.log. I found a few of the problems but I haven't been able to get the thing to compile. Here's the skinny:
- The asm directory doesn't exist in the linux-2.6.10 subdirectory. There are only asm-ppc, asm-x86_64, asm-i386, etc. So I made a symlink to the appropriate one in /usr/include.
- There is no header file that I could find anyway, called libdevmapper.h. I symlinked it to device-mapper.h.
- Now, there's some kind of problem with the definition of sector_t.
Probably all things that need to be addressed in the future with regard to 2.6.10... unless, based on the things I've said here, my machine sounds like I've got installation issues.
Quoted 15 lines · Gerald Schepens
Quoted 13 lines · Luca Berra
Quoted 8 lines · Gerald Schepens
The configure script fails for lvm2 with the following...
checking
linux/fs.husability... no checkinglinux/fs.hpresence... no checking forlinux/fs.h... no
configure: error: bailing outThere isn't much of use in the config.log.
well, there should be something, maybe something referring to
pgoff_t?
Quoted 7 lines
Quoted 2 lines
check you have defined
pgoff_tin/usr/include/linux/types.hActually, I just wasn't looking far enough up in the config.log. I found a few of the problems but I haven't been able to get the thing to compile. Here's the skinny:
- The asm directory doesn't exist in the linux-2.6.10 subdirectory.
There are only asm-ppc, asm-x86_64, asm-i386, etc. So I made a symlink to the appropriate one in/usr/include.
i don't know which linux distro you are using, but relying on the kernel for includes is bad practice. anyway if you do you better do at least a make oldconfig in the kernel tree.
Quoted 2 lines
- There is no header file that I could find anyway, called
libdevmapper.h. I symlinked it todevice-mapper.h.
you have to build and install the device mapper.
Quoted 1 line
- Now, there's some kind of problem with the definition of
sector_t.
sorry my scrying orb is out of order.
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
My distro is Red Hat 9.
I do have the device mapper built. Under 2.6.10, it's called dm-mod.
I took interest in your comment about header files. Where do you get your /usr/include files if not from the kernel? Do they come with your distro? (Maybe Red Hat 9 is just too old.)
Quoted 43 lines · Luca Berra
Quoted 16 lines · Gerald Schepens
Quoted 14 lines · Luca Berra
Quoted 8 lines · Gerald Schepens
The configure script fails for lvm2 with the following...
checking
linux/fs.husability... no checkinglinux/fs.hpresence... no checking forlinux/fs.h... no
configure: error: bailing outThere isn't much of use in the config.log.
well, there should be something, maybe something referring to
pgoff_t?Quoted 7 lines
Quoted 2 lines
check you have defined
pgoff_tin/usr/include/linux/types.hActually, I just wasn't looking far enough up in the config.log. I found a few of the problems but I haven't been able to get the thing to compile. Here's the skinny:
- The asm directory doesn't exist in the linux-2.6.10 subdirectory.
There are only asm-ppc, asm-x86_64, asm-i386, etc. So I made a symlink to the appropriate one in/usr/include.i don't know which linux distro you are using, but relying on the kernel for includes is bad practice. anyway if you do you better do at least a make oldconfig in the kernel tree.
Quoted 2 lines
- There is no header file that I could find anyway, called
libdevmapper.h. I symlinked it todevice-mapper.h.you have to build and install the device mapper.
Quoted 1 line
- Now, there's some kind of problem with the definition of
sector_t.sorry my scrying orb is out of order.
L.
Quoted 3 lines · Gerald Schepens
My distro is Red Hat 9.
I do have the device mapper built. Under 2.6.10, it's called dm-mod.
this is the device-mapper module.
you also need to build and install the device mapper library you can find at:
ftp://sources.redhat.com/pub/dm/
(lvm2 2.00.xx requires 1.00.xx, lvm2 2.01.xx requires dm 1.01.xx)
Quoted 1 line
I took interest in your comment about header files. Where do you get your
/usr/includefiles if not from the kernel? Do they come with your distro? (Maybe Red Hat 9 is just too old.)
usually the glibc-devel package, but rh9 was based on kernel 2.4, so i don't know...
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \