[DRBD-user] Build rpm package for redhat don't work well

Lars Ellenberg lars.ellenberg at linbit.com
Mon Nov 29 10:50:48 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 Wed, Nov 24, 2010 at 09:32:08AM +0800, Zhu, Jummy (NSN - CN/Cheng Du) wrote:
> Hi,
> 
> I try to build 8.3.9 rpm package in RHEL5.3 with kernel 2.6.18-194.17.4.el5
> but I found all the --with-package or --without-package don't work, for example, if I enable --with-rgmanager, after make rpm there's no rgmanager rpm package generated.
> And I used --without-pacemaker --without-heartbeat, but those two rpm generated. Please see my output below:
> 
> # uname -r
> 2.6.18-194.17.4.el5
> 
> # ./configure --with-utils --with-km --without-udev --without-xen --without-pacemaker --without-heartbeat --with-rgmanager --without-bashcompletion --without-distro

> But when I run make rpm I got:
> [root at clnode1(Emma) /home/oracle/drbd-8.3.9]
> # make rpm

> You have now:
> /usr/src/redhat/RPMS/x86_64/drbd-udev-8.3.9-1.x86_64.rpm
> /usr/src/redhat/RPMS/x86_64/drbd-bash-completion-8.3.9-1.x86_64.rpm
> /usr/src/redhat/RPMS/x86_64/drbd-pacemaker-8.3.9-1.x86_64.rpm
> /usr/src/redhat/RPMS/x86_64/drbd-heartbeat-8.3.9-1.x86_64.rpm
> /usr/src/redhat/RPMS/x86_64/drbd-8.3.9-1.x86_64.rpm
> /usr/src/redhat/RPMS/x86_64/drbd-xen-8.3.9-1.x86_64.rpm
> /usr/src/redhat/RPMS/x86_64/drbd-utils-8.3.9-1.x86_64.rpm
> 
> The one rgmanager is not there, but all the other ones that I don't want. Why?

does
make rpm "RPMOPT=--with rgmanager"
give you the desired result?

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list