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

The first problem is the Makefile does not get the correct KDIR and KVER set
It has
KDIR ?= /lib/modules/2.6.18-164.11.1.el5xen/build
KVER ?= 2.6.18-164.11.1.el5xen

The Makefile has the options set correctly
WITH_UTILS = yes
WITH_KM = yes
WITH_UDEV = yes
WITH_XEN = no
WITH_PACEMAKER = no
WITH_HEARTBEAT = no
WITH_RGMANAGER = yes
WITH_BASHCOMPLETION = yes

I then do a build using
make rpm KDIR=/usr/src/kernels/2.6.18-164.11.1.el5-x86_64/ KVER=2.6.18-164.11.1.el5

The second problem is it builds all the rpms even the ones i have not asked for. Also i dont see a rgmanager rpm, should i have one?

You have now:
/home/brewbuilder/rpmbuild/RPMS/x86_64/drbd-udev-8.3.7-1.x86_64.rpm
/home/brewbuilder/rpmbuild/RPMS/x86_64/drbd-heartbeat-8.3.7-1.x86_64.rpm
/home/brewbuilder/rpmbuild/RPMS/x86_64/drbd-xen-8.3.7-1.x86_64.rpm
/home/brewbuilder/rpmbuild/RPMS/x86_64/drbd-utils-8.3.7-1.x86_64.rpm
/home/brewbuilder/rpmbuild/RPMS/x86_64/drbd-bash-completion-8.3.7-1.x86_64.rpm
/home/brewbuilder/rpmbuild/RPMS/x86_64/drbd-8.3.7-1.x86_64.rpm
/home/brewbuilder/rpmbuild/RPMS/x86_64/drbd-pacemaker-8.3.7-1.x86_64.rpm

The kernel module build works OK

So, is this build working correctly?

regards
Adrian









______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to