All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Building lvm2 against 2.6.10...
@ 2005-01-30  8:48 Gerald Schepens
  2005-01-30  9:59 ` Luca Berra
  0 siblings, 1 reply; 6+ messages in thread
From: Gerald Schepens @ 2005-01-30  8:48 UTC (permalink / raw)
  To: linux-lvm

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Building lvm2 against 2.6.10...
  2005-01-30  8:48 [linux-lvm] Building lvm2 against 2.6.10 Gerald Schepens
@ 2005-01-30  9:59 ` Luca Berra
  2005-01-31  6:23   ` Gerald Schepens
  0 siblings, 1 reply; 6+ messages in thread
From: Luca Berra @ 2005-01-30  9:59 UTC (permalink / raw)
  To: linux-lvm

On Sun, Jan 30, 2005 at 01:48:07AM -0700, Gerald Schepens wrote:
>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.
well, there should be something, maybe something referring to pgoff_t?

check you have defined pgoff_t in /usr/include/linux/types.h

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Building lvm2 against 2.6.10...
  2005-01-30  9:59 ` Luca Berra
@ 2005-01-31  6:23   ` Gerald Schepens
  2005-02-01  7:00     ` Luca Berra
  0 siblings, 1 reply; 6+ messages in thread
From: Gerald Schepens @ 2005-01-31  6:23 UTC (permalink / raw)
  To: LVM general discussion and development

Luca Berra wrote:

> On Sun, Jan 30, 2005 at 01:48:07AM -0700, Gerald Schepens wrote:
>
>> 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.
>
> well, there should be something, maybe something referring to pgoff_t?
>
> check you have defined pgoff_t in /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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Building lvm2 against 2.6.10...
  2005-01-31  6:23   ` Gerald Schepens
@ 2005-02-01  7:00     ` Luca Berra
  2005-02-01  7:20       ` Gerald Schepens
  0 siblings, 1 reply; 6+ messages in thread
From: Luca Berra @ 2005-02-01  7:00 UTC (permalink / raw)
  To: LVM general discussion and development

On Sun, Jan 30, 2005 at 11:23:49PM -0700, Gerald Schepens wrote:
>Luca Berra wrote:
>
>>On Sun, Jan 30, 2005 at 01:48:07AM -0700, Gerald Schepens wrote:
>>
>>>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.
>>
>>well, there should be something, maybe something referring to pgoff_t?
>>
>>check you have defined pgoff_t in /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.

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.

>- There is no header file that I could find anyway, called 
>libdevmapper.h. I symlinked it to device-mapper.h.
you have to build and install the device mapper.

>- Now, there's some kind of problem with the definition of sector_t.

sorry my scrying orb is out of order.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Building lvm2 against 2.6.10...
  2005-02-01  7:00     ` Luca Berra
@ 2005-02-01  7:20       ` Gerald Schepens
  2005-02-01  7:52         ` Luca Berra
  0 siblings, 1 reply; 6+ messages in thread
From: Gerald Schepens @ 2005-02-01  7:20 UTC (permalink / raw)
  To: LVM general discussion and development

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.)

Luca Berra wrote:

> On Sun, Jan 30, 2005 at 11:23:49PM -0700, Gerald Schepens wrote:
>
>> Luca Berra wrote:
>>
>>> On Sun, Jan 30, 2005 at 01:48:07AM -0700, Gerald Schepens wrote:
>>>
>>>> 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.
>>>
>>>
>>> well, there should be something, maybe something referring to pgoff_t?
>>>
>>> check you have defined pgoff_t in /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.
>
>
> 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.
>
>> - There is no header file that I could find anyway, called 
>> libdevmapper.h. I symlinked it to device-mapper.h.
>
> you have to build and install the device mapper.
>
>> - Now, there's some kind of problem with the definition of sector_t.
>
>
> sorry my scrying orb is out of order.
>
> L.
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Building lvm2 against 2.6.10...
  2005-02-01  7:20       ` Gerald Schepens
@ 2005-02-01  7:52         ` Luca Berra
  0 siblings, 0 replies; 6+ messages in thread
From: Luca Berra @ 2005-02-01  7:52 UTC (permalink / raw)
  To: LVM general discussion and development

On Tue, Feb 01, 2005 at 12:20:06AM -0700, Gerald Schepens wrote:
>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)


>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.)
usually the glibc-devel package, but rh9 was based on kernel 2.4, so i
don't know...

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-01  7:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-30  8:48 [linux-lvm] Building lvm2 against 2.6.10 Gerald Schepens
2005-01-30  9:59 ` Luca Berra
2005-01-31  6:23   ` Gerald Schepens
2005-02-01  7:00     ` Luca Berra
2005-02-01  7:20       ` Gerald Schepens
2005-02-01  7:52         ` Luca Berra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.