As configure.in currently stands, as of the hg dev tree 54723736ab18,
make dist fails because autogenerated files in snmp_subagent/, in
parcicular snmp_subagent/Makefile.am, are not created.
Andrew Beekhof tells me that this is because snmp_subagent can't build
without the crm, which is now in the pacemaker tree along with
snmp_subagent.
This fairly minimal patch allows make dist to succeed by not
distributing snmp_subagent/. I have found that building the resulting
tarball also succeeds.
A fuller patch would either fix snmp_subagent so that it can compile,
or remove it completely from snmp_subagent/, configure.in and
heartbeat.rpm.spec. I don't feel that it is within my jurisdiction
to make either change at this time.
Signed-off-by: Simon Horman <[EMAIL PROTECTED]>
Index: hertbeat-strip/Makefile.am
===================================================================
--- hertbeat-strip.orig/Makefile.am 2008-03-28 11:00:58.000000000 +0900
+++ hertbeat-strip/Makefile.am 2008-03-28 11:02:41.000000000 +0900
@@ -55,10 +55,6 @@ hauser = @HA_CCMUSER@
## proc-ha is left out from SUBDIRS (completely obsolete)
-if SNMP_SUBAGENT_BUILD
-SNMP_SUBAGENT_DIR = snmp_subagent
-endif
-
if CIM_PROVIDER_BUILD
CIM_PROVIDER_DIR = cim
endif
@@ -74,7 +70,7 @@ endif
# 'buildtools' must be first in the list: tools to aid building of remainder.
SUBDIRS = buildtools $(LIBLTDL_DIR) debian pkg port replace include lib
\
heartbeat membership telecom resources lrm $(CRM_DIR)
\
- fencing logd $(SNMP_SUBAGENT_DIR) tools doc cts $(MGMT_DIR) \
+ fencing logd tools doc cts $(MGMT_DIR) \
$(CIM_PROVIDER_DIR) $(LDIRECTORD_DIR) config $(TSA_PLUGIN_DIR)
contrib
HANDY_DOCS = doc/ChangeLog doc/GettingStarted.html doc/DirectoryMap.txt
--
--
Horms
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/