Hi,

I fixed the problem, by changing
DIST_SOURCES =
to
DIST_SOURCES = crm.dtd crm-1.0.dtd

I also copied the crm files, so that both are available (crm.dtd and crm-1.0.dtd).


2) During Build of the RPM package, I found that the spec file needs modification.

The rpmbuild complained (warning) about that the files crm_failcount and crm_primitive.py are installed but not packaged. So I added the files to the heartbeat.spec.in %files section.

@sbindir@/crm_attribute
....
@sbindir@/crm_failcount
@sbindir@/crm_primitive.py
....
@sbindir@/crm_resource

After that the build worked fine.

Thanks,
Robert


Robert Heinzmann schrieb:
I tried to build the latest CVS HEAD tree. But ./ConfigureMe package fails:

gmake[3]: Leaving directory `/usr/src/packages/BUILD/heartbeat-2.0.4/crm/admin'
Making all in test
gmake[3]: Entering directory `/usr/src/packages/BUILD/heartbeat-2.0.4/crm/test'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/src/packages/BUILD/heartbeat-2.0.4/crm/test' gmake[3]: Entering directory `/usr/src/packages/BUILD/heartbeat-2.0.4/crm' gmake[3]: *** No rule to make target `crm-1.0.dtd', needed by `crm.dtd'. Stop.
gmake[3]: Leaving directory `/usr/src/packages/BUILD/heartbeat-2.0.4/crm'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/src/packages/BUILD/heartbeat-2.0.4/crm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/heartbeat-2.0.4'
error: Bad exit status from /var/tmp/rpm-tmp.12570 (%build)


RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.12570 (%build)
gmake: *** [rpm] Error 1

Privious builds on the same machine worked just fine.

Is is a problem of the CVS version ?


The CVS checkout contains the file required:

linux:~/linux-ha # find . -name *.dtd
./crm/crm-1.0.dtd

But the RPM build environment is missing the required file:

linux:~/linux-ha # find /usr/src/ -name *.dtd
linux:~/linux-ha #


Any help appreshiated,

Robert Heinzmann
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to