On Thu, Oct 15, 2009 at 05:18:41PM +0200, Johan Verrept wrote:
> 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.

Ah. Then we should just move the HA_VARLOCKDIR processing after
the prefix is expanded.

> See the patch in my other post.

I did, but you were too quick with your reply :)

Thanks,

Dejan
> 
>       J.
> 
> 
> _______________________________________________
> Pacemaker mailing list
> [email protected]
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker

_______________________________________________
Pacemaker mailing list
[email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to