Discussion:
[Sisuite-devel] [ systemimager-Bugs-1158376 ] Build from CVS fails in LVM2
SourceForge.net
2007-02-06 22:55:47 UTC
Permalink
Bugs item #1158376, was opened at 2005-03-07 16:40
Message generated for change (Settings changed) made by righiandr
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1158376&group_id=259

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Development Tools
Group: v3.2.0
Status: Closed
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Ole H. Nielsen (ohnielse)
Assigned to: Andrea Righi (righiandr)
Summary: Build from CVS fails in LVM2

Initial Comment:
I downloaded the latest version v3.5.00 from CVS on a
Redhat RHEL 3.0 (latest updates applied, kernel
2.4.21-27.0.2.ELsmp) server.
When I do "make all" the building process bombs out
while configuring the LVM2 package:

(lines deleted)
checking libdevmapper.h usability... no
checking libdevmapper.h presence... no
checking for libdevmapper.h... no
configure: error: bailing out
make: ***
[/scratch/systemimager-3.5/src/LVM2.2.00.32/tools/lvm]
Error 1

Does Systemimager require a build server running kernel
2.6.X ?
Can we disable LVM2 in order to build Systemimager on a
kernel 2.4.X machine ?

----------------------------------------------------------------------

Comment By: Jerry DeLapp (jerrygd)
Date: 2005-05-06 05:49

Message:
Logged In: YES
user_id=512778



----------------------------------------------------------------------

Comment By: Ole H. Nielsen (ohnielse)
Date: 2005-03-14 13:54

Message:
Logged In: YES
user_id=27232

Yes, the LVM2 patch to the Makefile makes the "make all"
building process complete without errors on a Redhat RHEL
3.0 server.
Thanks a lot !

----------------------------------------------------------------------

Comment By: Andrea Righi (righiandr)
Date: 2005-03-09 12:03

Message:
Logged In: YES
user_id=696767

Try this patch... this should disable the LVM compilation.

----------------------------------------------------------------------

Comment By: Ole H. Nielsen (ohnielse)
Date: 2005-03-08 16:31

Message:
Logged In: YES
user_id=27232

Thanks for your suggestion of a solution. I'm sure you're
right about the general kind of thing that must be done, but
this seems to be way to hairy for my knowledge about Linux
kernel building and Systemimager.
It would be neat if you could make SI include all required
packages and do a "make config" as you suggest...
In the meantime, I suppose the conclusion is that SI v3.5
and up *must* be built on a system running kernel 2.6.X ?

----------------------------------------------------------------------

Comment By: Andrea Righi (righiandr)
Date: 2005-03-08 15:22

Message:
Logged In: YES
user_id=696767

The libdevmapper-devel package is needed only to compile the
LVM tools included in the BOEL binaries.. If you don't need
to use the device mapper in the "build-server" you can
perform a cross-compilation also using a 2.4 kernel...

Anyway, I think you could resolve getting the source code
from here (both user tools and library packages):
ftp://sources.redhat.com/pub/dm/

Moreover here is the device mapper resource page:
http://sourceware.org/dm/

Otherwise we could consider to introduce something like a
"make config" before compiling the BOEL binaries, so a user
could choose the opportune tools he wants to use... and
which one he doesn't like to use...

----------------------------------------------------------------------

Comment By: Ole H. Nielsen (ohnielse)
Date: 2005-03-08 12:51

Message:
Logged In: YES
user_id=27232

No, the libdevmapper-devel package is not part of Redhat
RHEL 3.0 with kernel 2.4.21. I presume this package is
required for LVM2, but are these
packages supported on kernel 2.4 ?

----------------------------------------------------------------------

Comment By: Andrea Righi (righiandr)
Date: 2005-03-08 12:42

Message:
Logged In: YES
user_id=696767

Did you install the libdevmapper-devel package?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1158376&group_id=259
Loading...