On 3/3/2011 at 04:51 AM, Michael Prokop <m...@grml.org> wrote: > * Dejan Muhamedagic wrote: > > On Wed, Mar 02, 2011 at 05:35:15PM +0100, Michael Prokop wrote: > > >> Current hg tip fails to build when running just ./autogen, > >> ./configure && make with: > > >> ,---- [ build error in extra/resources ] > >> | mika@lunge ...upstream/pacemaker-1.1/extra/resources (hg)-[default] % > >> make > >> | OCF_ROOT=/usr/lib/ocf sh ../../extra/resources/ClusterMon meta-data | > /usr/bin/xsltproc --nonet --novalid --stringparam command.prefix > ocf_pacemaker_ > --stringparam variable.prefix OCF_RESKEY_ --param man.vol 7 > ../../xml/ocf-meta2man.xsl - > ClusterMon.xml > >> | .: 39: Can't open /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs > >> | -:1: parser error : Document is empty > >> | > >> | ^ > >> | -:1: parser error : Start tag expected, '<' not found > > > Well, does /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs > > exist? > > Nope. > > >> I've the build dependencies (as stated in the Debian package of > >> pacemaker) available on my system, looks like a check for > >> /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs and its build-deps > >> is missing? > > > The build dependency list should include resource-agents. Is that so? > > You mean the Debian package? Nope: > > % apt-cache showsrc pacemaker | grep Build-Dep | grep agent > % > > But I'm not building the Debian package right now, just trying to > build from scratch (using the hg repository checkout) - so IMHO the > configure script should complain about missing depends when running > it, nor?
configure.ac checks for agent_config.h, which is (or should be) included in the resource-agents package, however it appears to only print a warning if this is not present, rather than aborting (see configure.ac line ~484-489). Regards, Tim -- Tim Serong <tser...@novell.com> Senior Clustering Engineer, OPS Engineering, Novell Inc. _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/