On Thu, 2009-10-15 at 17:16 +0200, Dejan Muhamedagic wrote:
> configure.ac says:
>
> for HA_VARLOCKDIR in ${localstatedir}/lock ${localstatedir}/spool/lock
> ${localstatedir}/spool/locks ${localstatedir}/lock
> do
> if
> test -d "$HA_VARLOCKDIR"
> then
> ...
>
> probably not sufficient if none of those directories exists.
>
> Not sure how to fix this. Best to create your $prefix/var/lock
> and then recompile.
No. The dirextory exists. The problem is that ${prefix} in
${localstatedir} does not get substituted during configure until a few
lines below the assignment for HA_VARLOCKDIR, which ends up with
${prefix} in it and this is not expanded. See the comment 10 lines or so
below the snippet you pasted.
See the patch in my other post.
J.
_______________________________________________
Pacemaker mailing list
[email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker