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. Cheers, Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
