[DRBD-user] Building RPMs for RHEL5 with 8.3.7

Florian Haas florian.haas at linbit.com
Sat Jan 23 20:57:47 CET 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

On 01/22/2010 01:31 PM, Adrian Revill wrote:
> I am a little puzzled about some aspects of the RPM build.
> I am trying to build 8.3.7 on a RHEL5.4 box, the box is running a XEN
> kernel but i am trying to build for a standard kernel.
> This build environment works perfectly for 8.3.5
> I configure with
> ./configure --with-km --with-rgmanager --with-heartbeat=no
> --with-pacemaker=no --with-xen=no
> KDIR=/usr/src/kernels/2.6.18-164.11.1.el5-x86_64/ KVER=2.6.18-164.11.1.el5

If you're building with a custom configuration, then you've got the
wrong approach. The RPM build process will override your flags when it
invokes %configure.

What you want is to invoke rpmbuild with the appropriate "--with
<feature>" options, and --define your kernel version and kernel
directory appropriately.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100123/afa8b715/attachment.pgp>

More information about the drbd-user mailing list