bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X: mkinstalldirs


From: Ralf Wildenhues
Subject: Re: Mac OS X: mkinstalldirs
Date: Mon, 19 May 2008 20:50:18 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Michael Witten wrote on Mon, May 19, 2008 at 08:33:31PM CEST:
> In my case, mkinstalldirs did produce errors, as the subdirectories that
> it was trying to make already existed (which is particularly strange,
> because it seems like the point of mkinstalldirs is to implement
> mkdir -p safely).
>
> I recall from a quick glance at the innards that the script was
> incorrectly deciding that Mac OS X doesn't have a viable 'mkdir -p',
> because the '--version' tests fail, as Mac OS X's mkdir doesn't
> support a --version flag; consequently, the for loop that implements a
> 'mkdir -p' is run,   but that loop fails, becausr mkdir complains
> about subdirectories already  existing (at least with one project I
> was trying to build). I don't really  understand why this would be the
> case, because there seemed to be a check there for whether the path
> component exists; perhaps this code is not thread-safe either.

There have been fixes in this area of Autoconf/Automake a while ago.
If you're not using Autoconf 2.62 and Automake 1.10.1, I would like
you to use those newer tools; they should produce parallel-safe builds.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]